summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/hisilicon/hns3/hnae3.h
diff options
context:
space:
mode:
authorJian Shen2018-10-01 13:46:42 +0200
committerDavid S. Miller2018-10-02 07:57:45 +0200
commit117328680288b55d5eb43f4c697d841fb4abf67a (patch)
treeac826153a88c3eadaf42d0f6a2ed06ee634b39dd /drivers/net/ethernet/hisilicon/hns3/hnae3.h
parentnet: hns3: Add flow director initialization (diff)
downloadkernel-qcow2-linux-117328680288b55d5eb43f4c697d841fb4abf67a.tar.gz
kernel-qcow2-linux-117328680288b55d5eb43f4c697d841fb4abf67a.tar.xz
kernel-qcow2-linux-117328680288b55d5eb43f4c697d841fb4abf67a.zip
net: hns3: Add input key and action config support for flow director
Each flow director rule consists of input key and action. The input key is the condition for matching, includes tuples of L2/L3/L4 header. Action is the behaviour when a packet matches with the input key, such as drop the packet, or forward to a specified queue. The input key is stored in the tcam blocks, Each bit of input key can be masked. Signed-off-by: Jian Shen <shenjian15@huawei.com> Signed-off-by: Peng Li <lipeng321@huawei.com> Signed-off-by: Salil Mehta <salil.mehta@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/hisilicon/hns3/hnae3.h')
0 files changed, 0 insertions, 0 deletions