OSDN Git Service

ionic: Add the basic NDO callbacks for netdev support
authorShannon Nelson <snelson@pensando.io>
Tue, 3 Sep 2019 22:28:12 +0000 (15:28 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Sep 2019 07:24:43 +0000 (09:24 +0200)
commitbeead698b1736dfa4061dd2e3fe3efef6d0c49b4
treef40126fc6afdcdff46c32d356a68edbb5b8d2c0b
parent77ceb68e29ccd25d923b6af59e74ecaf736cc4b7
ionic: Add the basic NDO callbacks for netdev support

Set up the initial NDO structure and callbacks for netdev
to use, and register the netdev.  This will allow us to do
a few basic operations on the device, but no traffic yet.

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.h
drivers/net/ethernet/pensando/ionic/ionic_devlink.c
drivers/net/ethernet/pensando/ionic/ionic_lif.c
drivers/net/ethernet/pensando/ionic/ionic_lif.h