diff options
author | David S. Miller <davem@davemloft.net> | 2017-09-22 21:28:01 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-09-22 21:28:01 -0700 |
commit | cddd95231f9a769fbf905d4f43fbad3a607044c3 (patch) | |
tree | 59cd27c78076a3cd145c1a50af23b0fa9449af82 /net/packet | |
parent | 52a59bd509e3dc458be99dcf333b778e6e3b3749 (diff) | |
parent | e0f911c81e93fc23fe1a4fb0318ff1c3b1c9027f (diff) | |
download | linux-rt-cddd95231f9a769fbf905d4f43fbad3a607044c3.tar.gz |
Merge branch 'cxgb4-tc-flower'
Rahul Lakkireddy says:
====================
cxgb4: add support to offload tc flower
This series of patches add support to offload tc flower onto Chelsio
NICs.
Patch 1 adds basic skeleton to prepare for offloading tc flower flows.
Patch 2 adds support to add/remove flows for offload. Flows can have
accompanying masks. Following match and action are currently supported
for offload:
Match: ether-protocol, IPv4/IPv6 addresses, L4 ports (TCP/UDP)
Action: drop, redirect to another port on the device.
Patch 3 adds support to offload tc-flower flows having
vlan actions: pop, push, and modify.
Patch 4 adds support to fetch stats for the offloaded tc flower flows
from hardware.
Support for offloading more match and action types are to be followed
in subsequent series.
v2:
- Setting ftid to -1 not required after bitmap_find_free_region
in cxgb4_get_free_ftid.
- Direct return can be used as jumping to error path is not needed
if flower entry allocation failed in cxgb4_tc_flower_replace.
Same applies if flower entry not found in cxgb4_tc_flower_destroy.
- Also, removed an extra return from cxgb4_tc_flower_destroy.
- Avoid wrapping line for netdev_err message. Also, use
consistent error message string.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/packet')
0 files changed, 0 insertions, 0 deletions