[Intel-wired-lan] [PATCH S40 v3 4/15] ice: Add support for tunnel offloads
Bowers, AndrewX
andrewx.bowers at intel.com
Thu May 7 20:50:40 UTC 2020
-----Original Message-----
From: Intel-wired-lan <intel-wired-lan-bounces at osuosl.org> On Behalf Of Tony Nguyen
Sent: Wednesday, May 6, 2020 9:33 AM
To: intel-wired-lan at lists.osuosl.org
Subject: [Intel-wired-lan] [PATCH S40 v3 4/15] ice: Add support for tunnel offloads
Create a boost TCAM entry for each tunnel port in order to get a tunnel PTYPE. Update netdev feature flags and implement the appropriate logic to get and set values for hardware offloads.
Signed-off-by: Tony Nguyen <anthony.l.nguyen at intel.com>
Signed-off-by: Henry Tieman <henry.w.tieman at intel.com>
---
v3:
- Removed unnecessary locking
v2:
- Add reference counting for same port additions
- Removed parameter 'index' from ice_tunnel_port_in_use()
- Change message level for exceeding max tunnel ports and tunnel not found to info
- Redo description for ice_create_tunnel()
- Removed unneccesary casts
---
drivers/net/ethernet/intel/ice/ice.h | 4 +
drivers/net/ethernet/intel/ice/ice_common.c | 2 +
.../net/ethernet/intel/ice/ice_flex_pipe.c | 524 +++++++++++++++++-
.../net/ethernet/intel/ice/ice_flex_pipe.h | 5 +
.../net/ethernet/intel/ice/ice_flex_type.h | 33 ++
drivers/net/ethernet/intel/ice/ice_flow.c | 36 +-
drivers/net/ethernet/intel/ice/ice_flow.h | 3 +
.../net/ethernet/intel/ice/ice_lan_tx_rx.h | 25 +
drivers/net/ethernet/intel/ice/ice_main.c | 94 +++-
.../ethernet/intel/ice/ice_protocol_type.h | 1 +
drivers/net/ethernet/intel/ice/ice_txrx.c | 126 ++++-
drivers/net/ethernet/intel/ice/ice_txrx.h | 3 +
drivers/net/ethernet/intel/ice/ice_txrx_lib.c | 21 +-
drivers/net/ethernet/intel/ice/ice_type.h | 4 +
14 files changed, 867 insertions(+), 14 deletions(-)
Tested-by: Andrew Bowers <andrewx.bowers at intel.com>
More information about the Intel-wired-lan
mailing list