diff options
author | Navdeep Parhar <np@FreeBSD.org> | 2020-09-18 02:10:28 +0000 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2022-07-11 11:52:46 +0200 |
commit | 43e76bafcd70f0639b3d9ea9c411de23b119c55f (patch) | |
tree | 2996b8fd49074ad6b91eb5b18c8060b5d0dea0a1 /newlib/libc | |
parent | 1306ff4c9222e11c2c2f885e3d0fe2cc5a8d6787 (diff) | |
download | newlib-43e76bafcd70f0639b3d9ea9c411de23b119c55f.zip newlib-43e76bafcd70f0639b3d9ea9c411de23b119c55f.tar.gz newlib-43e76bafcd70f0639b3d9ea9c411de23b119c55f.tar.bz2 |
Add two new ifnet capabilities
for hw checksumming and TSO for VXLAN traffic.
These are similar to the existing VLAN capabilities.
Reviewed by: kib@
Sponsored by: Chelsio Communications
Differential Revision: https://reviews.freebsd.org/D25873
Diffstat (limited to 'newlib/libc')
-rw-r--r-- | newlib/libc/sys/rtems/include/net/if.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/newlib/libc/sys/rtems/include/net/if.h b/newlib/libc/sys/rtems/include/net/if.h index 1a3a0e5..863daef 100644 --- a/newlib/libc/sys/rtems/include/net/if.h +++ b/newlib/libc/sys/rtems/include/net/if.h @@ -248,6 +248,8 @@ struct if_data { #define IFCAP_NOMAP 0x4000000 /* can TX unmapped mbufs */ #define IFCAP_TXTLS4 0x8000000 /* can do TLS encryption and segmentation for TCP */ #define IFCAP_TXTLS6 0x10000000 /* can do TLS encryption and segmentation for TCP6 */ +#define IFCAP_VXLAN_HWCSUM 0x20000000 /* can do IFCAN_HWCSUM on VXLANs */ +#define IFCAP_VXLAN_HWTSO 0x40000000 /* can do IFCAP_TSO on VXLANs */ #define IFCAP_HWCSUM_IPV6 (IFCAP_RXCSUM_IPV6 | IFCAP_TXCSUM_IPV6) |