[PATCH v10 19/30] examples/ip-pipeline: remove packed attributes
Andre Muezerie
andremue at linux.microsoft.com
Thu Jan 9 03:46:03 CET 2025
Removed packed attributes from structs that are naturally packed
already, or don't require packing.
Signed-off-by: Andre Muezerie <andremue at linux.microsoft.com>
---
examples/ip_pipeline/cli.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/examples/ip_pipeline/cli.c b/examples/ip_pipeline/cli.c
index 92dfacdeb0..766fc8e46e 100644
--- a/examples/ip_pipeline/cli.c
+++ b/examples/ip_pipeline/cli.c
@@ -2571,7 +2571,7 @@ struct pkt_key_qinq {
uint16_t svlan;
uint16_t ethertype_cvlan;
uint16_t cvlan;
-} __rte_packed;
+};
struct pkt_key_ipv4_5tuple {
uint8_t time_to_live;
@@ -2581,7 +2581,7 @@ struct pkt_key_ipv4_5tuple {
uint32_t da;
uint16_t sp;
uint16_t dp;
-} __rte_packed;
+};
struct pkt_key_ipv6_5tuple {
uint16_t payload_length;
@@ -2591,15 +2591,15 @@ struct pkt_key_ipv6_5tuple {
struct rte_ipv6_addr da;
uint16_t sp;
uint16_t dp;
-} __rte_packed;
+};
struct pkt_key_ipv4_addr {
uint32_t addr;
-} __rte_packed;
+};
struct pkt_key_ipv6_addr {
struct rte_ipv6_addr addr;
-} __rte_packed;
+};
static uint32_t
parse_match(char **tokens,
--
2.47.0.vfs.0.3
More information about the dev
mailing list