mbox series

[net-next,0/3] liquidio: Switchdev support for LiquidIO NIC

Message ID 20171026053641.GA17861@felix-thinkpad.cavium.com
Headers show
Series liquidio: Switchdev support for LiquidIO NIC | expand

Message

Manlunas, Felix Oct. 26, 2017, 5:36 a.m. UTC
From: Vijaya Mohan Guvva <vijaya.guvva@cavium.com>

patch1 of this patch set adds switchdev support for SRIOV capable
LiquidIO NIC, so that for every SRIOV VF on LiquidIO, a representor
netdev is created on hyperviser. It also has changes to send representor
interface configurations like admin state and MTU to LiquidIO firmware and
to retrieve HW counted VF stats for VF representor.

patch2 adds support for switchdev enable/disable from devlink

patch3 adds ethtool support for vf representor interface to return
VF representor port stats and driver info.

Vijaya Mohan Guvva (3):
  liquidio: switchdev support for LiquidIO NIC
  liquidio: Configure switchdev with devlink
  liquidio: ethtool support for switchdev ports

 drivers/net/ethernet/cavium/Kconfig                |   1 +
 drivers/net/ethernet/cavium/liquidio/Makefile      |   2 +-
 drivers/net/ethernet/cavium/liquidio/lio_main.c    | 117 ++++
 drivers/net/ethernet/cavium/liquidio/lio_vf_rep.c  | 714 +++++++++++++++++++++
 drivers/net/ethernet/cavium/liquidio/lio_vf_rep.h  |  47 ++
 .../net/ethernet/cavium/liquidio/liquidio_common.h |  51 ++
 .../net/ethernet/cavium/liquidio/octeon_device.h   |  14 +
 7 files changed, 945 insertions(+), 1 deletion(-)
 create mode 100644 drivers/net/ethernet/cavium/liquidio/lio_vf_rep.c
 create mode 100644 drivers/net/ethernet/cavium/liquidio/lio_vf_rep.h

Comments

Jiri Pirko Oct. 26, 2017, 6:19 a.m. UTC | #1
Thu, Oct 26, 2017 at 07:36:41AM CEST, felix.manlunas@cavium.com wrote:
>From: Vijaya Mohan Guvva <vijaya.guvva@cavium.com>
>
>patch1 of this patch set adds switchdev support for SRIOV capable
>LiquidIO NIC, so that for every SRIOV VF on LiquidIO, a representor
>netdev is created on hyperviser. It also has changes to send representor
>interface configurations like admin state and MTU to LiquidIO firmware and
>to retrieve HW counted VF stats for VF representor.
>
>patch2 adds support for switchdev enable/disable from devlink
>
>patch3 adds ethtool support for vf representor interface to return
>VF representor port stats and driver info.

Looks fine to me.