aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ice/ice_main.c
diff options
context:
space:
mode:
authorWojciech Drewek <[email protected]>2023-07-12 11:03:30 +0000
committerTony Nguyen <[email protected]>2023-07-24 15:52:56 +0000
commit6c0f4441d83b1efd311acbab266246aee6e46bea (patch)
treea3a1cd5296dfa2302b9fe9a85d2e8e10cd5b31b1 /drivers/net/ethernet/intel/ice/ice_main.c
parentice: Disable vlan pruning for uplink VSI (diff)
downloadkernel-6c0f4441d83b1efd311acbab266246aee6e46bea.tar.gz
kernel-6c0f4441d83b1efd311acbab266246aee6e46bea.zip
ice: Unset src prune on uplink VSI
In switchdev mode uplink VSI is supposed to receive all packets that were not matched by existing filters. If ICE_AQ_VSI_SW_FLAG_LOCAL_LB bit is unset and we have a filter associated with uplink VSI which matches on dst mac equal to MAC1, then packets with src mac equal to MAC1 will be pruned from reaching uplink VSI. Fix this by updating uplink VSI with ICE_AQ_VSI_SW_FLAG_LOCAL_LB bit set when configuring switchdev mode. Reviewed-by: Simon Horman <[email protected]> Signed-off-by: Wojciech Drewek <[email protected]> Tested-by: Sujai Buvaneswaran <[email protected]> Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_main.c')
0 files changed, 0 insertions, 0 deletions