From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1921) id 65F173854159; Mon, 11 Jul 2022 11:52:34 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 65F173854159 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Sebastian Huber To: newlib-cvs@sourceware.org Subject: [newlib-cygwin] Add two new ifnet capabilities X-Act-Checkin: newlib-cygwin X-Git-Author: Navdeep Parhar X-Git-Refname: refs/heads/master X-Git-Oldrev: 1306ff4c9222e11c2c2f885e3d0fe2cc5a8d6787 X-Git-Newrev: 43e76bafcd70f0639b3d9ea9c411de23b119c55f Message-Id: <20220711115234.65F173854159@sourceware.org> Date: Mon, 11 Jul 2022 11:52:34 +0000 (GMT) X-BeenThere: newlib-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Newlib GIT logs List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jul 2022 11:52:34 -0000 https://sourceware.org/git/gitweb.cgi?p=3Dnewlib-cygwin.git;h=3D43e76bafcd7= 0f0639b3d9ea9c411de23b119c55f commit 43e76bafcd70f0639b3d9ea9c411de23b119c55f Author: Navdeep Parhar Date: Fri Sep 18 02:10:28 2020 +0000 Add two new ifnet capabilities =20 for hw checksumming and TSO for VXLAN traffic. =20 These are similar to the existing VLAN capabilities. =20 Reviewed by: kib@ Sponsored by: Chelsio Communications Differential Revision: https://reviews.freebsd.org/D25873 Diff: --- newlib/libc/sys/rtems/include/net/if.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/newlib/libc/sys/rtems/include/net/if.h b/newlib/libc/sys/rtems= /include/net/if.h index 1a3a0e564..863daefde 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 */ =20 #define IFCAP_HWCSUM_IPV6 (IFCAP_RXCSUM_IPV6 | IFCAP_TXCSUM_IPV6)