git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
net/hns3: fix delay for waiting to stop Rx/Tx
[dpdk.git]
/
drivers
/
net
/
softnic
/
rte_eth_softnic_cli.c
diff --git
a/drivers/net/softnic/rte_eth_softnic_cli.c
b/drivers/net/softnic/rte_eth_softnic_cli.c
index
bc95f16
..
932ec15
100644
(file)
--- a/
drivers/net/softnic/rte_eth_softnic_cli.c
+++ b/
drivers/net/softnic/rte_eth_softnic_cli.c
@@
-3358,7
+3358,7
@@
struct pkt_key_qinq {
uint16_t svlan;
uint16_t ethertype_cvlan;
uint16_t cvlan;
uint16_t svlan;
uint16_t ethertype_cvlan;
uint16_t cvlan;
-} __
attribute__((__packed__))
;
+} __
rte_packed
;
struct pkt_key_ipv4_5tuple {
uint8_t time_to_live;
struct pkt_key_ipv4_5tuple {
uint8_t time_to_live;
@@
-3368,7
+3368,7
@@
struct pkt_key_ipv4_5tuple {
uint32_t da;
uint16_t sp;
uint16_t dp;
uint32_t da;
uint16_t sp;
uint16_t dp;
-} __
attribute__((__packed__))
;
+} __
rte_packed
;
struct pkt_key_ipv6_5tuple {
uint16_t payload_length;
struct pkt_key_ipv6_5tuple {
uint16_t payload_length;
@@
-3378,15
+3378,15
@@
struct pkt_key_ipv6_5tuple {
uint8_t da[16];
uint16_t sp;
uint16_t dp;
uint8_t da[16];
uint16_t sp;
uint16_t dp;
-} __
attribute__((__packed__))
;
+} __
rte_packed
;
struct pkt_key_ipv4_addr {
uint32_t addr;
struct pkt_key_ipv4_addr {
uint32_t addr;
-} __
attribute__((__packed__))
;
+} __
rte_packed
;
struct pkt_key_ipv6_addr {
uint8_t addr[16];
struct pkt_key_ipv6_addr {
uint8_t addr[16];
-} __
attribute__((__packed__))
;
+} __
rte_packed
;
static uint32_t
parse_match(char **tokens,
static uint32_t
parse_match(char **tokens,