]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'Be explicit with XFRM offload direction'
authorSteffen Klassert <steffen.klassert@secunet.com>
Sat, 7 May 2022 07:19:47 +0000 (09:19 +0200)
committerSteffen Klassert <steffen.klassert@secunet.com>
Sat, 7 May 2022 07:19:47 +0000 (09:19 +0200)
commit25d2c442354bc3904c7d5803692d875d60f3b786
treec20b9dd17aa82558fbd12f2e573cfdef0456d841
parente6c4a6cfc55cadbd994f1974e9f955406ab6fb36
parent36831b7d62e4749343277b266126ab0668d94977
Merge  branch 'Be explicit with XFRM offload direction'

Leon Romanovsky says:

====================
I may admit that the title of this series is not the best one as it
contains straightforward cleanups and code that converts flags to
something less confusing.

This series follows removal of FPGA IPsec code from the mlx5 driver and
based on net-next commit 0c4159954796 ("Merge branch
'ocelot-vcap-cleanups'").

As such, first two patches delete code that was used by mlx5 FPGA code
but isn't needed anymore.

Third patch is simple struct rename.

Rest of the patches separate user's provided flags variable from
driver's
usage. This allows us to created more simple in-kernel interface, that
supports type checking without blending different properties into one
variable. It is achieved by converting flags to specific bitfield
variables
with clear, meaningful names.

Such change allows us more clear addition of new input flags needed to
mark IPsec offload type.

The followup code uses this extensively:
https://git.kernel.org/pub/scm/linux/kernel/git/leon/linux-rdma.git/log/?h=xfrm-next
====================

Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>