[ovs-git] [openvswitch/ovs] 2e1fd5: netdev-tc-offloads: Fix probe tc block support
Simon Horman
noreply at github.com
Tue Apr 9 09:18:38 UTC 2019
Branch: refs/heads/branch-2.10
Home: https://github.com/openvswitch/ovs
Commit: 2e1fd552a48e65fba7437392dc9c42d03d4c1adc
https://github.com/openvswitch/ovs/commit/2e1fd552a48e65fba7437392dc9c42d03d4c1adc
Author: Raed Salem <raeds at mellanox.com>
Date: 2019-04-08 (Mon, 08 Apr 2019)
Changed paths:
M lib/netdev-tc-offloads.c
Log Message:
-----------
netdev-tc-offloads: Fix probe tc block support
Current implementation will try to create an qdisk of type ingress with
block id 1 to check for kernel ingress block support, this check is
insufficient as old kernels without ingress block support will
successfully create an ingress qdisc, ignoring the ingress block.
Fix by trying to add a test rule on the ingress block.
Fixes 093c9458fb02 ("tc: allow offloading of block ids")
Signed-off-by: Raed Salem <raeds at mellanox.com>
Reviewed-by: Roi Dayan <roid at mellanox.com>
Acked-by: John Hurley <john.hurley at netronome.com>
Signed-off-by: Simon Horman <simon.horman at netronome.com>
More information about the git
mailing list