diff options
author | Andriy Gapon <avg@FreeBSD.org> | 2020-06-23 04:58:36 +0000 |
---|---|---|
committer | Andriy Gapon <avg@FreeBSD.org> | 2020-06-23 04:58:36 +0000 |
commit | b40dd828bdc96959cf5fa90d02fc00d96c54fbe4 (patch) | |
tree | 53dc16d114817be8626055546ccbf45b395c6b8b /contrib/serf/incoming.c | |
parent | 5b750b9a6889dda96c02517133fd2237311ecbb4 (diff) | |
download | src-b40dd828bdc96959cf5fa90d02fc00d96c54fbe4.tar.gz src-b40dd828bdc96959cf5fa90d02fc00d96c54fbe4.zip |
teach ena driver about RSS kernel option
Networking is broken if the driver configures its (virtual) hardware to
use a hash algorithm (or a key) different from the one that the network
stack (software RSS) uses. This can be seen with connections initiated
from the host. The PCB will be placed into the hash table based on the
hash value calculated by the software. The hardware-calculated hash
value in reponse packets will be different, so the PCB won't be found.
Tested with a kernel compiled with 'options RSS' on an instance with ena
driver.
Reviewed by: mw, adrian
MFC after: 2 weeks
Sponsored by: Panzura
Differential Revision: https://reviews.freebsd.org/D24733
Notes
Notes:
svn path=/head/; revision=362530
Diffstat (limited to 'contrib/serf/incoming.c')
0 files changed, 0 insertions, 0 deletions