Hi Damjan,

I am still seeing UnkownEthernet32/0/0/0 interface with Mellanox Connect X-4 
NIC. I am using vpp v17.10 tag. I think the specified gerrit patch in following 
mail is part of v17.10 release.


Attached logs.


Thanks,
Nitin


________________________________
From: vpp-dev-boun...@lists.fd.io <vpp-dev-boun...@lists.fd.io> on behalf of 
Damjan Marion (damarion) <damar...@cisco.com>
Sent: Wednesday, July 5, 2017 5:38 AM
To: Bernier, Daniel
Cc: vpp-dev@lists.fd.io
Subject: Re: [vpp-dev] 50GE interface support on VPP

Hi Daniel,

Can you try with this patch?

https://gerrit.fd.io/r/#/c/7418/

Regards,

Damjan

On 4 Jul 2017, at 22:14, Bernier, Daniel 
<daniel.bern...@bell.ca<mailto:daniel.bern...@bell.ca>> wrote:

Hi,

I have ConnectX-4 50GE interfaces running on VPP and for some reason, they 
appear as “Unknown” even when running as 40GE.

localadmin@sm981:~$ lspci | grep Mellanox
81:00.0 Ethernet controller: Mellanox Technologies MT27700 Family [ConnectX-4]
81:00.1 Ethernet controller: Mellanox Technologies MT27700 Family [ConnectX-4]

localadmin@sm981:~$ ethtool ens1f0
Settings for ens1f0:
                Supported ports: [ FIBRE Backplane ]
                Supported link modes:   1000baseKX/Full
                                        10000baseKR/Full
                                        40000baseKR4/Full
                                        40000baseCR4/Full
                                        40000baseSR4/Full
                                        40000baseLR4/Full
                Supported pause frame use: Symmetric Receive-only
                Supports auto-negotiation: Yes
                Advertised link modes:  1000baseKX/Full
                                        10000baseKR/Full
                                        40000baseKR4/Full
                                        40000baseCR4/Full
                                        40000baseSR4/Full
                                        40000baseLR4/Full
                Advertised pause frame use: No
                Advertised auto-negotiation: Yes
                Speed: 40000Mb/s
                Duplex: Full
                Port: Direct Attach Copper
                PHYAD: 0
                Transceiver: internal
                Auto-negotiation: on
Cannot get wake-on-lan settings: Operation not permitted
                Current message level: 0x00000004 (4)
                                                       link
                Link detected: yes

localadmin@sm981:~$ sudo vppctl show interface
              Name               Idx       State          Counter          Count
UnknownEthernet81/0/0             1         up       rx packets                
723257
                                                     rx bytes                
68599505
                                                     tx packets                 
39495
                                                     tx bytes                 
2093235
                                                     drops                     
723257
                                                     ip4                        
48504
UnknownEthernet81/0/1             2         up       rx packets                
723194
                                                     rx bytes                
68592678
                                                     tx packets                 
39495
                                                     tx bytes                 
2093235
                                                     drops                     
723194
                                                     ip4                        
48504
local0                            0        down


Any ideas where this could be fixed?

Thanks,
----
Daniel Bernier | Bell Canada

_______________________________________________
vpp-dev mailing list
vpp-dev@lists.fd.io<mailto:vpp-dev@lists.fd.io>
https://lists.fd.io/mailman/listinfo/vpp-dev

DBGvpp# sh int
              Name               Idx       State          Counter          
Count     
UnknownEthernet32/0/0             1         up       
UnknownEthernet32/0/1             2         up       
local0                            0        down      
DBGvpp# sh int address
UnknownEthernet32/0/0 (up):
  2.2.2.3/24
UnknownEthernet32/0/1 (up):
  2.2.2.2/24
local0 (dn):
DBGvpp# sh hardware   
              Name                Idx   Link  Hardware
UnknownEthernet32/0/0              1     up   UnknownEthernet32/0/0
  Ethernet address 24:8a:07:a4:6b:78
  Mellanox ConnectX-4 Family
    carrier up full duplex speed 40000 mtu 9216 
    rx queues 2, rx desc 1024, tx queues 1, tx desc 1024
    cpu socket 0

    extended stats:
      tx port multicast bytes                           2632
      tx port broadcast bytes                           1710
      tx port multicast packets                           20
      tx port broadcast packets                            5
UnknownEthernet32/0/1              2     up   UnknownEthernet32/0/1
  Ethernet address 24:8a:07:a4:6b:79
  Mellanox ConnectX-4 Family
    carrier up full duplex speed 40000 mtu 9216 
    rx queues 2, rx desc 1024, tx queues 1, tx desc 1024
    cpu socket 0

    extended stats:
      tx port multicast bytes                           2762
      tx port broadcast bytes                           1710
      tx port multicast packets                           21
      tx port broadcast packets                            5
local0                             0    down  local0
  local
DBGvpp# show version
vpp v17.10-release built by nsaxena on sbr2s15 at Mon Oct 30 12:43:47 UTC 2017

_______________________________________________
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Reply via email to