Add alternative command to disable lldp agent for i40e devices
LLDP information is not available for certain i40e network devices when
running system host-lldp-neighbor-show.
This is caused by the firmware lldp agent on the devices not getting
disabled by the i40e-lldp-configure.sh script which is invoked by lldpd.
The command used to disable the firmware lldp agent in the script works
for some firmware versions found on devices, but not others. This change
adds an ethtool command to disable the lldp agent which works for these
other firmware versions.
From testing, the ethtool method is used for firmware versions 5.05 and
8.10. The sysfs method is used for firmware version 7.10. In all cases,
the driver version is 2.14.13
Reviewed: https:/ /review. opendev. org/c/starlingx /integ/ +/786127 /opendev. org/starlingx/ integ/commit/ de263f633ea3595 07357d3d4c53e98 a71bff5afc
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit de263f633ea3595 07357d3d4c53e98 a71bff5afc
Author: Cole Walker <email address hidden>
Date: Tue Apr 13 16:47:24 2021 -0400
Add alternative command to disable lldp agent for i40e devices
LLDP information is not available for certain i40e network devices when neighbor- show.
running system host-lldp-
This is caused by the firmware lldp agent on the devices not getting configure. sh script which is invoked by lldpd.
disabled by the i40e-lldp-
The command used to disable the firmware lldp agent in the script works
for some firmware versions found on devices, but not others. This change
adds an ethtool command to disable the lldp agent which works for these
other firmware versions.
From testing, the ethtool method is used for firmware versions 5.05 and
8.10. The sysfs method is used for firmware version 7.10. In all cases,
the driver version is 2.14.13
Closes-Bug: 1923665
Signed-off-by: Cole Walker <email address hidden> 020bf55cc1b8ba3 119edccb297
Change-Id: Ifac34091599bd4