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
mbuf: remove the rte_pktmbuf structure
[dpdk.git]
/
examples
/
quota_watermark
/
qw
/
main.c
diff --git
a/examples/quota_watermark/qw/main.c
b/examples/quota_watermark/qw/main.c
index
579698b
..
c8bd62f
100644
(file)
--- a/
examples/quota_watermark/qw/main.c
+++ b/
examples/quota_watermark/qw/main.c
@@
-104,8
+104,8
@@
static void send_pause_frame(uint8_t port_id, uint16_t duration)
pause_frame->opcode = rte_cpu_to_be_16(0x0001);
pause_frame->param = rte_cpu_to_be_16(duration);
- mbuf->pkt
.pkt
_len = 60;
- mbuf->
pkt.
data_len = 60;
+ mbuf->pkt_len = 60;
+ mbuf->data_len = 60;
rte_eth_tx_burst(port_id, 0, &mbuf, 1);
}