summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/qlogic/qed/qed_l2.c
diff options
context:
space:
mode:
authorManish Chopra <manish.chopra@cavium.com>2018-05-24 19:54:52 +0300
committerDavid S. Miller <davem@davemloft.net>2018-05-25 23:10:42 +0300
commit39385ab02c3e6ffe8f70a445433c7419fd2df753 (patch)
tree94dec43a74ae427895818109b70bc900a448ffaa /drivers/net/ethernet/qlogic/qed/qed_l2.c
parent3893fc62b1769db3ef160f7f1e36d3db754497ee (diff)
downloadlinux-39385ab02c3e6ffe8f70a445433c7419fd2df753.tar.xz
qede: Support flow classification to the VFs.
With the supported classification modes [4 tuples based, udp port based, src-ip based], flows can be classified to the VFs as well. With this patch, flows can be re-directed to the requested VF provided in "action" field of command. Please note that driver doesn't really care about the queue bits in "action" field for the VFs. Since queue will be still chosen by FW using RSS hash. [I.e., the classification would be done according to vport-only] For examples - ethtool -N p5p1 flow-type udp4 dst-port 8000 action 0x100000000 ethtool -N p5p1 flow-type tcp4 src-ip 192.16.6.10 action 0x200000000 ethtool -U p5p1 flow-type tcp4 src-ip 192.168.40.100 dst-ip \ 192.168.40.200 src-port 6660 dst-port 5550 \ action 0x100000000 Signed-off-by: Manish Chopra <manish.chopra@cavium.com> Signed-off-by: Shahed Shaikh <shahed.shaikh@cavium.com> Signed-off-by: Ariel Elior <ariel.elior@cavium.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/qlogic/qed/qed_l2.c')
0 files changed, 0 insertions, 0 deletions