From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi0-f41.google.com (mail-oi0-f41.google.com [209.85.218.41]) by dpdk.org (Postfix) with ESMTP id DC09136E for ; Mon, 6 Mar 2017 03:03:31 +0100 (CET) Received: by mail-oi0-f41.google.com with SMTP id 126so26751998oig.3 for ; Sun, 05 Mar 2017 18:03:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=andrew-cmu-edu.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=7pf1LiVdfBs4KINE/cnULOeGkxLryoiaih62SjVMsew=; b=BtcPaDn+EMgBloVc4V45VuV3yvHN7Nb+6WlhNoEsRMkVogSGk/eLruKSTEz+SaGsuO uWNPqlnzHzwLJI/+vJHksl4MT8iVCFZy5GnufkhNUThncWoV9RwlWMaS9m3UXO/9BC6G eNvquNoqmJd+ssXVLl0Gfrnvx3pNlHqqSJua+IEWWwQzbygqqnyK3ZkcW3z9e1fDD7yU S1i6O0irwJVKV/GIlQ0qcyIiFQk/wOUKOx26rlCBab+TBz/B+vOzrEo0YBk3Ot/DbabV WhZsaOhGo0SRereUAIc5vTqaCzDFysf6Enq1KR21Q1+2qmlzkEeH4Prj9nl4ENiwjZPB 7ZZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=7pf1LiVdfBs4KINE/cnULOeGkxLryoiaih62SjVMsew=; b=GQiq1HPAnBWDAS4fIjV34bw5LK3zimxBxACzKRqcSNxdL48nJX2zlkWJLRwnviGPw/ klcr7p8aiLswrXslr0Utveu3M59nC9LCfTRR4mZXerfMZQiQ0ene3njHXpyxaLXjwLWe Tp4rnEr+m2HI9Z46XCrr1Rij4a1CfAy6xafNB4LF02Dd8FtP+3D4cFY+FpTX5Esi+GqQ gd/eI8+0rsYCHe+CroBsXoujagHDBpWvb26MS9w93FxsmJkKfjEZggngaGfhgwCX+tuH v/l7hj548t89tYXwCk3WNspQeF3cl0qDIol0f8Qxffo0N4cz98YCLRslmqUEyxYDsZU1 UQfw== X-Gm-Message-State: AMke39mVekYkQz+PDaQFgUiCxHUqiQmBseG/KEtVrRlgjPmNvxd7jLusltcuq0Dk/a7xJHb7dYhBw97XbHXFth7W X-Received: by 10.202.183.138 with SMTP id h132mr5954292oif.95.1488765810888; Sun, 05 Mar 2017 18:03:30 -0800 (PST) MIME-Version: 1.0 Received: by 10.157.37.139 with HTTP; Sun, 5 Mar 2017 18:03:30 -0800 (PST) From: Philip Lee Date: Sun, 5 Mar 2017 21:03:30 -0500 Message-ID: To: users@dpdk.org Content-Type: text/plain; charset=UTF-8 Subject: [dpdk-users] Pktgen Cannot configure device panic X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Mar 2017 02:03:32 -0000 Hello all, I had a "working" install of pktgen that would transfer data but not provide statistics. The setup are two Netronome NICs connected together. It was suggested there was a problem with the Netronome PMD, so I reinstalled both the Netronome BSP and DPDK. Now I'm getting the following error with trying to start up pktgen with: ./pktgen -c 0x1f -n 1 -- -m [1:2].0 >>> Packet Burst 32, RX Desc 512, TX Desc 1024, mbufs/port 8192, mbuf cache 1024 === port to lcore mapping table (# lcores 5) === lcore: 0 1 2 3 4 port 0: D: T 1: 0 0: 1 0: 0 0: 0 = 1: 1 Total : 0: 0 1: 0 0: 1 0: 0 0: 0 Display and Timer on lcore 0, rx:tx counts per port/lcore Configuring 4 ports, MBUF Size 1920, MBUF Cache Size 1024 Lcore: 1, RX-Only RX( 1): ( 0: 0) 2, TX-Only TX( 1): ( 0: 0) Port : 0, nb_lcores 2, private 0x8cca90, lcores: 1 2 ** Default Info (5:8.0, if_index:0) ** max_vfs : 0, min_rx_bufsize : 68, max_rx_pktlen : 0 max_rx_queues : 0, max_tx_queues : 0 max_mac_addrs : 1, max_hash_mac_addrs: 0, max_vmdq_pools: 0 rx_offload_capa: 0, tx_offload_capa : 0, reta_size : 128, flow_type_rss_offloads:0000000000000000 vmdq_queue_base: 0, vmdq_queue_num : 0, vmdq_pool_base: 0 ** RX Conf ** pthresh : 8, hthresh : 8, wthresh : 0 Free Thresh : 32, Drop Enable : 0, Deferred Start : 0 ** TX Conf ** pthresh : 32, hthresh : 0, wthresh : 0 Free Thresh : 32, RS Thresh : 32, Deferred Start : 0, TXQ Flags:00000f01 !PANIC!: Cannot configure device: port=0, Num queues 1,1 (2)Invalid argument PANIC in pktgen_config_ports(): Cannot configure device: port=0, Num queues 1,1 (2)Invalid argument6: [./pktgen() [0x43394e]] 5: [/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7f89dd0f7f45]] 4: [./pktgen(main+0x4d4) [0x432f54]] 3: [./pktgen(pktgen_config_ports+0x3108) [0x45f418]] 2: [./pktgen(__rte_panic+0xbe) [0x42f288]] 1: [./pktgen(rte_dump_stack+0x1a) [0x49af3a]] Aborted ------------------------------------------------------------------------------------------------------------------------ I tried unbinding the nics and rebinding. I read in an older mailling post that setup.sh needs to be run every reboot. I executed it, and it looks like a list of things to install pktgen that I had done manually again after the most recent reboot. The output of the status check script is below: ./dpdk-devbind.py --status Network devices using DPDK-compatible driver ============================================ 0000:05:08.0 'Device 6003' drv=igb_uio unused= 0000:05:08.1 'Device 6003' drv=igb_uio unused= 0000:05:08.2 'Device 6003' drv=igb_uio unused= 0000:05:08.3 'Device 6003' drv=igb_uio unused= Network devices using kernel driver =================================== 0000:01:00.0 'NetXtreme BCM5720 Gigabit Ethernet PCIe' if=eth0 drv=tg3 unused=igb_uio *Active* 0000:01:00.1 'NetXtreme BCM5720 Gigabit Ethernet PCIe' if=eth1 drv=tg3 unused=igb_uio 0000:02:00.0 'NetXtreme BCM5720 Gigabit Ethernet PCIe' if=eth2 drv=tg3 unused=igb_uio 0000:02:00.1 'NetXtreme BCM5720 Gigabit Ethernet PCIe' if=eth3 drv=tg3 unused=igb_uio 0000:05:00.0 'Device 4000' if= drv=nfp unused=igb_uio 0000:43:00.0 'Ethernet Controller 10-Gigabit X540-AT2' if=eth4 drv=ixgbe unused=igb_uio 0000:43:00.1 'Ethernet Controller 10-Gigabit X540-AT2' if=eth7 drv=ixgbe unused=igb_uio 0000:44:00.0 'MT27500 Family [ConnectX-3]' if=eth5,eth6 drv=mlx4_core unused=igb_uio Does anyone have any suggestions? Thanks, Philip Lee