Navigation

    Netgate Discussion Forum
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    TNSR 22.10-2 / BNX2X

    TNSR
    2
    3
    60
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      mmercier last edited by

      Hello,

      I am experimenting with TNSR 22.10 on a Dell R330 server. The server has a two port Broadcom BCM57810

      user@tnsrlab:~$ lspci | grep 57810
      01:00.0 Ethernet controller: Broadcom Inc. and subsidiaries NetXtreme II BCM57810 10 Gigabit Ethernet (rev 10)
      01:00.1 Ethernet controller: Broadcom Inc. and subsidiaries NetXtreme II BCM57810 10 Gigabit Ethernet (rev 10)
      user@tnsrlab01:~$ sudo find /sys | grep drivers.*01:00
      /sys/bus/pci/drivers/bnx2x/0000:01:00.0
      /sys/bus/pci/drivers/bnx2x/0000:01:00.1
      

      The BNX2X driver is listed as a supported DPDK device:

      http://doc.dpdk.org/guides/nics/bnx2x.html

      In the clixon_cli, I run the following:

      tnsrlab01 tnsr(config)# dataplane dpdk dev 0000:01:00.0 network
      Changes to dataplane startup settings require a dataplane restart to take effect.
      tnsrlab01 tnsr(config)# dataplane dpdk dev 0000:01:00.1 network
      Changes to dataplane startup settings require a dataplane restart to take effect.
      tnsrlab01 tnsr(config)# service dataplane restart
      tnsrlab01 tnsr(config)# exit
      tnsrlab01 tnsr# exit
      user@tnsrlab01:~$sudo clixon_cli
      
      Netgate TNSR Version: 22.10-2
      
      This system is not configured for package updates.
      For information see 'show documentation'
      
      tnsrlab01 tnsr# show in
       TenGigabitEthernet2/0/0  TenGigabitEthernet2/0/1  access-list              acl                      bond                     bonding                  bridge
       counters                 ip                       ipv4                     ipv6                     lacp                     link                     local0
       mac-address              memif                    rx-queues                subif                    tap                      vlan                     vtr
      

      I do not see any new TenGigabitEthernetX/X/X interfaces in the clixon_cli after restarting the dataplane.

      NOTE: The TenGigabitEthernet2/X/X are from a two port Intel X710

      user@tnsrlab01:~$ lspci | grep X710
      02:00.0 Ethernet controller: Intel Corporation Ethernet Controller X710 for 10GbE SFP+ (rev 02)
      02:00.1 Ethernet controller: Intel Corporation Ethernet Controller X710 for 10GbE SFP+ (rev 02)
      

      Should this card work with TNSR?

      Thanks,
      Mike

      R 1 Reply Last reply Reply Quote 0
      • R
        RussellC @mmercier last edited by RussellC

        @mmercier I don't see bnx2x listed on https://docs.netgate.com/tnsr/en/latest/platforms/#recommended-components.

        If you check your logs after the dataplane restart (/var/log/syslog) then you probably have an error similar to:

        Feb 10 00:00:01 sample-host vpp[1269]: dpdk: Unsupported PCI device 0x1924:0x0923 found at PCI address 0000:81:00.1
        

        The card above is a Solarflare which is listed as supported by the DPDK project but I've not as yet found the right incantation to get it to work with TNSR.

        M 1 Reply Last reply Reply Quote 0
        • M
          mmercier @RussellC last edited by

          @russellc

          You are indeed correct. Looking though syslog I see:

          Feb 10 13:33:57 tnsrlab01 ModemManager[821]: <info>  [base-manager] couldn't check support for device '/sys/devices/pci0000:00/0000:00:01.0/0000:01:00.1': not supported by any plugin
          Feb 10 13:33:57 tnsrlab01 ModemManager[821]: <info>  [base-manager] couldn't check support for device '/sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0': not supported by any plugin
          Feb 10 13:35:05 tnsrlab01 ModemManager[821]: <info>  [base-manager] couldn't check support for device '/sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0': not supported by any plugin
          Feb 10 13:35:05 tnsrlab01 ModemManager[821]: <info>  [base-manager] couldn't check support for device '/sys/devices/pci0000:00/0000:00:01.0/0000:01:00.1': not supported by any plugin
          Feb 10 13:49:49 tnsrlab01 vpp[1534]: vpp[1534]: dpdk: Unsupported PCI device 0x14e4:0x168e found at PCI address 0000:01:00.0
          Feb 10 13:49:49 tnsrlab01 vpp[1534]: dpdk: Unsupported PCI device 0x14e4:0x168e found at PCI address 0000:01:00.0
          Feb 10 13:49:49 tnsrlab01 vpp[1534]: vpp[1534]: dpdk: Unsupported PCI device 0x14e4:0x168e found at PCI address 0000:01:00.1
          Feb 10 13:49:49 tnsrlab01 vpp[1534]: dpdk: Unsupported PCI device 0x14e4:0x168e found at PCI address 0000:01:00.1
          Feb 10 14:00:04 tnsrlab01 vpp[1573]: vpp[1573]: dpdk: Unsupported PCI device 0x14e4:0x168e found at PCI address 0000:01:00.0
          Feb 10 14:00:04 tnsrlab01 vpp[1573]: dpdk: Unsupported PCI device 0x14e4:0x168e found at PCI address 0000:01:00.0
          Feb 10 14:00:04 tnsrlab01 vpp[1573]: vpp[1573]: dpdk: Unsupported PCI device 0x14e4:0x168e found at PCI address 0000:01:00.1
          Feb 10 14:00:04 tnsrlab01 vpp[1573]: dpdk: Unsupported PCI device 0x14e4:0x168e found at PCI address 0000:01:00.1
          Feb 10 14:01:16 tnsrlab01 vpp[1593]: vpp[1593]: dpdk: Unsupported PCI device 0x14e4:0x168e found at PCI address 0000:01:00.1
          Feb 10 14:01:16 tnsrlab01 vpp[1593]: dpdk: Unsupported PCI device 0x14e4:0x168e found at PCI address 0000:01:00.1
          

          Thank you for the information.

          Mike

          1 Reply Last reply Reply Quote 0
          • First post
            Last post