Code Review
/
deb_dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
New upstream version 18.11-rc3
[deb_dpdk.git]
/
examples
/
flow_filtering
/
main.c
diff --git
a/examples/flow_filtering/main.c
b/examples/flow_filtering/main.c
index
27e287a
..
a582ac0
100644
(file)
--- a/
examples/flow_filtering/main.c
+++ b/
examples/flow_filtering/main.c
@@
-137,7
+137,7
@@
init_port(void)
struct rte_eth_dev_info dev_info;
rte_eth_dev_info_get(port_id, &dev_info);
struct rte_eth_dev_info dev_info;
rte_eth_dev_info_get(port_id, &dev_info);
- port_conf.txmode.offloads &= dev_info.
r
x_offload_capa;
+ port_conf.txmode.offloads &= dev_info.
t
x_offload_capa;
printf(":: initializing port: %d\n", port_id);
ret = rte_eth_dev_configure(port_id,
nr_queues, nr_queues, &port_conf);
printf(":: initializing port: %d\n", port_id);
ret = rte_eth_dev_configure(port_id,
nr_queues, nr_queues, &port_conf);