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
examples/ip_fragmentation: fix Tx queues init
[dpdk.git]
/
examples
/
qos_sched
/
init.c
diff --git
a/examples/qos_sched/init.c
b/examples/qos_sched/init.c
index
c9e4879
..
1209bd7
100644
(file)
--- a/
examples/qos_sched/init.c
+++ b/
examples/qos_sched/init.c
@@
-57,10
+57,8
@@
struct flow_conf qos_conf[MAX_DATA_STREAMS];
static struct rte_eth_conf port_conf = {
.rxmode = {
static struct rte_eth_conf port_conf = {
.rxmode = {
- .max_rx_pkt_len = ETHER_MAX_LEN,
+ .max_rx_pkt_len =
RTE_
ETHER_MAX_LEN,
.split_hdr_size = 0,
.split_hdr_size = 0,
- .ignore_offload_bitfield = 1,
- .offloads = DEV_RX_OFFLOAD_CRC_STRIP,
},
.txmode = {
.mq_mode = ETH_DCB_NONE,
},
.txmode = {
.mq_mode = ETH_DCB_NONE,
@@
-96,7
+94,6
@@
app_init_port(uint16_t portid, struct rte_mempool *mp)
tx_conf.tx_free_thresh = 0;
tx_conf.tx_rs_thresh = 0;
tx_conf.tx_deferred_start = 0;
tx_conf.tx_free_thresh = 0;
tx_conf.tx_rs_thresh = 0;
tx_conf.tx_deferred_start = 0;
- tx_conf.txq_flags = ETH_TXQ_FLAGS_IGNORE;
/* init port */
RTE_LOG(INFO, APP, "Initializing port %"PRIu16"... ", portid);
/* init port */
RTE_LOG(INFO, APP, "Initializing port %"PRIu16"... ", portid);