git: 9c05d6320cc0 - main - LinuxKPI: netdev: add NETIF_F_HW_TC

From: Bjoern A. Zeeb <bz_at_FreeBSD.org>
Date: Sun, 04 May 2025 22:11:11 UTC
The branch main has been updated by bz:

URL: https://cgit.FreeBSD.org/src/commit/?id=9c05d6320cc091ffb43002a149c04c122ccb798c

commit 9c05d6320cc091ffb43002a149c04c122ccb798c
Author:     Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2025-05-02 20:09:31 +0000
Commit:     Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2025-05-04 22:10:46 +0000

    LinuxKPI: netdev: add NETIF_F_HW_TC
    
    Add a new flag needed by mt76.
    
    Sponsored by:   The FreeBSD Foundation
    MFC after:      3 days
---
 sys/compat/linuxkpi/common/include/linux/netdev_features.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sys/compat/linuxkpi/common/include/linux/netdev_features.h b/sys/compat/linuxkpi/common/include/linux/netdev_features.h
index 06e88d107708..51d2586e8aac 100644
--- a/sys/compat/linuxkpi/common/include/linux/netdev_features.h
+++ b/sys/compat/linuxkpi/common/include/linux/netdev_features.h
@@ -1,5 +1,5 @@
 /*-
- * Copyright (c) 2020-2021 The FreeBSD Foundation
+ * Copyright (c) 2020-2025 The FreeBSD Foundation
  *
  * Portions of this software were developed by Björn Zeeb
  * under sponsorship from the FreeBSD Foundation.
@@ -41,6 +41,7 @@ typedef	uint32_t		netdev_features_t;
 #define NETIF_F_TSO6            BIT(5)
 #define NETIF_F_RXCSUM          BIT(6)
 #define	NETIF_F_HW_CSUM		BIT(7)
+#define	NETIF_F_HW_TC		BIT(8)
 
 #define NETIF_F_CSUM_MASK       (NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM)