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
net/bnxt: fix setting max RSS contexts
[dpdk.git]
/
examples
/
ip_pipeline
/
pipeline.c
diff --git
a/examples/ip_pipeline/pipeline.c
b/examples/ip_pipeline/pipeline.c
index
9cc7e32
..
b627310
100644
(file)
--- a/
examples/ip_pipeline/pipeline.c
+++ b/
examples/ip_pipeline/pipeline.c
@@
-664,7
+664,7
@@
static const struct rte_acl_field_def table_acl_field_format_ipv4[] = {
.field_index = 3,
.input_index = 3,
.offset = sizeof(struct rte_ipv4_hdr) +
.field_index = 3,
.input_index = 3,
.offset = sizeof(struct rte_ipv4_hdr) +
- offsetof(struct tcp_hdr, src_port),
+ offsetof(struct
rte_
tcp_hdr, src_port),
},
/* Destination Port */
},
/* Destination Port */
@@
-674,7
+674,7
@@
static const struct rte_acl_field_def table_acl_field_format_ipv4[] = {
.field_index = 4,
.input_index = 3,
.offset = sizeof(struct rte_ipv4_hdr) +
.field_index = 4,
.input_index = 3,
.offset = sizeof(struct rte_ipv4_hdr) +
- offsetof(struct tcp_hdr, dst_port),
+ offsetof(struct
rte_
tcp_hdr, dst_port),
},
};
},
};
@@
-761,7
+761,7
@@
static const struct rte_acl_field_def table_acl_field_format_ipv6[] = {
.field_index = 9,
.input_index = 9,
.offset = sizeof(struct rte_ipv6_hdr) +
.field_index = 9,
.input_index = 9,
.offset = sizeof(struct rte_ipv6_hdr) +
- offsetof(struct tcp_hdr, src_port),
+ offsetof(struct
rte_
tcp_hdr, src_port),
},
/* Destination Port */
},
/* Destination Port */
@@
-771,7
+771,7
@@
static const struct rte_acl_field_def table_acl_field_format_ipv6[] = {
.field_index = 10,
.input_index = 9,
.offset = sizeof(struct rte_ipv6_hdr) +
.field_index = 10,
.input_index = 9,
.offset = sizeof(struct rte_ipv6_hdr) +
- offsetof(struct tcp_hdr, dst_port),
+ offsetof(struct
rte_
tcp_hdr, dst_port),
},
};
},
};