net/sfc: support representor info get
authorViacheslav Galaktionov <viacheslav.galaktionov@oktetlabs.ru>
Mon, 11 Oct 2021 14:48:56 +0000 (17:48 +0300)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 12 Oct 2021 16:44:11 +0000 (18:44 +0200)
commit599e4e9a0609f1edb617e4d3165c3dd7467b595d
treed851c0e011df36149e7acd057f8afe528f2f12f5
parent96a46ead5b9c3f544703237eb69ba6e2df603f5a
net/sfc: support representor info get

Let the driver provide the user with information about available
representors by implementing the representor_info_get operation.

Due to the lack of any structure to representor IDs, every ID range
describes exactly one representor.

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_ethdev.c
drivers/net/sfc/sfc_switch.c
drivers/net/sfc/sfc_switch.h