sfc: commonise some MAC configuration code
authorEdward Cree <ecree@solarflare.com>
Tue, 30 Jun 2020 12:11:35 +0000 (13:11 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 30 Jun 2020 20:09:09 +0000 (13:09 -0700)
commitf7e55550a38ded95eca13e13b7e76b87e4814260
tree13744f5312ed62443db5ccfdc254b2d688fe6845
parent2d73515a1ce4ef8bc9ee931f2f61f0b2c88bde33
sfc: commonise some MAC configuration code

Refactor it a little as we go, and introduce efx_mcdi_set_mtu() which we
 will later use for ef100 to change MTU without touching other MAC settings.

Signed-off-by: Edward Cree <ecree@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sfc/mcdi_port.c
drivers/net/ethernet/sfc/mcdi_port_common.c
drivers/net/ethernet/sfc/mcdi_port_common.h