summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ice
diff options
context:
space:
mode:
authorAmritha Nambiar <amritha.nambiar@intel.com>2022-10-21 00:58:39 -0700
committerPaolo Abeni <pabeni@redhat.com>2022-10-25 10:32:40 +0200
commit4a6a676f8c16ec17d2f8d69ce3b5d680277ed0d2 (patch)
treea1014bbd973a3a8a61a26e0bea2114df665d6fe2 /drivers/net/ethernet/intel/ice
parent6143eca3578f486e4d58fe6fb5e96a5699c86fbc (diff)
downloadlinux-4a6a676f8c16ec17d2f8d69ce3b5d680277ed0d2.tar.bz2
act_skbedit: skbedit queue mapping for receive queue
Add support for skbedit queue mapping action on receive side. This is supported only in hardware, so the skip_sw flag is enforced. This enables offloading filters for receive queue selection in the hardware using the skbedit action. Traffic arrives on the Rx queue requested in the skbedit action parameter. A new tc action flag TCA_ACT_FLAGS_AT_INGRESS is introduced to identify the traffic direction the action queue_mapping is requested on during filter addition. This is used to disallow offloading the skbedit queue mapping action on transmit side. Example: $tc filter add dev $IFACE ingress protocol ip flower dst_ip $DST_IP\ action skbedit queue_mapping $rxq_id skip_sw Reviewed-by: Sridhar Samudrala <sridhar.samudrala@intel.com> Signed-off-by: Amritha Nambiar <amritha.nambiar@intel.com> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'drivers/net/ethernet/intel/ice')
0 files changed, 0 insertions, 0 deletions