diff options
author | Flavio Leitner <fbl@sysclose.org> | 2020-02-03 11:22:22 -0300 |
---|---|---|
committer | Ben Pfaff <blp@ovn.org> | 2020-02-06 11:30:59 -0800 |
commit | 2297cbe6cc25b6b1862c499ce8f16f52f75d9e5f (patch) | |
tree | de5a46ac67db99fb70d1c47310ab192884c714ff /lib/netdev-linux-private.h | |
parent | 3d6a6f450af5b7eaf4b532983cb14458ae792b72 (diff) | |
download | openvswitch-2297cbe6cc25b6b1862c499ce8f16f52f75d9e5f.tar.gz |
netdev-linux-private: fix max length to be 16 bits
The dp_packet length is limited to 16 bits, so document that
and fix the length value accordingly.
Fixes: 29cf9c1b3b9c ("userspace: Add TCP Segmentation Offload support")
Signed-off-by: Flavio Leitner <fbl@sysclose.org>
Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'lib/netdev-linux-private.h')
-rw-r--r-- | lib/netdev-linux-private.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/netdev-linux-private.h b/lib/netdev-linux-private.h index 143616ca8..be2d7b10b 100644 --- a/lib/netdev-linux-private.h +++ b/lib/netdev-linux-private.h @@ -38,7 +38,8 @@ struct netdev; -#define LINUX_RXQ_TSO_MAX_LEN 65536 +/* The maximum packet length is 16 bits */ +#define LINUX_RXQ_TSO_MAX_LEN 65535 struct netdev_rxq_linux { struct netdev_rxq up; |