diff options
author | Ivan Vecera <ivecera@redhat.com> | 2023-11-30 20:31:34 +0100 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2024-02-12 16:58:08 -0800 |
commit | 343bb39e1f25a73a38a03d98ca383495c0ed6e92 (patch) | |
tree | ef9e5ed57e3172a2b095af164b9abe7106ac6abd /drivers/iommu/iommu-sva.h | |
parent | c73729b64bb692186da080602cd13612783f52ac (diff) | |
download | linux-stable-343bb39e1f25a73a38a03d98ca383495c0ed6e92.tar.gz linux-stable-343bb39e1f25a73a38a03d98ca383495c0ed6e92.tar.bz2 linux-stable-343bb39e1f25a73a38a03d98ca383495c0ed6e92.zip |
i40e: Fix wrong mask used during DCB config
Mask used for clearing PRTDCB_RETSTCC register in function
i40e_dcb_hw_rx_ets_bw_config() is incorrect as there is used
define I40E_PRTDCB_RETSTCC_ETSTC_SHIFT instead of define
I40E_PRTDCB_RETSTCC_ETSTC_MASK.
The PRTDCB_RETSTCC register is used to configure whether ETS
or strict priority is used as TSA in Rx for particular TC.
In practice it means that once the register is set to use ETS
as TSA then it is not possible to switch back to strict priority
without CoreR reset.
Fix the value in the clearing mask.
Fixes: 90bc8e003be2 ("i40e: Add hardware configuration for software based DCB")
Signed-off-by: Ivan Vecera <ivecera@redhat.com>
Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@intel.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Tested-by: Pucha Himasekhar Reddy <himasekharx.reddy.pucha@intel.com> (A Contingent worker at Intel)
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'drivers/iommu/iommu-sva.h')
0 files changed, 0 insertions, 0 deletions