OSDN Git Service

ionic: support sr-iov operations
authorShannon Nelson <snelson@pensando.io>
Fri, 3 Jan 2020 17:55:08 +0000 (09:55 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 5 Jan 2020 22:51:02 +0000 (14:51 -0800)
commitfbb39807e9ae0f60e2f6a0a628aadab73554fbbe
treea9e439be520410e9b3cff9c5be70737299b00477
parent3d462ce2a11784e278d4f425bf5c4cadeab2af3a
ionic: support sr-iov operations

Add the netdev ops for managing VFs.  Since most of the
management work happens in the NIC firmware, the driver becomes
mostly a pass-through for the network stack commands that want
to control and configure the VFs.

We also tweak ionic_station_set() a little to allow for
the VFs that start off with a zero'd mac address.

Signed-off-by: Shannon Nelson <snelson@pensando.io>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/pensando/ionic/ionic.h
drivers/net/ethernet/pensando/ionic/ionic_bus_pci.c
drivers/net/ethernet/pensando/ionic/ionic_dev.c
drivers/net/ethernet/pensando/ionic/ionic_dev.h
drivers/net/ethernet/pensando/ionic/ionic_lif.c
drivers/net/ethernet/pensando/ionic/ionic_main.c