Issue with i40e driver?
bhaskar jain
bhaskar.jain2002 at gmail.com
Wed Jul 28 15:02:04 PDT 2021
On calling nl_cache_mngr_add_cache, i see the following logs:
DBG<2>/build/libnl3-3.3.0.arcos1/./lib/msg.c:283 __nlmsg_alloc: msg
0x5555562bd240: Allocated new message, maxlen=4096
DBG<2>/build/libnl3-3.3.0.arcos1/./lib/msg.c:357 nlmsg_alloc_simple:
msg 0x5555562bd240: Allocated new simple message
DBG<2>/build/libnl3-3.3.0.arcos1/./lib/msg.c:429 nlmsg_reserve: msg
0x5555562bd240: Reserved 16 (16) bytes, pad=4, nlmsg_len=32
DBG<2>/build/libnl3-3.3.0.arcos1/./lib/msg.c:455 nlmsg_append: msg
0x5555562bd240: Appended 16 bytes with padding 4
DBG<2>/build/libnl3-3.3.0.arcos1/./lib/attr.c:481 nla_reserve: msg
0x5555562bd240: attr <0x5555562c0250> 29: Reserved 8 (4) bytes at
offset +16 nlmsg_len=40
DBG<2>/build/libnl3-3.3.0.arcos1/./lib/attr.c:516 nla_put: msg
0x5555562bd240: attr <0x5555562c0250> 29: Wrote 4 bytes at offset +16
-- Debug: Sent Message:
-------------------------- BEGIN NETLINK MESSAGE ---------------------------
[NETLINK HEADER] 16 octets
.nlmsg_len = 40
.type = 18 <route/link::get>
.flags = 773 <REQUEST,ACK,ROOT,MATCH>
.seq = 1627507538
.port = 734021305
[PAYLOAD] 16 octets
07 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
[ATTR 29] 4 octets
03 00 00 00 ....
--------------------------- END NETLINK MESSAGE ---------------------------
DBG<2>/build/libnl3-3.3.0.arcos1/./lib/msg.c:576 nlmsg_free: msg
0x5555562bd240: Freed
DBG<2>/build/libnl3-3.3.0.arcos1/./lib/cache.c:1061 nl_cache_refill:
Updating cache 0x5555562be1e0 <route/link> for family 7, request sent,
waiting for reply
DBG<2>/build/libnl3-3.3.0.arcos1/./lib/cache.c:695 __cache_pickup:
Picking up answer for cache 0x5555562be1e0 <route/link>
DBG<2>/build/libnl3-3.3.0.arcos1/./lib/msg.c:283 __nlmsg_alloc: msg
0x5555562bd240: Allocated new message, maxlen=100
-- Debug: Received Message:
-------------------------- BEGIN NETLINK MESSAGE ---------------------------
[NETLINK HEADER] 16 octets
.nlmsg_len = 100
.type = 16 <route/link::new>
.flags = 2 <MULTI>
.seq = 1627507538
.port = 734021305
[PAYLOAD] 16 octets
07 00 01 00 0f 00 00 00 02 10 00 00 00 00 00 00 ................
[ATTR 03] 11 octets
65 6e 70 31 38 32 73 30 66 30 00 enp182s0f0.
[PADDING] 1 octets
00 .
[ATTR 04] 4 octets
dc 05 00 00 ....
[ATTR 16] 1 octets
02 .
[PADDING] 3 octets
00 00 00 ...
[ATTR 01] 6 octets
e8 c5 7a 8f 69 2f ..z.i/
[PADDING] 2 octets
00 00 ..
[ATTR 26] 16 octets
06 00 00 00 02 00 00 00 06 00 01 00 01 00 00 00 ................
[ATTR 12 NESTED] 0 octets
--------------------------- END NETLINK MESSAGE ---------------------------
DBG<2>/build/libnl3-3.3.0.arcos1/./lib/msg.c:576 nlmsg_free: msg
0x5555562bd240: Freed
DBG<2>/build/libnl3-3.3.0.arcos1/./lib/cache.c:706 __cache_pickup:
While picking up for 0x5555562be1e0 <route/link>, recvmsgs() returned
-22: Netlink message type is not supported
DBG<2>/build/libnl3-3.3.0.arcos1/./lib/cache.c:370 nl_cache_clear:
Clearing cache 0x5555562be1e0 <route/link>...
Am getting the error - Netlink message type is not supported.
I am new to libnl, can you please let me know what may be the issue
here and how to resolve this.
Thanks for your help.
Following are the boot up logs:
Jul 28 20:48:47 s9300-32d-8-33 kernel: [ 20.713296] i40e: Intel(R)
Ethernet Connection XL710 Network Driver - version 2.3.2-k
Jul 28 20:48:47 s9300-32d-8-33 kernel: [ 20.713297] i40e: Copyright
(c) 2013 - 2014 Intel Corporation.
Jul 28 20:48:47 s9300-32d-8-33 kernel: [ 20.713472] i40e
0000:b6:00.0: enabling device (0140 -> 0142)
Jul 28 20:48:47 s9300-32d-8-33 kernel: [ 20.731313] i40e
0000:b6:00.0: fw 5.1.63157 api 1.11 nvm 5.10 0x800025cd 0.0.0
Jul 28 20:48:47 s9300-32d-8-33 kernel: [ 20.731315] i40e
0000:b6:00.0: The driver for the device detected a newer version of
the NVM image than expected. Please install the most recent version of
the network driver.
Jul 28 20:48:47 s9300-32d-8-33 kernel: [ 20.734925] i40e
0000:b6:00.0: MAC address: xxx
Jul 28 20:48:47 s9300-32d-8-33 kernel: [ 20.740651] i40e
0000:b6:00.0: Added LAN device PF0 bus=0xb6 dev=0x00 func=0x00
Jul 28 20:48:47 s9300-32d-8-33 kernel: [ 20.740970] i40e
0000:b6:00.0: Features: PF-id[0] VSIs: 34 QP: 16 RSS FD_ATR FD_SB
NTUPLE VxLAN Geneve PTP VEPA
Jul 28 20:48:47 s9300-32d-8-33 kernel: [ 20.741308] i40e
0000:b6:00.1: enabling device (0140 -> 0142)
Jul 28 20:48:47 s9300-32d-8-33 kernel: [ 20.755955] i40e
0000:b6:00.1: fw 5.1.63157 api 1.11 nvm 5.10 0x800025cd 0.0.0
Jul 28 20:48:47 s9300-32d-8-33 kernel: [ 20.755957] i40e
0000:b6:00.1: The driver for the device detected a newer version of
the NVM image than expected. Please install the most recent version of
the network driver.
Jul 28 20:48:47 s9300-32d-8-33 kernel: [ 20.759408] i40e
0000:b6:00.1: MAC address: xxx
Jul 28 20:48:47 s9300-32d-8-33 kernel: [ 20.765446] i40e
0000:b6:00.1: Added LAN device PF1 bus=0xb6 dev=0x00 func=0x01
Jul 28 20:48:47 s9300-32d-8-33 kernel: [ 20.765765] i40e
0000:b6:00.1: Features: PF-id[1] VSIs: 34 QP: 16 RSS FD_ATR FD_SB
NTUPLE VxLAN Geneve PTP VEPA
Jul 28 20:48:47 s9300-32d-8-33 kernel: [ 20.766103] i40e
0000:b6:00.2: enabling device (0140 -> 0142)
Jul 28 20:48:47 s9300-32d-8-33 kernel: [ 20.781053] i40e
0000:b6:00.2: fw 5.1.63157 api 1.11 nvm 5.10 0x800025cd 0.0.0
Jul 28 20:48:47 s9300-32d-8-33 kernel: [ 20.781054] i40e
0000:b6:00.2: The driver for the device detected a newer version of
the NVM image than expected. Please install the most recent version of
the network driver.
Jul 28 20:48:47 s9300-32d-8-33 kernel: [ 20.784302] i40e
0000:b6:00.2: MAC address: xxx
Jul 28 20:48:47 s9300-32d-8-33 kernel: [ 20.791014] i40e
0000:b6:00.2: Added LAN device PF2 bus=0xb6 dev=0x00 func=0x02
Jul 28 20:48:47 s9300-32d-8-33 kernel: [ 20.791335] i40e
0000:b6:00.2: Features: PF-id[2] VSIs: 34 QP: 16 RSS FD_ATR FD_SB
NTUPLE VxLAN Geneve PTP VEPA
Jul 28 20:48:47 s9300-32d-8-33 kernel: [ 20.791677] i40e
0000:b6:00.3: enabling device (0140 -> 0142)
Jul 28 20:48:47 s9300-32d-8-33 kernel: [ 20.804802] i40e
0000:b6:00.3: fw 5.1.63157 api 1.11 nvm 5.10 0x800025cd 0.0.0
Jul 28 20:48:47 s9300-32d-8-33 kernel: [ 20.804804] i40e
0000:b6:00.3: The driver for the device detected a newer version of
the NVM image than expected. Please install the most recent version of
the network driver.
Jul 28 20:48:47 s9300-32d-8-33 kernel: [ 20.808131] i40e
0000:b6:00.3: MAC address: xxx
Jul 28 20:48:47 s9300-32d-8-33 kernel: [ 20.815001] i40e
0000:b6:00.3: Added LAN device PF3 bus=0xb6 dev=0x00 func=0x03
Jul 28 20:48:47 s9300-32d-8-33 kernel: [ 20.815322] i40e
0000:b6:00.3: Features: PF-id[3] VSIs: 34 QP: 16 RSS FD_ATR FD_SB
NTUPLE VxLAN Geneve PTP VEPA
Jul 28 20:48:47 s9300-32d-8-33 kernel: [ 20.820047] i40e
0000:b6:00.2 enp182s0f2: renamed from eth2
Jul 28 20:48:47 s9300-32d-8-33 kernel: [ 20.837815] i40e
0000:b6:00.3 enp182s0f3: renamed from eth3
Jul 28 20:48:47 s9300-32d-8-33 kernel: [ 20.853407] i40e
0000:b6:00.0 enp182s0f0: renamed from eth0
Jul 28 20:48:47 s9300-32d-8-33 kernel: [ 20.880282] i40e
0000:b6:00.1 enp182s0f1: renamed from eth1
--
With best regards,
Bhaskar.
More information about the libnl
mailing list