Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Hash table batch lookup proceeds by bucket, filling the user space output buffer only if the entire bucket can fit. Depending on the initial hash value chosen we may end up with a key to bucket distribution leads to a lookup returning a count less than the full size. For example: bucket keys 0: k1 1: k2, k3 In this case the first batch lookup with batch size 2 will return count == 1, since only the 0th bucket fits entirely. Account for this in the test case. Signed-off-by: Lorenz Bauer <[email protected]>
- Loading branch information