The branch main has been updated by bz:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=85d61bd872a0d91173d6cc8dc5bb2c927a5a4302

commit 85d61bd872a0d91173d6cc8dc5bb2c927a5a4302
Author:     Bjoern A. Zeeb <[email protected]>
AuthorDate: 2022-02-09 12:05:13 +0000
Commit:     Bjoern A. Zeeb <[email protected]>
CommitDate: 2022-02-14 00:22:24 +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.
    
    MFC after:      3 days
    Reviewed by:    hselasky
    Differential Revision: https://reviews.freebsd.org/D34233
---
 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)
 

Reply via email to