git: 1499bb2e7783 - stable/14 - LinuxKPI: netdev: add NETIF_F_HW_TC
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 07 May 2025 11:50:27 UTC
The branch stable/14 has been updated by bz:
URL: https://cgit.FreeBSD.org/src/commit/?id=1499bb2e77833df7f5b32bc09d62de66516b5c55
commit 1499bb2e77833df7f5b32bc09d62de66516b5c55
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-07 08:51:47 +0000
LinuxKPI: netdev: add NETIF_F_HW_TC
Add a new flag needed by mt76.
Sponsored by: The FreeBSD Foundation
(cherry picked from commit 9c05d6320cc091ffb43002a149c04c122ccb798c)
---
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)