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: minor changes
[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
88f5443
..
21e0fc7
100644
(file)
--- a/
examples/quota_watermark/qw/main.c
+++ b/
examples/quota_watermark/qw/main.c
@@
-97,7
+97,7
@@
static void send_pause_frame(uint8_t port_id, uint16_t duration)
ether_addr_copy(&mac_addr, &hdr->s_addr);
void *tmp = &hdr->d_addr.addr_bytes[0];
- *((uint64_t *)tmp) = 0x010000C28001;
+ *((uint64_t *)tmp) = 0x010000C28001
ULL
;
hdr->ether_type = rte_cpu_to_be_16(ETHER_TYPE_FLOW_CONTROL);