linux/drivers/net/ethernet/chelsio/inline_crypto
Leon Romanovsky cc18f482e8 xfrm: provide common xdo_dev_offload_ok callback implementation
Almost all drivers except bond and nsim had same check if device
can perform XFRM offload on that specific packet. The check was that
packet doesn't have IPv4 options and IPv6 extensions.

In NIC drivers, the IPv4 HELEN comparison was slightly different, but
the intent was to check for the same conditions. So let's chose more
strict variant as a common base.

Reviewed-by: Zhu Yanjun <yanjun.zhu@linux.dev>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
2025-02-21 08:08:15 +01:00
..
ch_ipsec xfrm: provide common xdo_dev_offload_ok callback implementation 2025-02-21 08:08:15 +01:00
ch_ktls Revert "net: mirror skb frag ref/unref helpers" 2024-05-03 16:05:53 -07:00
chtls chelsio/chtls: prevent potential integer overflow on 32bit 2024-12-16 18:08:11 -08:00
Kconfig
Makefile