[PATCH v7 0/4] introduce IPsec Operation in virtio-net
Srujana Challa <[email protected]>
| Newsgroups | dev.linux.lists.virtio-comment |
|---|---|
| Message-ID | <[email protected]> |
This series enhances virtio-net by adding support for IPsec Operation. These patches aim to extend the capabilities of virtio-net, enabling it to handle IPsec operations efficiently. This enables the offloading of IPsec processing, both before transmission and after reception, thereby providing inline offload capabilities. It is using new virtio basic facilities of capability and resource objects. Below is a summary of the changes introduced: Patch1: This patch introduces the foundational support for IPsec within the virtio-net framework, outlining the necessary capabilities and resource objects for IPsec operations. Patch2: This patch introduces a new selector and action necessary for IPsec processing, leveraging flow filter actions. Patch3: This patch introduces new fields in "struct virtio_net_hdr" to to support IPsec functionality. Patch4: This patch specifies the requirements for both the device and the driver to support IPsec operations. These enhancements are for providing support for IPsec within the virtio-net device/driver, improving security and performance for virtualized environments. We believe these additions will significantly benefit users who rely on virtio-net for secure data transmission. This series references the Virtio-crypto IPsec service operation capabilities and resource objects data structures, and cryptographic algorithm definitions to avoid duplication, however the admin command type value differs between Virtio-crypto and Virtio-net. depends-on: https://lore.kernel.org/virtio-comment/[email protected]/ depends-on: https://lore.kernel.org/virtio-comment/[email protected]/ v2: - Addressed the review comments from Parav Pandit. v3: - Introduced VIRTIO_NET_HDR_F_SECURITY_SA_SOFT_EXPIRY_WARN flag in the virtio_net_hdr:flags. - Addressed the review comments from Parav Pandit. v4: - Rebased this series on VIRTIO_NET_F_OUT_NET_HEADER patch. v6: - Replaced struct virtio_net_hdr:padding_reserved_2 with ipsec_resource_hdr. v7: - Combined padding_reserved_2 and ipsec_resource_hdr into a union(Parav Pandit) Srujana Challa (4): virtio-net: Add IPsec operation, capabilities and resource objects virtio-net: Add new flow filter selector and action for IPsec virtio-net: extend virtio_net_hdr for IPsec support virtio-net: Add IPsec operation device and driver requirements device-types/net/description.tex | 214 +++++++++++++++++++++++- device-types/net/device-conformance.tex | 1 + device-types/net/driver-conformance.tex | 1 + 3 files changed, 210 insertions(+), 6 deletions(-) -- 2.25.1