]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
sd-netlink: Add Generic Segment Offload attributes
authorSusant Sahani <ssahani@vmware.com>
Mon, 16 Nov 2020 12:55:49 +0000 (13:55 +0100)
committerSusant Sahani <ssahani@vmware.com>
Mon, 11 Jan 2021 09:10:12 +0000 (10:10 +0100)
src/libsystemd/sd-netlink/netlink-types.c

index f5e5fdf3afc3cc72e622a528b99e90f261e767d1..15db32fd1b4dd2eec93b1324b8269d9b2397480e 100644 (file)
@@ -642,6 +642,8 @@ static const NLType rtnl_link_types[] = {
         [IFLA_PROMISCUITY]      = { .type = NETLINK_TYPE_U32 },
         [IFLA_NUM_TX_QUEUES]    = { .type = NETLINK_TYPE_U32 },
         [IFLA_NUM_RX_QUEUES]    = { .type = NETLINK_TYPE_U32 },
+        [IFLA_GSO_MAX_SEGS]     = { .type = NETLINK_TYPE_U32 },
+        [IFLA_GSO_MAX_SIZE]     = { .type = NETLINK_TYPE_U32 },
         [IFLA_CARRIER]          = { .type = NETLINK_TYPE_U8 },
 /*
         [IFLA_PHYS_PORT_ID]     = { .type = NETLINK_TYPE_BINARY, .len = MAX_PHYS_PORT_ID_LEN },