[Intel-wired-lan] [PATCH net-next v6 8/9] ice: ndo_setup_tc implementation for PF

Penigalapati, Sandeep sandeep.penigalapati at intel.com
Thu Sep 30 04:53:20 UTC 2021

>-----Original Message-----
>From: Intel-wired-lan <intel-wired-lan-bounces at osuosl.org> On Behalf Of
>Wojciech Drewek
>Sent: Friday, August 6, 2021 2:19 PM
>To: intel-wired-lan at lists.osuosl.org
>Subject: [Intel-wired-lan] [PATCH net-next v6 8/9] ice: ndo_setup_tc
>implementation for PF
>From: Kiran Patil <kiran.patil at intel.com>
>Implement ndo_setup_tc net device callback for TC HW offload on PF device.
>ndo_setup_tc provides support for HW offloading various TC filters.
>Add support for configuring the following filter with tc-flower:
>- default L2 filters (src/dst mac addresses, ethertype, VLAN)
>- variations of L3, L3+L4, L2+L3+L4 filters using advanced filters (including ipv4
>and ipv6 addresses).
>Allow for adding/removing TC flows when PF device is configured in eswitch
>switchdev mode. Two types of actions are supported at the
>Co-developed-by: Priyalee Kushwaha <priyalee.kushwaha at intel.com>
>Signed-off-by: Priyalee Kushwaha <priyalee.kushwaha at intel.com>
>Signed-off-by: Kiran Patil <kiran.patil at intel.com>
>Signed-off-by: Wojciech Drewek <wojciech.drewek at intel.com>
> drivers/net/ethernet/intel/ice/Makefile     |   3 +-
> drivers/net/ethernet/intel/ice/ice.h        |   4 +
> drivers/net/ethernet/intel/ice/ice_main.c   |  68 +++
> drivers/net/ethernet/intel/ice/ice_tc_lib.c | 838
>++++++++++++++++++++++++++++  drivers/net/ethernet/intel/ice/ice_tc_lib.h
>| 129 +++++
> 5 files changed, 1041 insertions(+), 1 deletion(-)  create mode 100644
> create mode 100644 drivers/net/ethernet/intel/ice/ice_tc_lib.h
Tested-by: Sandeep Penigalapati <sandeep.penigalapati at intel.com>

More information about the Intel-wired-lan mailing list