]> 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)
commitf1932630ba096216930cf64336350c81fe97ae06
tree1cca4caace0d58603d19d494849f2653e2805bb3
parent1a5494d81fd34bcb560129d77cfc8d31459ee0e7
parent21bdbbe45a7944fa970147b55171f050e38cab10
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>