We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45cefdf commit 21ed998Copy full SHA for 21ed998
pcap-dpdk.c
@@ -196,22 +196,20 @@ struct pcap_dpdk{
196
unsigned char pcap_tmp_buf[RTE_ETH_PCAP_SNAPLEN];
197
};
198
199
-#if (RTE_VERSION < RTE_VERSION_NUM(22, 0, 0, 0))
200
static struct rte_eth_conf port_conf = {
+#if (RTE_VERSION < RTE_VERSION_NUM(22, 0, 0, 0))
201
.rxmode = {
202
.split_hdr_size = 0,
203
},
204
.txmode = {
205
.mq_mode = ETH_MQ_TX_NONE,
206
207
-};
208
#else
209
-static struct rte_eth_conf port_conf = {
210
211
.mq_mode = RTE_ETH_MQ_TX_NONE,
212
213
214
#endif
+};
215
216
static void dpdk_fmt_errmsg_for_rte_errno(char *, size_t, int,
217
PCAP_FORMAT_STRING(const char *), ...) PCAP_PRINTFLIKE(4, 5);
0 commit comments