net/sfc: support loopback mode configuration
authorAndrew Rybchenko <arybchenko@solarflare.com>
Mon, 9 Apr 2018 11:58:58 +0000 (12:58 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 13 Apr 2018 22:41:44 +0000 (00:41 +0200)
commitb16cf4b27fe4c02fc3609485bdcf0f5643f2f609
treeaa01ff29339ffb6f36a67db747b60d9082e50712
parent06619ede18663fe81bf7ebf49ec751210308d41e
net/sfc: support loopback mode configuration

All loopback modes are listed in efx_loopback_type_t.
Available loopback modes are listed per link speed in
the enc_loopback_types member of the efx_nic_cfg_t.

Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
Reviewed-by: Andy Moreton <amoreton@solarflare.com>
Reviewed-by: Ivan Malov <ivan.malov@oktetlabs.ru>
doc/guides/nics/sfc_efx.rst
drivers/net/sfc/efsys.h
drivers/net/sfc/sfc.c
drivers/net/sfc/sfc_port.c