Files
android_kernel_xiaomi_sm8450/drivers/net/ethernet/intel/i40e
Grzegorz Szczurek ef4d73da0a i40e: Fix adding ADQ filter to TC0
[ Upstream commit c3238d36c3a2be0a29a9d848d6c51e1b14be6692 ]

Procedure of configure tc flower filters erroneously allows to create
filters on TC0 where unfiltered packets are also directed by default.
Issue was caused by insufficient checks of hw_tc parameter specifying
the hardware traffic class to pass matching packets to.

Fix checking hw_tc parameter which blocks creation of filters on TC0.

Fixes: 2f4b411a3d ("i40e: Enable cloud filters via tc-flower")
Signed-off-by: Grzegorz Szczurek <grzegorzx.szczurek@intel.com>
Signed-off-by: Jedrzej Jagielski <jedrzej.jagielski@intel.com>
Tested-by: Bharathi Sreenivas <bharathi.sreenivas@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-06-22 14:13:16 +02:00
..
2020-06-25 22:25:13 -07:00
2020-06-25 22:25:13 -07:00
2022-06-22 14:13:16 +02:00
2020-06-25 22:25:13 -07:00
2021-07-19 09:44:59 +02:00
2021-08-26 08:35:51 -04:00
2022-02-01 17:25:42 +01:00