Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/bnxt: avoid unnecessary endianness conversion
[ upstream commit 8599820 ] The "active_fec_signal_mode" in HWRM_PORT_PHY_QCFG response is uint8_t. So no need of endianness conversion while parsing response. Also, signal_mode is the first 4bits of "active_fec_signal_mode". Fixes: c23f9de ("net/bnxt: support 200G PAM4 link") Signed-off-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com> Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com> Reviewed-by: Somnath Kotur <somnath.kotur@broadcom.com>
- Loading branch information