diff options
author | David S. Miller | 2017-09-23 06:28:01 +0200 |
---|---|---|
committer | David S. Miller | 2017-09-23 06:28:01 +0200 |
commit | cddd95231f9a769fbf905d4f43fbad3a607044c3 (patch) | |
tree | 59cd27c78076a3cd145c1a50af23b0fa9449af82 /net/core/sock.c | |
parent | net: use 32-bit arithmetic while allocating net device (diff) | |
parent | cxgb4: fetch stats for offloaded tc flower flows (diff) | |
download | kernel-qcow2-linux-cddd95231f9a769fbf905d4f43fbad3a607044c3.tar.gz kernel-qcow2-linux-cddd95231f9a769fbf905d4f43fbad3a607044c3.tar.xz kernel-qcow2-linux-cddd95231f9a769fbf905d4f43fbad3a607044c3.zip |
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/core/sock.c')
0 files changed, 0 insertions, 0 deletions