Bug 1172 - hash: return value is different from the description
Summary: hash: return value is different from the description
Status: UNCONFIRMED
Alias: None
Product: DPDK
Classification: Unclassified
Component: other (show other bugs)
Version: 23.03
Hardware: All All
: Normal normal
Target Milestone: ---
Assignee: dev
URL:
Depends on:
Blocks:
 
Reported: 2023-03-02 09:23 CET by Chenming C
Modified: 2023-03-02 09:23 CET (History)
0 users



Attachments

Description Chenming C 2023-03-02 09:23:43 CET
The rte_hash_lookup_data function has the potential to return a ZERO value, contrary to what the description indicates. The description specifies that "A positive value that can be used by the caller as an offset into an array of user data".

To address this issue, I submitted a patch, which can be found at: http://patches.dpdk.org/project/dpdk/patch/1656335481-238112-1-git-send-email-ccm@ccm.ink/

Note You need to log in before you can comment on or make changes to this bug.