diff options
| author | Scott Feldman <[email protected]> | 2015-07-19 01:24:51 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2015-07-21 01:32:45 +0000 |
| commit | 3f98a8e636757ce404f305d65dc93e9366112886 (patch) | |
| tree | 2bfa54af9a6872206126d91cd46aad311e04bd8b /net/tipc/node.c | |
| parent | switchdev: add offload_fwd_mark generator helper (diff) | |
| download | kernel-3f98a8e636757ce404f305d65dc93e9366112886.tar.gz kernel-3f98a8e636757ce404f305d65dc93e9366112886.zip | |
rocker: add offload_fwd_mark support
If device flags ingress packet as "fwd offload", mark the
skb->offlaod_fwd_mark using the ingress port's dev->offlaod_fwd_mark. This
will be the hint to the kernel that this packet has already been forwarded
by device to egress ports matching skb->offlaod_fwd_mark.
For rocker, derive port dev->offlaod_fwd_mark based on device switch ID and
port ifindex. If port is bridged, use the bridge ifindex rather than the
port ifindex.
Signed-off-by: Scott Feldman <[email protected]>
Acked-by: Jiri Pirko <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/tipc/node.c')
0 files changed, 0 insertions, 0 deletions
