Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nx-match: Fix distribution of hash function for NXM/OXM headers.
NXM/OXM headers as represented in this file are 64-bit long and the low bits are essentially constant (almost always 0) so using hash_int(), which takes an uint32_t, is going to be a useless hash function. This commit fixes the problem. Found by inspection. Signed-off-by: Ben Pfaff <[email protected]> Acked-by: Jesse Gross <[email protected]>
- Loading branch information