/* * IPV6 GSO/GRO offload support * Linux INET6 implementation * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version * 2 of the License, or (at your option) any later version. * * IPV6 Extension Header GSO/GRO support */ #include #include "ip6_offload.h" static const struct net_offload rthdr_offload = { .flags = INET6_PROTO_GSO_EXTHDR, }; static const struct net_offload dstopt_offload = { .flags = INET6_PROTO_GSO_EXTHDR, }; int __init ipv6_exthdrs_offload_init(void) { int ret; ret = inet6_add_offload(&rthdr_offload, IPPROTO_ROUTING); if (ret) goto out; ret = inet6_add_offload(&dstopt_offload, IPPROTO_DSTOPTS); if (ret) goto out_rt; out: return ret; out_rt: inet6_del_offload(&rthdr_offload, IPPROTO_ROUTING); goto out; } 3d2dd4a19f842e7d134c341eb584970ff3b32'/> net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorJiri Pirko <jiri@mellanox.com>2017-02-09 15:54:34 +0100
committerDavid S. Miller <davem@davemloft.net>2017-02-10 14:43:00 -0500
commit21e3d2dd4a19f842e7d134c341eb584970ff3b32 (patch)
tree3adb2f5bac3e94d701a03dfcb0f63c6d3261e072 /net
parentadf200f31c000d707e4afe238ed1d1199e0cce7c (diff)
devlink: rename devlink_eswitch_fill to devlink_nl_eswitch_fill
Be aligned with the rest of the file and name the helper function accordingly. Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r--net/core/devlink.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/net/core/devlink.c b/net/core/devlink.c