[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220209215706.2468371-1-anthony.l.nguyen@intel.com>
Date: Wed, 9 Feb 2022 13:56:52 -0800
From: Tony Nguyen <anthony.l.nguyen@...el.com>
To: davem@...emloft.net, kuba@...nel.org
Cc: Tony Nguyen <anthony.l.nguyen@...el.com>, netdev@...r.kernel.org
Subject: [PATCH net-next 00/14][pull request] 100GbE Intel Wired LAN Driver Updates 2022-02-09
This series contains updates to ice driver only.
Brett adds support for QinQ. This begins with code refactoring and
re-organization of VLAN configuration functions to allow for
introduction of VSI VLAN ops to enable setting and calling of
respective operations based on device support of single or double
VLANs. Implementations are added for outer VLAN support.
To support QinQ, the device must be set to double VLAN mode (DVM).
In order for this to occur, the DDP package and NVM must also support
DVM. Functions to determine compatibility and properly configure the
device are added as well as setting the proper bits to advertise and
utilize the proper offloads. Support for VIRTCHNL_VF_OFFLOAD_VLAN_V2
is also included to allow for VF to negotiate and utilize this
functionality.
The following are changes since commit 1710b52d7c135e83ee00ed38afacc1079cbe71f5:
net: usb: smsc95xx: add generic selftest support
and are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/next-queue 100GbE
Brett Creeley (14):
ice: Refactor spoofcheck configuration functions
ice: Add helper function for adding VLAN 0
ice: Add new VSI VLAN ops
ice: Introduce ice_vlan struct
ice: Refactor vf->port_vlan_info to use ice_vlan
ice: Use the proto argument for VLAN ops
ice: Adjust naming for inner VLAN operations
ice: Add outer_vlan_ops and VSI specific VLAN ops implementations
ice: Add hot path support for 802.1Q and 802.1ad VLAN offloads
ice: Add support for VIRTCHNL_VF_OFFLOAD_VLAN_V2
ice: Support configuring the device to Double VLAN Mode
ice: Advertise 802.1ad VLAN filtering and offloads for PF netdev
ice: Add support for 802.1ad port VLANs VF
ice: Add ability for PF admin to enable VF VLAN pruning
drivers/net/ethernet/intel/ice/Makefile | 12 +-
drivers/net/ethernet/intel/ice/ice.h | 4 +
.../net/ethernet/intel/ice/ice_adminq_cmd.h | 255 ++-
drivers/net/ethernet/intel/ice/ice_base.c | 19 +-
drivers/net/ethernet/intel/ice/ice_common.c | 49 +-
drivers/net/ethernet/intel/ice/ice_common.h | 3 +
drivers/net/ethernet/intel/ice/ice_dcb_lib.c | 8 +-
drivers/net/ethernet/intel/ice/ice_eswitch.c | 9 +-
drivers/net/ethernet/intel/ice/ice_ethtool.c | 9 +
.../net/ethernet/intel/ice/ice_flex_pipe.c | 291 ++-
.../net/ethernet/intel/ice/ice_flex_pipe.h | 13 +
.../net/ethernet/intel/ice/ice_flex_type.h | 40 +
drivers/net/ethernet/intel/ice/ice_fltr.c | 37 +-
drivers/net/ethernet/intel/ice/ice_fltr.h | 10 +-
.../net/ethernet/intel/ice/ice_lan_tx_rx.h | 2 +
drivers/net/ethernet/intel/ice/ice_lib.c | 380 ++--
drivers/net/ethernet/intel/ice/ice_lib.h | 17 +-
drivers/net/ethernet/intel/ice/ice_main.c | 322 +++-
drivers/net/ethernet/intel/ice/ice_osdep.h | 1 +
.../ethernet/intel/ice/ice_pf_vsi_vlan_ops.c | 38 +
.../ethernet/intel/ice/ice_pf_vsi_vlan_ops.h | 13 +
drivers/net/ethernet/intel/ice/ice_switch.c | 80 +
drivers/net/ethernet/intel/ice/ice_switch.h | 24 +-
drivers/net/ethernet/intel/ice/ice_txrx.c | 28 +-
drivers/net/ethernet/intel/ice/ice_txrx.h | 3 +
drivers/net/ethernet/intel/ice/ice_txrx_lib.c | 9 +-
drivers/net/ethernet/intel/ice/ice_txrx_lib.h | 30 +-
drivers/net/ethernet/intel/ice/ice_type.h | 19 +
.../ethernet/intel/ice/ice_vf_vsi_vlan_ops.c | 202 +++
.../ethernet/intel/ice/ice_vf_vsi_vlan_ops.h | 19 +
.../intel/ice/ice_virtchnl_allowlist.c | 10 +
.../net/ethernet/intel/ice/ice_virtchnl_pf.c | 1605 ++++++++++++++---
.../net/ethernet/intel/ice/ice_virtchnl_pf.h | 17 +-
drivers/net/ethernet/intel/ice/ice_vlan.h | 18 +
.../net/ethernet/intel/ice/ice_vlan_mode.c | 439 +++++
.../net/ethernet/intel/ice/ice_vlan_mode.h | 13 +
.../net/ethernet/intel/ice/ice_vsi_vlan_lib.c | 707 ++++++++
.../net/ethernet/intel/ice/ice_vsi_vlan_lib.h | 32 +
.../net/ethernet/intel/ice/ice_vsi_vlan_ops.c | 103 ++
.../net/ethernet/intel/ice/ice_vsi_vlan_ops.h | 29 +
drivers/net/ethernet/intel/ice/ice_xsk.c | 6 +-
41 files changed, 4193 insertions(+), 732 deletions(-)
create mode 100644 drivers/net/ethernet/intel/ice/ice_pf_vsi_vlan_ops.c
create mode 100644 drivers/net/ethernet/intel/ice/ice_pf_vsi_vlan_ops.h
create mode 100644 drivers/net/ethernet/intel/ice/ice_vf_vsi_vlan_ops.c
create mode 100644 drivers/net/ethernet/intel/ice/ice_vf_vsi_vlan_ops.h
create mode 100644 drivers/net/ethernet/intel/ice/ice_vlan.h
create mode 100644 drivers/net/ethernet/intel/ice/ice_vlan_mode.c
create mode 100644 drivers/net/ethernet/intel/ice/ice_vlan_mode.h
create mode 100644 drivers/net/ethernet/intel/ice/ice_vsi_vlan_lib.c
create mode 100644 drivers/net/ethernet/intel/ice/ice_vsi_vlan_lib.h
create mode 100644 drivers/net/ethernet/intel/ice/ice_vsi_vlan_ops.c
create mode 100644 drivers/net/ethernet/intel/ice/ice_vsi_vlan_ops.h
--
2.31.1
Powered by blists - more mailing lists