diff options
author | Brett Creeley <brett.creeley@intel.com> | 2020-09-17 13:13:37 -0700 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2021-02-22 11:18:39 -0800 |
commit | 37b52be260024069f7f5bdcf304b5d72f77b022a (patch) | |
tree | 48f0442e7bbc5df62c743516c353dd80c42c34f9 /lib | |
parent | 7dcf7aa01c7b9f18727cbe0f9cb4136f1c6cdcc2 (diff) |
ice: Set trusted VF as default VSI when setting allmulti on
Currently the PF will only set a trusted VF as the default VSI when it
requests FLAG_VF_UNICAST_PROMISC over VIRTCHNL. However, when
FLAG_VF_MULTICAST_PROMISC is set it's expected that the trusted VF will
see multicast packets that don't have a matching destination MAC in the
devices internal switch. Fix this by setting the trusted VF as the
default VSI if either FLAG_VF_UNICAST_PROMISC or
FLAG_VF_MULTICAST_PROMISC is set.
Fixes: 01b5e89aab49 ("ice: Add VF promiscuous support")
Signed-off-by: Brett Creeley <brett.creeley@intel.com>
Tested-by: Tony Brelinski <tonyx.brelinski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions