- Based on the suggestion from firmware team, derive scctx->isc_ntxqsets_max & scctx->isc_nrxqsets_max based on FUNC_QCFG (instead of FUNC_QCAPS).
- Bump-up driver version to "1.0.0.2".
Details
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
sys/dev/bnxt/if_bnxt.c | ||
---|---|---|
779 ↗ | (On Diff #32405) | Why is making the max TX and max RX the same value desirable? Users can request that TX and RX have different nrxqs via the dev.bnxt.X..iflib.override_qs_enable sysctl. If a VF is allocated a small number of one ring type, but a large number of the other, this will result in not being able to use the allocated resources. |
sys/dev/bnxt/bnxt.h | ||
---|---|---|
541 ↗ | (On Diff #32405) | Thought of using them in future for display / other way. |
sys/dev/bnxt/bnxt_hwrm.c | ||
486 ↗ | (On Diff #32405) | Thanks, I'll fix it!! |
sys/dev/bnxt/if_bnxt.c | ||
779 ↗ | (On Diff #32405) | Only reason based on my experience with other 10G/40G drivers is - having same number of Rx & Tx queues works well for features like "Queue pairing" etc.. |
sys/dev/bnxt/if_bnxt.c | ||
---|---|---|
779 ↗ | (On Diff #32405) | By default, iflib will allocate equal numbers of queues. This variable is intended to be the max supported by the hardware, not the suggested value. |
Sean Bruno,
If there are no further review comments, can you please commit this change,
Thanks,
Chenna.
sys/dev/bnxt/if_bnxt.c | ||
---|---|---|
779 ↗ | (On Diff #32405) | Understood!! I'll do the change. |
You should update the summary to remove item #2 so it's useful as a commit message.
<Chenna> Done!!
Sean Bruno,
If there are no further review comments, can you please commit this change,