diff options
| author | Yossi Kuperman <[email protected]> | 2017-08-30 08:30:39 +0000 |
|---|---|---|
| committer | Steffen Klassert <[email protected]> | 2017-08-31 07:04:03 +0000 |
| commit | 47ebcc0bb1d5eb7f1b1eeab675409ea7f67b4a5c (patch) | |
| tree | 1718a09f7321053903a758a82b0101595113cad0 /net/tipc/node.c | |
| parent | liquidio: fix crash in presence of zeroed-out base address regs (diff) | |
| download | kernel-47ebcc0bb1d5eb7f1b1eeab675409ea7f67b4a5c.tar.gz kernel-47ebcc0bb1d5eb7f1b1eeab675409ea7f67b4a5c.zip | |
xfrm: Add support for network devices capable of removing the ESP trailer
In conjunction with crypto offload [1], removing the ESP trailer by
hardware can potentially improve the performance by avoiding (1) a
cache miss incurred by reading the nexthdr field and (2) the necessity
to calculate the csum value of the trailer in order to keep skb->csum
valid.
This patch introduces the changes to the xfrm stack and merely serves
as an infrastructure. Subsequent patch to mlx5 driver will put this to
a good use.
[1] https://www.mail-archive.com/[email protected]/msg175733.html
Signed-off-by: Yossi Kuperman <[email protected]>
Signed-off-by: Steffen Klassert <[email protected]>
Diffstat (limited to 'net/tipc/node.c')
0 files changed, 0 insertions, 0 deletions
