diff options
author | Edward Cree <ecree.xilinx@gmail.com> | 2022-07-28 21:57:51 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-07-30 07:22:07 +0300 |
commit | e37f3b1561a038c0630e7364740d6d55f2b5d5b5 (patch) | |
tree | 2c2af3041ec49c5c3dd476db0892a159a71fa400 /drivers/net/ethernet/sfc/Kconfig | |
parent | 77eb40749d73fe347c47d6903874a924840ff8d5 (diff) | |
download | linux-e37f3b1561a038c0630e7364740d6d55f2b5d5b5.tar.xz |
sfc: use a dynamic m-port for representor RX and set it promisc
Representors do not want to be subject to the PF's Ethernet address
filters, since traffic from VFs will typically have a destination
either elsewhere on the link segment or on an overlay network.
So, create a dynamic m-port with promiscuous and all-multicast
filters, and set it as the egress port of representor default rules.
Since the m-port is an alias of the calling PF's own m-port, traffic
will still be delivered to the PF's RXQs, but it will be subject to
the VNRX filter rules installed on the dynamic m-port (specified by
the v-port ID field of the filter spec).
Signed-off-by: Edward Cree <ecree.xilinx@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/sfc/Kconfig')
0 files changed, 0 insertions, 0 deletions