mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
sfxge(4): expand on comment on number of queues field
Expand on comment on RSS_CONTEXT_ALLOC_IN_NUM_QUEUES field. Submitted by: Mark Spender <mspender at solarflare.com> Sponsored by: Solarflare Communications, Inc. Differential Revision: https://reviews.freebsd.org/D18127
This commit is contained in:
parent
3651ecc55b
commit
ee1d6deeeb
1 changed files with 7 additions and 1 deletions
|
|
@ -220,7 +220,13 @@ efx_mcdi_rss_context_alloc(
|
|||
MCDI_IN_SET_DWORD(req, RSS_CONTEXT_ALLOC_IN_UPSTREAM_PORT_ID,
|
||||
EVB_PORT_ID_ASSIGNED);
|
||||
MCDI_IN_SET_DWORD(req, RSS_CONTEXT_ALLOC_IN_TYPE, context_type);
|
||||
/* NUM_QUEUES is only used to validate indirection table offsets */
|
||||
|
||||
/*
|
||||
* For exclusive contexts, NUM_QUEUES is only used to validate
|
||||
* indirection table offsets.
|
||||
* For shared contexts, the provided context will spread traffic over
|
||||
* NUM_QUEUES many queues.
|
||||
*/
|
||||
MCDI_IN_SET_DWORD(req, RSS_CONTEXT_ALLOC_IN_NUM_QUEUES, num_queues);
|
||||
|
||||
efx_mcdi_execute(enp, &req);
|
||||
|
|
|
|||
Loading…
Reference in a new issue