diff options
author | Michal Wilczynski <michal.wilczynski@intel.com> | 2022-07-04 15:12:27 +0200 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2022-07-28 11:44:40 -0700 |
commit | a419526de6079e4b8a001bcbb8ac7370ba581963 (patch) | |
tree | 3c464d6a8314e356f7d6eb07c7ac0d600e94c2bb /.cocciconfig | |
parent | d7393425e7c8819ac4a6dbc03f061954665f62ee (diff) | |
download | linux-a419526de6079e4b8a001bcbb8ac7370ba581963.tar.bz2 |
ice: Fix promiscuous mode not turning off
When trust is turned off for the VF, the expectation is that promiscuous
and allmulticast filters are removed. Currently default VSI filter is not
getting cleared in this flow.
Example:
ip link set enp236s0f0 vf 0 trust on
ip link set enp236s0f0v0 promisc on
ip link set enp236s0f0 vf 0 trust off
/* promiscuous mode is still enabled on VF0 */
Remove switch filters for both cases.
This commit fixes above behavior by removing default VSI filters and
allmulticast filters when vf-true-promisc-support is OFF.
Signed-off-by: Michal Wilczynski <michal.wilczynski@intel.com>
Tested-by: Marek Szlosek <marek.szlosek@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to '.cocciconfig')
0 files changed, 0 insertions, 0 deletions