mirror-linux/drivers/net/ethernet/intel
Michal Swiatkowski 4a61d79656 ice: block LAN in case of VF to VF offload
[ Upstream commit 9f699b71c2 ]

VF to VF traffic shouldn't go outside. To enforce it, set only the loopback
enable bit in case of all ingress type rules added via the tc tool.

Fixes: 0d08a441fb ("ice: ndo_setup_tc implementation for PF")
Reported-by: Sujai Buvaneswaran <Sujai.Buvaneswaran@intel.com>
Signed-off-by: Michal Swiatkowski <michal.swiatkowski@linux.intel.com>
Tested-by: George Kuruvinakunnel <george.kuruvinakunnel@intel.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-05-17 11:53:38 +02:00
..
e1000 net: drop the weight argument from netif_napi_add 2022-09-28 18:57:14 -07:00
e1000e e1000e: Disable TSO on i219-LM card to increase speed 2023-04-26 14:28:35 +02:00
fm10k fm10k: Fix error handling in fm10k_init_module() 2022-11-23 08:36:55 -08:00
i40e i40e: use int for i40e_status 2023-05-11 23:03:42 +09:00
iavf iavf: remove active_cvlans and active_svlans bitmaps 2023-04-20 12:35:09 +02:00
ice ice: block LAN in case of VF to VF offload 2023-05-17 11:53:38 +02:00
igb igb: revert rtnl_lock() that causes deadlock 2023-03-30 12:49:23 +02:00
igbvf igbvf: Regard vf reset nack as success 2023-03-30 12:49:03 +02:00
igc igc: fix the validation logic for taprio's gate list 2023-03-30 12:49:03 +02:00
ixgb net: drop the weight argument from netif_napi_add 2022-09-28 18:57:14 -07:00
ixgbe ixgbe: Fix panic during XDP_TX with > 64 CPUs 2023-05-17 11:53:31 +02:00
ixgbevf ixgbevf: Fix resource leak in ixgbevf_init_module() 2022-11-23 08:36:54 -08:00
Kconfig
Makefile
e100.c e100: Fix possible use after free in e100_xmit_prepare 2022-11-23 08:38:22 -08:00