git: f75b3614ba84 - stable/13 - LinuxKPI: add NETIF_F_HW_CSUM to netdev_features.h
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 20 Feb 2022 18:15:32 UTC
The branch stable/13 has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=f75b3614ba842deee0f7252be0d37a17a40880a3 commit f75b3614ba842deee0f7252be0d37a17a40880a3 Author: Bjoern A. Zeeb <bz@FreeBSD.org> AuthorDate: 2022-02-09 12:05:13 +0000 Commit: Bjoern A. Zeeb <bz@FreeBSD.org> CommitDate: 2022-02-20 16:23:27 +0000 LinuxKPI: add NETIF_F_HW_CSUM to netdev_features.h Add NETIF_F_HW_CSUM to netdev_features.h as needed by a driver. Reviewed by: hselasky Differential Revision: https://reviews.freebsd.org/D34233 (cherry picked from commit 85d61bd872a0d91173d6cc8dc5bb2c927a5a4302) --- sys/compat/linuxkpi/common/include/linux/netdev_features.h | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/compat/linuxkpi/common/include/linux/netdev_features.h b/sys/compat/linuxkpi/common/include/linux/netdev_features.h index f8442a7e1c0c..e21d1965bec6 100644 --- a/sys/compat/linuxkpi/common/include/linux/netdev_features.h +++ b/sys/compat/linuxkpi/common/include/linux/netdev_features.h @@ -42,6 +42,7 @@ typedef uint32_t netdev_features_t; #define NETIF_F_TSO BIT(4) #define NETIF_F_TSO6 BIT(5) #define NETIF_F_RXCSUM BIT(6) +#define NETIF_F_HW_CSUM BIT(7) #define NETIF_F_CSUM_MASK (NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM)