• Amritha Nambiar's avatar
    act_skbedit: skbedit queue mapping for receive queue · 4a6a676f
    Amritha Nambiar authored
    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: default avatarSridhar Samudrala <sridhar.samudrala@intel.com>
    Signed-off-by: default avatarAmritha Nambiar <amritha.nambiar@intel.com>
    Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
    4a6a676f
act_api.h 9.25 KB