]> sourceware.org Git - newlib-cygwin.git/commitdiff
Add two new ifnet capabilities
authorNavdeep Parhar <np@FreeBSD.org>
Fri, 18 Sep 2020 02:10:28 +0000 (02:10 +0000)
committerSebastian Huber <sebastian.huber@embedded-brains.de>
Mon, 11 Jul 2022 09:52:46 +0000 (11:52 +0200)
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

newlib/libc/sys/rtems/include/net/if.h

index 1a3a0e564e29a4237a15802db2be84c010cf46b0..863daefde2939c042fae3a10373f505306e6e505 100644 (file)
@@ -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)
 
This page took 0.030551 seconds and 5 git commands to generate.