kernel-netlink: Add support for full packet and policy HW offloading

This commit is contained in:
Tobias Brunner
2023-02-16 13:25:34 +01:00
parent 46cfebe4ab
commit 55719d7de5
5 changed files with 136 additions and 37 deletions
+2 -1
View File
@@ -40,7 +40,8 @@ ENUM(ipcomp_transform_names, IPCOMP_NONE, IPCOMP_LZJH,
ENUM(hw_offload_names, HW_OFFLOAD_NO, HW_OFFLOAD_AUTO,
"no",
"yes",
"crypto",
"packet",
"auto",
);
+3 -2
View File
@@ -125,8 +125,9 @@ extern enum_name_t *ipcomp_transform_names;
*/
enum hw_offload_t {
HW_OFFLOAD_NO = 0,
HW_OFFLOAD_YES = 1,
HW_OFFLOAD_AUTO = 2,
HW_OFFLOAD_CRYPTO = 1,
HW_OFFLOAD_PACKET = 2,
HW_OFFLOAD_AUTO = 3,
};
/**