Re: [PATCH net-next 09/18] ionic: Add the basic NDO callbacks for netdev support

2019-06-26 Thread Shannon Nelson
On 6/25/19 4:27 PM, Jakub Kicinski wrote: On Thu, 20 Jun 2019 13:24:15 -0700, Shannon Nelson wrote: +static int ionic_set_features(struct net_device *netdev, + netdev_features_t features) +{ + struct lif *lif = netdev_priv(netdev); + int err; + + net

Re: [PATCH net-next 09/18] ionic: Add the basic NDO callbacks for netdev support

2019-06-25 Thread Jakub Kicinski
On Thu, 20 Jun 2019 13:24:15 -0700, Shannon Nelson wrote: > +static int ionic_set_features(struct net_device *netdev, > + netdev_features_t features) > +{ > + struct lif *lif = netdev_priv(netdev); > + int err; > + > + netdev_dbg(netdev, "%s: lif->features=0x%0

[PATCH net-next 09/18] ionic: Add the basic NDO callbacks for netdev support

2019-06-20 Thread Shannon Nelson
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 --- drivers/net/ethernet/pensando/ionic/ionic.h | 1 + .../ethernet/pensando/ionic/ioni