diff options
| author | Lukasz Czapnik <[email protected]> | 2025-08-13 10:45:17 +0000 |
|---|---|---|
| committer | Tony Nguyen <[email protected]> | 2025-09-18 22:46:30 +0000 |
| commit | eac04428abe9f9cb203ffae4600791ea1d24eb18 (patch) | |
| tree | 07632eb7090c003769e5f6dc5a0c7e17b9cb6bd4 /lib/xarray.c | |
| parent | i40e: add max boundary check for VF filters (diff) | |
| download | kernel-eac04428abe9f9cb203ffae4600791ea1d24eb18.tar.gz kernel-eac04428abe9f9cb203ffae4600791ea1d24eb18.zip | |
i40e: add mask to apply valid bits for itr_idx
The ITR index (itr_idx) is only 2 bits wide. When constructing the
register value for QINT_RQCTL, all fields are ORed together. Without
masking, higher bits from itr_idx may overwrite adjacent fields in the
register.
Apply I40E_QINT_RQCTL_ITR_INDX_MASK to ensure only the intended bits are
set.
Fixes: 5c3c48ac6bf5 ("i40e: implement virtual device interface")
Cc: [email protected]
Signed-off-by: Lukasz Czapnik <[email protected]>
Reviewed-by: Aleksandr Loktionov <[email protected]>
Signed-off-by: Przemek Kitszel <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Tested-by: Rafal Romanowski <[email protected]>
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'lib/xarray.c')
0 files changed, 0 insertions, 0 deletions
