net/sfc: move adapter state enum to separate header
authorIgor Romanov <igor.romanov@oktetlabs.ru>
Mon, 11 Oct 2021 14:48:28 +0000 (17:48 +0300)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 12 Oct 2021 16:44:11 +0000 (18:44 +0200)
commitac47868976e9fcdd62dcd70718e325ddaa92a644
treed3af6dff528c2bc1ede186c492a746708faae482
parent689a56742a560cc1baff7255a57efcdfdb789f87
net/sfc: move adapter state enum to separate header

Adapter state will be reused by representors, that will have
a separate adapter. Rename adapter state to ethdev state
so that the meaning of it is clearer.

Signed-off-by: Igor Romanov <igor.romanov@oktetlabs.ru>
Signed-off-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
Reviewed-by: Andy Moreton <amoreton@xilinx.com>
Reviewed-by: Ivan Malov <ivan.malov@oktetlabs.ru>
drivers/net/sfc/sfc.c
drivers/net/sfc/sfc.h
drivers/net/sfc/sfc_ethdev.c
drivers/net/sfc/sfc_ethdev_state.h [new file with mode: 0644]
drivers/net/sfc/sfc_flow.c
drivers/net/sfc/sfc_intr.c
drivers/net/sfc/sfc_mae.c
drivers/net/sfc/sfc_port.c