RSS hash type will be used to identify the CPU on to which, a receive packet will be queued.
This patch extracts the "RSS hash type" from the receive completion and sends it to the stack.
Details
Details
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
Minor style(9) quibble.
sys/dev/bnxt/bnxt_txrx.c | ||
---|---|---|
415 ↗ | (On Diff #25412) | Type should be on a separate line. |
Comment Actions
Possible optimization.
sys/dev/bnxt/bnxt.h | ||
---|---|---|
102 ↗ | (On Diff #25412) | Is this first mask really necessary? It looks like: ((rss_hash_type >> 1) & 0x1f) Would do the same thing with fewer operations. This is in the RX fast path. |
Comment Actions
bnxt: [v2] propagate RSS hash type to the network stack.
RSS hash type will be used to identify the CPU on to which, a receive packet will be queued.
This patch extracts the "RSS hash type" from the receive completion and sends it to the stack.
v2 changes:
- Changed BNXT_GET_RSS_PROFILE_ID macro
- bnxt_set_rsstype function type is put on a separate line.