Thread (4 messages) 4 messages, 2 authors, 2021-10-29

[dpdk-dev] [PATCH 1/2] net/iavf: fix build error

From: Radu Nicolau <hidden>
Date: 2021-10-29 11:28:47
Subsystem: networking drivers, the rest · Maintainers: Andrew Lunn, "David S. Miller", Eric Dumazet, Jakub Kicinski, Paolo Abeni, Linus Torvalds

Fix clang build error, remove unused function
Fixes: f12d8bf150f5 ("net/iavf: rework Tx path")

Signed-off-by: Radu Nicolau <redacted>
---
 drivers/net/iavf/iavf_rxtx.c | 7 -------
 1 file changed, 7 deletions(-)
diff --git a/drivers/net/iavf/iavf_rxtx.c b/drivers/net/iavf/iavf_rxtx.c
index c782cacc6e..bef2891835 100644
--- a/drivers/net/iavf/iavf_rxtx.c
+++ b/drivers/net/iavf/iavf_rxtx.c
@@ -2396,13 +2396,6 @@ iavf_build_data_desc_cmd_offset_fields(volatile uint64_t *qw1,
 		((uint64_t)l2tag1 << IAVF_TXD_DATA_QW1_L2TAG1_SHIFT));
 }
 
-static inline void
-iavf_fill_data_desc_buffer_sz_field(volatile uint64_t *field,  uint16_t value)
-{
-	*field |= (((uint64_t)value << IAVF_TXD_DATA_QW1_TX_BUF_SZ_SHIFT) &
-			IAVF_TXD_DATA_QW1_TX_BUF_SZ_MASK);
-	}
-
 static inline void
 iavf_fill_data_desc(volatile struct iavf_tx_desc *desc,
 	struct rte_mbuf *m, uint64_t desc_template,
-- 
2.25.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help