Skip to contentSkip to conversation

net/intel: remove unused Tx struct member

PATCH In review Bruce Richardson 2 participants 4 messages Sep 10, 2025 – Sep 24, 2025 Network drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net/intel: remove unused Tx struct member

The rel_mbufs_type value for tracking the Tx cleanup function is no longer used in the iavf code. Therefore it can be removed.

---
 drivers/net/intel/common/tx.h | 1 -
 1 file changed, 1 deletion(-)
drivers/net/intel/common/tx.h +0 -1
index 7dc84da170..22eca21f65 100644
@@ -84,7 +84,6 @@ struct ci_tx_queue {
 		};
 		struct { /* iavf driver specific values */
 			uint16_t ipsec_crypto_pkt_md_offset;
-			uint8_t rel_mbufs_type;
 #define IAVF_TX_FLAGS_VLAN_TAG_LOC_L2TAG1 BIT(0)
 #define IAVF_TX_FLAGS_VLAN_TAG_LOC_L2TAG2 BIT(1)
 			uint8_t vlan_flag;
Signature · 1 line
2.48.1
#1 lore raw
Quoted 8 lines · Bruce Richardson

The rel_mbufs_type value for tracking the Tx cleanup function is no longer used in the iavf code. Therefore it can be removed.

---
 drivers/net/intel/common/tx.h | 1 -
 1 file changed, 1 deletion(-)

Recheck-request: rebase=next-net-intel, iol-compile-amd64-testing, iol-compile-arm64-testing

Acked-by on v1 1/1
#2 lore raw
In reply to Bruce Richardson
Quoted 5 lines

The rel_mbufs_type value for tracking the Tx cleanup function is no longer used in the iavf code. Therefore it can be removed.

Quoted 18 lines
---
 drivers/net/intel/common/tx.h | 1 -
 1 file changed, 1 deletion(-)
drivers/net/intel/common/tx.h +0 -2
index 7dc84da170..22eca21f65 100644
@@ -84,7 +84,6 @@ struct ci_tx_queue {
 		};
 		struct { /* iavf driver specific values */
 			uint16_t ipsec_crypto_pkt_md_offset;
-			uint8_t rel_mbufs_type;
 #define IAVF_TX_FLAGS_VLAN_TAG_LOC_L2TAG1 BIT(0)
 #define IAVF_TX_FLAGS_VLAN_TAG_LOC_L2TAG2 BIT(1)
 			uint8_t vlan_flag;
--

2.48.1