In switch multiple entry showing for lldp output for single interface which is having mellanox /mlx5 interface Also mac address showing instead of host name of neighbor

Switch output

]>sh lldp neighbors Ethernet 5

Last table change time : 0:00:09 ago

Number of table inserts : 80

Number of table deletes : 40

Number of table drops : 0

Number of table age-outs : 1

Port Neighbor Device ID Neighbor Port ID TTL

Et5 0c42.a16c.734e 0c42.a16c.734c 48

Et5 bruat em1 120

Server output

UAT [root@bruat~]$ dmidecode | grep -i product

Product Name: PowerEdge R640

~]$ modinfo mlx5_core

filename: /lib/modules/3.10.0-1127.19.1.el7.x86_64/kernel/drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.ko.xz

version: 5.0-0

license: Dual BSD/GPL

description: Mellanox 5th generation network adapters (ConnectX series) core driver

author: Eli Cohen eli@mellanox.com

retpoline: Y

rhelversion: 7.8

srcversion: 347B715A7BFEF96508E57F2

alias: pci:v000015B3d0000A2D3svsdbcsci*

alias: pci:v000015B3d0000A2D2svsdbcsci*

alias: pci:v000015B3d0000101Esvsdbcsci*

alias: pci:v000015B3d0000101Dsvsdbcsci*

alias: pci:v000015B3d0000101Csvsdbcsci*

alias: pci:v000015B3d0000101Bsvsdbcsci*

alias: pci:v000015B3d0000101Asvsdbcsci*

alias: pci:v000015B3d00001019svsdbcsci*

alias: pci:v000015B3d00001018svsdbcsci*

alias: pci:v000015B3d00001017svsdbcsci*

alias: pci:v000015B3d00001016svsdbcsci*

alias: pci:v000015B3d00001015svsdbcsci*

alias: pci:v000015B3d00001014svsdbcsci*

alias: pci:v000015B3d00001013svsdbcsci*

alias: pci:v000015B3d00001012svsdbcsci*

alias: pci:v000015B3d00001011svsdbcsci*

depends: devlink,ptp,mlxfw

intree: Y

vermagic: 3.10.0-1127.19.1.el7.x86_64 SMP mod_unload modversions

signer: CentOS Linux kernel signing key

sig_key: B1:6A:91:CA:C9:D6:51:46:4A:CB:7A:D9:B8:DE:D5:57:CF:1A:CA:27

sig_hashalgo: sha256

parm: debug_mask:debug mask: 1 = dump cmd data, 2 = dump cmd exec time, 3 = both. Default=0 (uint)

parm: prof_sel:profile selector. Valid range 0 - 2 (uint)

when we disable the lldp service in the server in switch still the info is showing with mac address instead of host name.

]>sh lldp neighbors Ethernet 5

Last table change time : 0:00:28 ago

Number of table inserts : 80

Number of table deletes : 41

Number of table drops : 0

Number of table age-outs : 1

Port Neighbor Device ID Neighbor Port ID TTL

Et5 0c42.a16c.734e 0c42.a16c.734c 48

Is this a bug in the driver ?

Hello Sandeep,

Thank you for posting your inquiry to the Mellanox community.

Unfortunately, we do not provide support for inbox (OS vendor provided) drivers.

You will need to engage the CentOS community for further assistance.

Thanks, and best regards;

Mellanox Technical Support