mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 09:41:03 -04:00
ixgbe: improve log about autoneg being disabled
On ESXi OS, when user disables auto negotiation, the following log appears: "(unsupported) Flow control autoneg is disabled". It is true that auto negotiation is disabled but it is not necessarily true that it is not supported. Signed-off-by: Jakub Chylkowski <jakubx.chylkowski@intel.com> Signed-off-by: Guinan Sun <guinanx.sun@intel.com> Reviewed-by: Wei Zhao <wei.zhao1@intel.com> Approved by: imp Obtained from: DPDK (ab6ac48d483ef7f906b90f45182f2ddf3254d876) MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D31621
This commit is contained in:
parent
c4f73d5d6a
commit
f511cd2258
1 changed files with 3 additions and 2 deletions
|
|
@ -3118,8 +3118,9 @@ void ixgbe_fc_autoneg(struct ixgbe_hw *hw)
|
|||
* - link is not up.
|
||||
*/
|
||||
if (hw->fc.disable_fc_autoneg) {
|
||||
ERROR_REPORT1(IXGBE_ERROR_UNSUPPORTED,
|
||||
"Flow control autoneg is disabled");
|
||||
/* TODO: This should be just an informative log */
|
||||
ERROR_REPORT1(IXGBE_ERROR_CAUTION,
|
||||
"Flow control autoneg is disabled");
|
||||
goto out;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue