net/sfc: implement transfer proxy port callback
authorViacheslav Galaktionov <viacheslav.galaktionov@oktetlabs.ru>
Fri, 15 Oct 2021 06:49:03 +0000 (09:49 +0300)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 18 Oct 2021 18:56:02 +0000 (20:56 +0200)
commit26706314d4188d7073a40d62019b3d85f1492494
treede5bda22631cea8fbc93b8dad17d271011557e71
parent2f577f0ea1a386254ebf124b9db78401fe4bcd48
net/sfc: implement transfer proxy port callback

In sfc, MAE admin serves as a transfer proxy. In order to track which
ethdev is privileged, augment every independent switch port structure
with information about its MAE privilege.

Signed-off-by: Viacheslav Galaktionov <viacheslav.galaktionov@oktetlabs.ru>
Signed-off-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
Reviewed-by: Andy Moreton <amoreton@xilinx.com>
doc/guides/rel_notes/release_21_11.rst
drivers/net/sfc/sfc.c
drivers/net/sfc/sfc_flow.c
drivers/net/sfc/sfc_mae.c
drivers/net/sfc/sfc_switch.c
drivers/net/sfc/sfc_switch.h