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_common_fe.c
diff --git
a/examples/ip_pipeline/pipeline/pipeline_common_fe.c
b/examples/ip_pipeline/pipeline/pipeline_common_fe.c
index
bffc9a4
..
a691d42
100644
(file)
--- a/
examples/ip_pipeline/pipeline/pipeline_common_fe.c
+++ b/
examples/ip_pipeline/pipeline/pipeline_common_fe.c
@@
-337,7
+337,7
@@
app_link_config(struct app_params *app,
return -1;
}
return -1;
}
- netmask = (~0) << (32 - depth);
+ netmask = (~0
U
) << (32 - depth);
host = ip & netmask;
bcast = host | (~netmask);
host = ip & netmask;
bcast = host | (~netmask);
@@
-889,7
+889,7
@@
print_link_info(struct app_link_params *p)
{
struct rte_eth_stats stats;
struct ether_addr *mac_addr;
{
struct rte_eth_stats stats;
struct ether_addr *mac_addr;
- uint32_t netmask = (~0) << (32 - p->depth);
+ uint32_t netmask = (~0
U
) << (32 - p->depth);
uint32_t host = p->ip & netmask;
uint32_t bcast = host | (~netmask);
uint32_t host = p->ip & netmask;
uint32_t bcast = host | (~netmask);