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 Passed - Unit
No Test Coverage - Build Status
Buildable 7581 Build 7733: arc lint + arc unit
Event Timeline
Comment Actions
Minor style(9) quibble.
sys/dev/bnxt/bnxt_txrx.c | ||
---|---|---|
415 | Type should be on a separate line. |
Comment Actions
Possible optimization.
sys/dev/bnxt/bnxt.h | ||
---|---|---|
102 | 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.