diff options
author | Jiri Pirko <jiri@mellanox.com> | 2017-10-19 15:50:46 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-21 03:04:08 +0100 |
commit | 8d26d5636dff9fca30816579910aaa9a55b4d96d (patch) | |
tree | 3c82ff1aa167e07b81296a2d41cf6cfa3d2f7edd /drivers/net/ethernet/intel/ixgbe | |
parent | 6b3eb752b4b9481868b3393f06a236a1aedfa43f (diff) | |
download | linux-stable-8d26d5636dff9fca30816579910aaa9a55b4d96d.tar.gz linux-stable-8d26d5636dff9fca30816579910aaa9a55b4d96d.tar.bz2 linux-stable-8d26d5636dff9fca30816579910aaa9a55b4d96d.zip |
net: sched: avoid ndo_setup_tc calls for TC_SETUP_CLS*
All drivers are converted to use block callbacks for TC_SETUP_CLS*.
So it is now safe to remove the calls to ndo_setup_tc from cls_*
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/intel/ixgbe')
-rw-r--r-- | drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c index 38e01e0c8314..7f503d35eb1c 100644 --- a/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c +++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c @@ -9432,8 +9432,6 @@ static int __ixgbe_setup_tc(struct net_device *dev, enum tc_setup_type type, void *type_data) { switch (type) { - case TC_SETUP_CLSU32: - return 0; /* will be removed after conversion from ndo */ case TC_SETUP_BLOCK: return ixgbe_setup_tc_block(dev, type_data); case TC_SETUP_MQPRIO: |