Add switchdev driver model for ice driver
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest12 patches 0 repliesNew
- v2 posting 2/20 of 12 patches 0 repliesSuperseded
- v2 posting 1/212 patches 0 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 12 patches | 0 replies | Superseded |
Changes in v3 from the cover letter
* add more info to Kconfig ICE_SWITCHDEV flag
* correct spealing
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/12 | ice: support basic E-Switch mode controldrivers/ drivers/ drivers/ +3 more | +115 | 1 reply | |
| 2/12 | ice: Move devlink port to PF/VF structdrivers/ drivers/ drivers/ +4 more | +100 | 1 reply | |
| 3/12 | ice: introduce VF port representordrivers/ drivers/ drivers/ +3 more | +285 | 1 reply | |
| 4/12 | ice: allow process vf opcodes in different waysdrivers/ drivers/ drivers/ | +198 | 1 reply | |
| 5/12 | ice: manage VSI antispoof and destination overridedrivers/ drivers/ | +72 | 1 reply | |
| 6/12 | ice: allow changing lan_en and lb_en on dflt rulesdrivers/ drivers/ drivers/ +1 more | +94 | 1 reply | |
| 7/12 | ice: set and release switchdev environmentdrivers/ drivers/ drivers/ +3 more | +453 | 1 reply | |
| 8/12 | ice: introduce new type of VSI for switchdevdrivers/ drivers/ drivers/ +3 more | +93 | 1 reply | |
| 9/12 | ice: enable/disable switchdev when managing VFsdrivers/ drivers/ drivers/ +1 more | +64 | 1 reply | |
| 10/12 | ice: rebuild switchdev when resetting all VFsdrivers/ drivers/ drivers/ +3 more | +130 | 1 reply | |
| 11/12 | ice: switchdev slow pathdrivers/ drivers/ drivers/ +3 more | +155 | 1 reply | |
| 12/12 | ice: add port representor ethtool ops and statsdrivers/ drivers/ drivers/ | +72 | 1 reply |
Reviews trailers per patch
None of the 12 patches has a Reviewed-by or Acked-by.
| Patch | Sandeep Penigalapati |
|---|---|
| 1/12 | T-b |
| 2/12 | T-b |
| 3/12 | T-b |
| 4/12 | T-b |
| 5/12 | T-b |
| 6/12 | T-b |
| 7/12 | T-b |
| 8/12 | T-b |
| 9/12 | T-b |
| 10/12 | T-b |
| 11/12 | T-b |
| 12/12 | T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Intel-wired-lan] [PATCH net-next v3 00/12] Add switchdev driver model for ice driver
The following patch series introduces basic switchdev model support in ice driver. Implement the following blocks of switchdev framework:
- VF port representors creation
- control plane VSI definition
- exception path (a. k. a. "slow-path") - to allow a virtual switch or linux bridge to receive any packet that doesn't match any hw filter
- link state management of virtual ports
- query virtual port statistics
Hardware offload support in switchdev mode is out of scope of this patchset. Devlink interface is used to toggle between switchdev and legacy (the default) modes of the driver.
Changelog:
v3:
* add more info to Kconfig ICE_SWITCHDEV flag
* correct spealing
v2:
* fix build issue in ice: set and release switchdev environment by moving call of ice_vsi_setup to next patch which have definition of switchdev VSI
Grzegorz Nitka (5):
ice: set and release switchdev environment
ice: introduce new type of VSI for switchdev
ice: enable/disable switchdev when managing VFs
ice: rebuild switchdev when resetting all VFs
ice: switchdev slow path
Michal Swiatkowski (5):
ice: support basic E-Switch mode control
ice: introduce VF port representor
ice: allow process vf opcodes in different ways
ice: manage VSI antispoof and destination override
ice: allow changing lan_en and lb_en on dflt rules
Wojciech Drewek (2):
ice: Move devlink port to PF/VF struct
ice: add port representor ethtool ops and stats
drivers/net/ethernet/intel/Kconfig | 14 + drivers/net/ethernet/intel/ice/Makefile | 4 +- drivers/net/ethernet/intel/ice/ice.h | 48 +- drivers/net/ethernet/intel/ice/ice_base.c | 37 +- drivers/net/ethernet/intel/ice/ice_devlink.c | 109 ++- drivers/net/ethernet/intel/ice/ice_devlink.h | 6 +- drivers/net/ethernet/intel/ice/ice_eswitch.c | 656 ++++++++++++++++++ drivers/net/ethernet/intel/ice/ice_eswitch.h | 82 +++ drivers/net/ethernet/intel/ice/ice_ethtool.c | 32 +- drivers/net/ethernet/intel/ice/ice_fltr.c | 80 +++ drivers/net/ethernet/intel/ice/ice_fltr.h | 7 + .../net/ethernet/intel/ice/ice_lan_tx_rx.h | 43 ++ drivers/net/ethernet/intel/ice/ice_lib.c | 112 ++- drivers/net/ethernet/intel/ice/ice_lib.h | 11 + drivers/net/ethernet/intel/ice/ice_main.c | 47 +- drivers/net/ethernet/intel/ice/ice_repr.c | 329 +++++++++ drivers/net/ethernet/intel/ice/ice_repr.h | 27 + drivers/net/ethernet/intel/ice/ice_switch.c | 2 +- drivers/net/ethernet/intel/ice/ice_switch.h | 6 + drivers/net/ethernet/intel/ice/ice_txrx.c | 3 + drivers/net/ethernet/intel/ice/ice_txrx_lib.c | 4 +- drivers/net/ethernet/intel/ice/ice_type.h | 1 + .../net/ethernet/intel/ice/ice_virtchnl_pf.c | 196 +++++- .../net/ethernet/intel/ice/ice_virtchnl_pf.h | 45 ++ 24 files changed, 1821 insertions(+), 80 deletions(-) create mode 100644 drivers/net/ethernet/intel/ice/ice_eswitch.c create mode 100644 drivers/net/ethernet/intel/ice/ice_eswitch.h create mode 100644 drivers/net/ethernet/intel/ice/ice_repr.c create mode 100644 drivers/net/ethernet/intel/ice/ice_repr.h
Signature · 1 line
2.30.2