summaryrefslogtreecommitdiff
path: root/examples/l3fwd-vf
diff options
context:
space:
mode:
authorBruce Richardson <bruce.richardson@intel.com>2015-07-13 17:38:45 +0100
committerThomas Monjalon <thomas.monjalon@6wind.com>2015-07-13 19:27:31 +0200
commit24b4bb8123904e066ec0f47f4e8661e75ef8cace (patch)
tree6b8bea959bf7985e38190f4a79ae12a6c000a7ad /examples/l3fwd-vf
parenta8dd50513dea7eb13bd9bd6ad40acb2f46f4876a (diff)
downloaddpdk-24b4bb8123904e066ec0f47f4e8661e75ef8cace.zip
dpdk-24b4bb8123904e066ec0f47f4e8661e75ef8cace.tar.gz
dpdk-24b4bb8123904e066ec0f47f4e8661e75ef8cace.tar.xz
hash: rename unused field
The cuckoo hash has a fixed number of entries per bucket, so the configuration parameter for this is unused. We change this field in the parameters struct to "reserved" to indicate that there is now no such parameter value, while at the same time keeping ABI consistency. Fixes: 48a399119619 ("hash: replace with cuckoo hash implementation") Suggested-by: Thomas Monjalon <thomas.monjalon@6wind.com> Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Diffstat (limited to 'examples/l3fwd-vf')
-rw-r--r--examples/l3fwd-vf/main.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/examples/l3fwd-vf/main.c b/examples/l3fwd-vf/main.c
index ccbb02f..01f610e 100644
--- a/examples/l3fwd-vf/main.c
+++ b/examples/l3fwd-vf/main.c
@@ -251,7 +251,6 @@ static lookup_struct_t *l3fwd_lookup_struct[NB_SOCKETS];
struct rte_hash_parameters l3fwd_hash_params = {
.name = "l3fwd_hash_0",
.entries = L3FWD_HASH_ENTRIES,
- .bucket_entries = 4,
.key_len = sizeof(struct ipv4_5tuple),
.hash_func = DEFAULT_HASH_FUNC,
.hash_func_init_val = 0,