]> git.proxmox.com Git - mirror_iproute2.git/commit - ip/ipxfrm.c
ip xfrm: Add xfrm state crypto offload
authorBoris Pismenny <borisp@mellanox.com>
Sun, 30 Apr 2017 14:16:02 +0000 (17:16 +0300)
committerStephen Hemminger <stephen@networkplumber.org>
Mon, 1 May 2017 16:30:25 +0000 (09:30 -0700)
commitcfd2e727f074d16bb2ef820406be32ee6e2a04e3
tree1f6155336441cfa70a09778cf3d1dc005a209a93
parenta872b870a51135cde29e595a4782d910a9d39393
ip xfrm: Add xfrm state crypto offload

syntax:
ip xfrm state .... offload dev <if-name> dir <in or out>

Example to add inbound offload:
  ip xfrm state .... offload dev mlx0 dir in
Example to add outbound offload:
  ip xfrm state .... offload dev mlx0 dir out

Signed-off-by: Boris Pismenny <borisp@mellanox.com>
Signed-off-by: Ilan Tayari <ilant@mellanox.com>
ip/ipxfrm.c
ip/xfrm_state.c