]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'net-trap-control-action'
authorDavid S. Miller <davem@davemloft.net>
Tue, 6 Jun 2017 16:45:25 +0000 (12:45 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 6 Jun 2017 16:45:25 +0000 (12:45 -0400)
commitd3151343cc68dd89c72fc0dfe2a57c61e2cf8aa1
tree1cca4caace0d58603d19d494849f2653e2805bb3
parenta856b149ab90e05e3f99ded1c831b6c3f0a02465
parent2346e80220b13d9d6e5b60198a4a73970f4df3f6
Merge branch 'net-trap-control-action'

Jiri Pirko says:

====================
net: introduce trap control action to tc and offload it

This patchset introduces a control action dedicated to indicate
to trap the matched packet to CPU. This is specific action for
HW offloads. Also, the patchset offloads the action to mlxsw driver.

Example usage:
$ tc filter add dev enp3s0np19 parent ffff: protocol ip prio 20 flower skip_sw dst_ip 192.168.10.1 action trap

v1->v2:
- patch 1
  - fix the comment according to Andrew's note
====================

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