diff options
| author | Jiawen Wu <jiawenwu@trustnetic.com> | 2026-06-26 17:25:30 +0800 |
|---|---|---|
| committer | Paolo Abeni <pabeni@redhat.com> | 2026-06-30 11:27:18 +0200 |
| commit | 6ab752e0b59b825c127d5c86438bee1e8b1641ea (patch) | |
| tree | d4310bc26a137b987cde4683e5cc8476f51925d7 /rust/zerocopy/git@git.tavy.me:linux-stable.git | |
| parent | a7c6debfec17381329b094bd75560a1e57a5533a (diff) | |
net: libwx: fix VMDQ mask for 1-queue mode
In wx_set_vmdq_queues(), the VMDQ mask was not set for the devices not
supporting WX_FLAG_MULTI_64_FUNC, i.e., NGBE devices. A mask of 0 causes
__ALIGN_MASK(1, ~vmdq->mask) to return 0, which incorrectly sets
q_per_pool to 0 in wx_write_qde().
Fix the VMDQ 1-queue mask to 0x7F then ensures that __ALIGN_MASK(1,
~0x7F) correctly evaluates to 1.
Fixes: c52d4b898901 ("net: libwx: Redesign flow when sriov is enabled")
Signed-off-by: Jiawen Wu <jiawenwu@trustnetic.com>
Reviewed-by: Larysa Zaremba <larysa.zaremba@intel.com>
Link: https://patch.msgid.link/161F704D2C983E2C+20260626092530.551028-1-jiawenwu@trustnetic.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'rust/zerocopy/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions
