OSDN Git Service

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)
commit195bb48fccdef4965a65579ef05db8a8fcba8dca
treebfb77fa6cb11d5ea16c60ce7a30ee7f15d5224e1
parentf2edaa4ad5d51371709196f2c258fbe875962dee
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