]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'offloading-tc-rules-hw'
authorDavid S. Miller <davem@davemloft.net>
Fri, 2 Dec 2016 18:28:38 +0000 (13:28 -0500)
committerDavid S. Miller <davem@davemloft.net>
Fri, 2 Dec 2016 18:28:38 +0000 (13:28 -0500)
commitf371cad851b3ea0dd8b5123444577259f28bb8e4
treeaf72661dfeb9721b8975ba1804c9c7a8fef8a697
parent9d17d036d275ec4af00e207ff373ae5f09fc0a63
parent9307217f5d59e84a98c1af4a1cdfbe53691b9e17
Merge branch 'offloading-tc-rules-hw'

Hadar Hen Zion says:

====================
Offloading tc rules using underline Hardware device

This series adds flower classifier support in offloading tc rules when the
Software ingress device is different from the Hardware ingress device,
such as when dealing with IP tunnels

The first two patches are a small fixes to flower, checking the skip_hw flag
wasn't set before calling the Hardware offloading functions which will try to
offload the rule.

The next two patches are infrastructure patches, a preparation for the fourth
patch which is adding support in flower to offload rules when the ingress
device is not a Hardware device and therefore can't offload.
In this case ndo_setup_tc is called with the mirred (egress) device.

The last three patchs are adding mlx5e support to offload rules using the new
"egress_device" flag.

Thanks,
Hadar

Changes from v0:
- check if CONFIG_NET_CLS_ACT is defined befor calling tc_action_ops get_dev()
====================

Signed-off-by: David S. Miller <davem@davemloft.net>