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
doc: fix nics features matrix for ixgbe
[dpdk.git]
/
examples
/
ip_pipeline
/
pipeline
/
pipeline_routing.c
diff --git
a/examples/ip_pipeline/pipeline/pipeline_routing.c
b/examples/ip_pipeline/pipeline/pipeline_routing.c
index
6354730
..
eab89f2
100644
(file)
--- a/
examples/ip_pipeline/pipeline/pipeline_routing.c
+++ b/
examples/ip_pipeline/pipeline/pipeline_routing.c
@@
-319,7
+319,7
@@
app_pipeline_routing_add_route(struct app_params *app,
if ((depth == 0) || (depth > 32))
return -1;
if ((depth == 0) || (depth > 32))
return -1;
- netmask = (~0) << (32 - depth);
+ netmask = (~0
U
) << (32 - depth);
key->key.ipv4.ip &= netmask;
/* data */
key->key.ipv4.ip &= netmask;
/* data */
@@
-421,7
+421,7
@@
app_pipeline_routing_delete_route(struct app_params *app,
if ((depth == 0) || (depth > 32))
return -1;
if ((depth == 0) || (depth > 32))
return -1;
- netmask = (~0) << (32 - depth);
+ netmask = (~0
U
) << (32 - depth);
key->key.ipv4.ip &= netmask;
}
break;
key->key.ipv4.ip &= netmask;
}
break;