]> git.baikalelectronics.ru Git - kernel.git/commit
ice: support for indirect notification
authorMichal Swiatkowski <michal.swiatkowski@linux.intel.com>
Tue, 12 Oct 2021 18:31:03 +0000 (11:31 -0700)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Thu, 28 Oct 2021 17:59:17 +0000 (10:59 -0700)
commita38a742a5f63d8e32a6e2db885a1a5c3201f218e
treebfb77fa6cb11d5ea16c60ce7a30ee7f15d5224e1
parent8ff241e5d6eccf06f71af193cfec3b86dd6b9ca9
ice: support for indirect notification

Implement indirect notification mechanism to support offloading TC rules
on tunnel devices.

Keep indirect block list in netdev priv. Notification will call setting
tc cls flower function. For now we can offload only ingress type. Return
not supported for other flow block binder.

Signed-off-by: Michal Swiatkowski <michal.swiatkowski@linux.intel.com>
Acked-by: Paul Menzel <pmenzel@molgen.mpg.de>
Tested-by: Sandeep Penigalapati <sandeep.penigalapati@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ice/ice.h
drivers/net/ethernet/intel/ice/ice_main.c
drivers/net/ethernet/intel/ice/ice_tc_lib.h