summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorEdwin Peer <edwin.peer@broadcom.com>2021-04-25 20:45:21 +0300
committerDavid S. Miller <davem@davemloft.net>2021-04-26 04:37:38 +0300
commitdd85fc0ab5b4daa496bd3e2832b51963022182d0 (patch)
tree48ea2562756f8305b61f54e02d9a21967ff30e0d /tools/perf/scripts/python
parentd5ca99054f8e25384390d41c0123d930eed510b6 (diff)
downloadlinux-dd85fc0ab5b4daa496bd3e2832b51963022182d0.tar.xz
bnxt_en: allow promiscuous mode for trusted VFs
Firmware previously only allowed promiscuous mode for VFs associated with a default VLAN. It is now possible to enable promiscuous mode for a VF having no VLAN configured provided that it is trusted. In such cases the VF will see all packets received by the PF, irrespective of destination MAC or VLAN. Note, it is necessary to query firmware at the time of bnxt_promisc_ok() instead of in bnxt_hwrm_func_qcfg() because the trusted status might be altered by the PF after the VF has been configured. This check must now also be deferred because the firmware call sleeps. Signed-off-by: Edwin Peer <edwin.peer@broadcom.com> Signed-off-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions