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
+3 -3
View File
@@ -1040,9 +1040,9 @@ CALLBACK(parse_hw_offload, bool,
action_t *out, chunk_t v)
{
enum_map_t map[] = {
{ "no", HW_OFFLOAD_NO },
{ "yes", HW_OFFLOAD_YES },
{ "auto", HW_OFFLOAD_AUTO },
{ "no", HW_OFFLOAD_NO },
{ "yes", HW_OFFLOAD_CRYPTO },
{ "auto", HW_OFFLOAD_AUTO },
};
int d;