]> git.baikalelectronics.ru Git - kernel.git/commit
nfp: support vepa mode in HW bridge
authorYinjun Zhang <yinjun.zhang@corigine.com>
Fri, 24 Jun 2022 07:38:15 +0000 (09:38 +0200)
committerJakub Kicinski <kuba@kernel.org>
Tue, 28 Jun 2022 05:06:59 +0000 (22:06 -0700)
commit174baecaeff25487c242c4d3f3b17a8764848269
tree784fc1602a58726713b1ccdf742dafdce1e71b02
parent469f10ae581e5a67c8e2e71048b11a3563df72fd
nfp: support vepa mode in HW bridge

Add support for VEPA mode of HW bridge.
The default remains VEB mode.
The mode may be configured using ndo_bridge_setlink,
and inspected using ndo_bridge_getlink.

Signed-off-by: Yinjun Zhang <yinjun.zhang@corigine.com>
Reviewed-by: Louis Peens <louis.peens@corigine.com>
Signed-off-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/netronome/nfp/nfd3/rings.c
drivers/net/ethernet/netronome/nfp/nfdk/rings.c
drivers/net/ethernet/netronome/nfp/nfp_net_common.c
drivers/net/ethernet/netronome/nfp/nfp_net_ctrl.h