From: Felix Manlunas Subject: [PATCH V2 net-next 0/2] liquidio: Switchdev support for LiquidIO NIC Date: Fri, 27 Oct 2017 12:08:33 -0700 Message-ID: <20171027190833.GA19806@felix-thinkpad.cavium.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: netdev@vger.kernel.org, raghu.vatsavayi@cavium.com, derek.chickles@cavium.com, satananda.burla@cavium.com, vijaya.guvva@cavium.com To: davem@davemloft.net Return-path: Received: from mail-sn1nam02on0048.outbound.protection.outlook.com ([104.47.36.48]:45216 "EHLO NAM02-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750998AbdJ0TIt (ORCPT ); Fri, 27 Oct 2017 15:08:49 -0400 Content-Disposition: inline Sender: netdev-owner@vger.kernel.org List-ID: From: Vijaya Mohan Guvva 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 hypervisor. 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 Patchset Change Log: V1 -> V2: * Name the representors "pfXvfY". * Drop patch3 (ethtool support for switchdev ports) that was in V1 because it's not necessary. Vijaya Mohan Guvva (2): liquidio: switchdev support for LiquidIO NIC liquidio: Configure switchdev with devlink 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 | 628 +++++++++++++++++++++ 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, 859 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 -- 2.9.0