]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: Fix firmware LLDP agent related warning
authorArkadiusz Kubalewski <arkadiusz.kubalewski@intel.com>
Fri, 21 May 2021 16:41:26 +0000 (18:41 +0200)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Fri, 23 Jul 2021 14:44:48 +0000 (07:44 -0700)
commitaedaa7835a0cc77f02fcc5f388cd1947e2af5389
treea556dc50f41c52f391e80aa5ade3f6eb50720703
parent046e4d368d714a8c6e304ecfc9e0a8f895696ba5
i40e: Fix firmware LLDP agent related warning

Make warning meaningful for the user.

Previously the trace:
"Starting FW LLDP agent failed: error: I40E_ERR_ADMIN_QUEUE_ERROR, I40E_AQ_RC_EAGAIN"
was produced when user tried to start Firmware LLDP agent,
just after it was stopped with sequence:
ethtool --set-priv-flags <dev> disable-fw-lldp on
ethtool --set-priv-flags <dev> disable-fw-lldp off
(without any delay between the commands)
At that point the firmware is still processing stop command, the behavior
is expected.

Fixes: 8ddd86987bf9 ("i40e: Missing response checks in driver when starting/stopping FW LLDP")
Signed-off-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com>
Signed-off-by: Arkadiusz Kubalewski <arkadiusz.kubalewski@intel.com>
Tested-by: Imam Hassan Reza Biswas <imam.hassan.reza.biswas@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/i40e/i40e_ethtool.c