Re: [PATCH net-next 1/3] liquidio: switchdev support for LiquidIO NIC

2017-10-26 Thread Jakub Kicinski
On Wed, 25 Oct 2017 22:37:27 -0700, Felix Manlunas wrote: > +static int > +lio_vf_rep_phys_port_name(struct net_device *dev, > + char *buf, size_t len) > +{ > + struct lio_vf_rep_desc *vf_rep = netdev_priv(dev); > + struct octeon_device *oct = vf_rep->oct; > + int

[PATCH net-next 1/3] liquidio: switchdev support for LiquidIO NIC

2017-10-25 Thread Felix Manlunas
From: Vijaya Mohan Guvva Enable switchdev for SRIOV capable LiquidIO NIC. It registers a representor netdev (with switchdev_ops) for each SRIOV VF created. It also has changes to send representor interface configurations like admin state and MTU to LiquidIO firmware and to retrieve HW counted VF