[PATCH v10 03/30] app/test-pmd: remove unnecessary packed attributes
Andre Muezerie
andremue at linux.microsoft.com
Thu Jan 9 03:45:47 CET 2025
Removed __rte_packed attribute from structure that is naturally
packed already.
Signed-off-by: Andre Muezerie <andremue at linux.microsoft.com>
---
app/test-pmd/csumonly.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app/test-pmd/csumonly.c b/app/test-pmd/csumonly.c
index 2246c22e8e..d77a140641 100644
--- a/app/test-pmd/csumonly.c
+++ b/app/test-pmd/csumonly.c
@@ -92,7 +92,7 @@ struct testpmd_offload_info {
struct simple_gre_hdr {
uint16_t flags;
uint16_t proto;
-} __rte_packed;
+};
static uint16_t
get_udptcp_checksum(struct rte_mbuf *m, void *l3_hdr, uint16_t l4_off,
--
2.47.0.vfs.0.3
More information about the dev
mailing list