From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qt0-f170.google.com (mail-qt0-f170.google.com [209.85.216.170]) by dpdk.org (Postfix) with ESMTP id 774BAF93B for ; Fri, 13 Jan 2017 12:31:18 +0100 (CET) Received: by mail-qt0-f170.google.com with SMTP id x49so44414818qtc.2 for ; Fri, 13 Jan 2017 03:31:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:reply-to:in-reply-to:references:from:date:message-id :subject:to:cc; bh=8IMDVps1WbEhj8uLM+RD5pI22hp3lqEnlueBspsMmcY=; b=IJS2xlVeEEfxHJmA7xzpVtJLpj+Cb5qWlWsLDQGI9M37kYnbwtj+z1WYkBEIefuFDO Ct2wp41ODQ/bGKUhfj70bTEco/Jajx7ezmvYakgm79EZwMXOJZ6FLSNwA6EJyepIqHqW WTEn/XdDLRbAG+Z5fY/8dVcUScrhOxV4vYAqiPMi552lsq/Si7W08zsviVHtFps4QoYB 1bz3QphSx4eIhpDA7/s9cblHlN2pf4akmsfr7YRpT/ZpRj5VGOpMa6l0TOlKb/k/2hfS 31rsgluJgqT4VPT8jy26eXBVShVupQ7jKgUSxT0xhd9QrbFYwx+zKLfWYUz56iR977Nc ZyZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:reply-to:in-reply-to:references :from:date:message-id:subject:to:cc; bh=8IMDVps1WbEhj8uLM+RD5pI22hp3lqEnlueBspsMmcY=; b=gn8MghBwPTfJtbCxCivPDBNE3qEtV+gi+URB51zxgQzALvSLtdkmOW6YDot+RibqWh KscE4FOisVEKprY9MPpwOjsrg5DXXI+C6JB6WCasN7MA0n4Bz8b8fDB/ZqxtWLTBJIEj 5qs9SMVDWFvJp+gJD1W+J5vPUtOF081r+MurXCyLSAl4ClRtPYpzWuPVE7plnIC1v0sz UzqMA4P2TBB0tCgqhaN7FeQxN+yOf4/xgdmiO2v76qdN9vyrMS8Gk7g8TJMGjmsgMfY+ ICAFIGg+qL2/vkd0QmBey7uVn+YrUC4jOHTTnvjR6tNQan7/CZMlWvyBkc2maghULld4 8iBA== X-Gm-Message-State: AIkVDXKDsLgCe8vL7ODJXpcNC/BN46t4n69kceyP99G/hMqlRpHf//2ZwNxxjxz7zyqHVHL+e20Rixn11io07w== X-Received: by 10.200.38.168 with SMTP id 37mr16836314qto.160.1484306686577; Fri, 13 Jan 2017 03:24:46 -0800 (PST) MIME-Version: 1.0 Received: by 10.140.108.7 with HTTP; Fri, 13 Jan 2017 03:24:46 -0800 (PST) In-Reply-To: <1484305967061.56148@EMEA.NEC.COM> References: <74d60b2109824fcdad5dbef5a04b27d3@EUX13SRV1.EU.NEC.COM> <1484305967061.56148@EMEA.NEC.COM> From: Marco Kwok Date: Fri, 13 Jan 2017 19:24:46 +0800 Message-ID: To: David Aldrich Cc: "users@dpdk.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-users] Newbie: Help requested to get l2fwd example working X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: maruko.kwok@gmail.com List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jan 2017 11:31:18 -0000 Not so sure if it is related to the NIC driver or version? I just saw you are using dpdk 2.2. Have you tried to use the uio_pci_generic driver or try the testpmd program on quick start page(http://dpdk.org/doc/quick-start)? I am not able to help you much, may be more experienced users could found some clue. 2017-01-13 19:12 GMT+08:00 David Aldrich : > Hi Mark > > > Thanks for your reply. Below is the entire output. > > > Best regards > > > David > > > ----------------------------------------------- > > > # build/l2fwd -c f -n2 -- -q 2 -p 3 > EAL: Detected lcore 0 as core 0 on socket 0 > EAL: Detected lcore 1 as core 1 on socket 0 > EAL: Detected lcore 2 as core 2 on socket 0 > EAL: Detected lcore 3 as core 3 on socket 0 > EAL: Detected lcore 4 as core 4 on socket 0 > EAL: Detected lcore 5 as core 5 on socket 0 > EAL: Detected lcore 6 as core 0 on socket 1 > EAL: Detected lcore 7 as core 1 on socket 1 > EAL: Detected lcore 8 as core 2 on socket 1 > EAL: Detected lcore 9 as core 3 on socket 1 > EAL: Detected lcore 10 as core 4 on socket 1 > EAL: Detected lcore 11 as core 5 on socket 1 > EAL: Support maximum 128 logical core(s) by configuration. > EAL: Detected 12 lcore(s) > EAL: VFIO modules not all loaded, skip VFIO support... > EAL: Setting up physically contiguous memory... > EAL: Ask a virtual area of 0x340000000 bytes > EAL: Virtual area found at 0x7fee00000000 (size =3D 0x340000000) > EAL: Ask a virtual area of 0x3c0000000 bytes > EAL: Virtual area found at 0x7fea00000000 (size =3D 0x3c0000000) > EAL: Requesting 13 pages of size 1024MB from socket 0 > EAL: Requesting 15 pages of size 1024MB from socket 1 > EAL: TSC frequency is ~2394810 KHz > EAL: Master lcore 0 is ready (tid=3Dcbe4b8c0;cpuset=3D[0]) > EAL: lcore 3 is ready (tid=3Dc9777700;cpuset=3D[3]) > EAL: lcore 2 is ready (tid=3Dc9f78700;cpuset=3D[2]) > EAL: lcore 1 is ready (tid=3Dca779700;cpuset=3D[1]) > EAL: PCI device 0000:04:00.0 on NUMA socket 0 > EAL: probe driver: 8086:10fb rte_ixgbe_pmd > EAL: PCI memory mapped at 0x7ff140000000 > EAL: PCI memory mapped at 0x7ff140100000 > PMD: eth_ixgbe_dev_init(): MAC: 2, PHY: 1 > PMD: eth_ixgbe_dev_init(): port 0 vendorID=3D0x8086 deviceID=3D0x10fb > EAL: PCI device 0000:04:00.1 on NUMA socket 0 > EAL: probe driver: 8086:10fb rte_ixgbe_pmd > EAL: PCI memory mapped at 0x7ff140104000 > EAL: PCI memory mapped at 0x7ff140204000 > PMD: eth_ixgbe_dev_init(): MAC: 2, PHY: 12, SFP+: 3 > PMD: eth_ixgbe_dev_init(): port 1 vendorID=3D0x8086 deviceID=3D0x10fb > EAL: PCI device 0000:09:00.0 on NUMA socket 0 > EAL: probe driver: 8086:1533 rte_igb_pmd > EAL: Not managed by a supported kernel driver, skipped > EAL: PCI device 0000:0a:00.0 on NUMA socket 0 > EAL: probe driver: 8086:1533 rte_igb_pmd > EAL: Not managed by a supported kernel driver, skipped > Lcore 0: RX port 0 > Lcore 0: RX port 1 > Initializing port 0... PMD: ixgbe_dev_rx_queue_setup(): > sw_ring=3D0x7ff13e8fed40 sw_sc_ring=3D0x7ff13e8fe800 hw_ring=3D0x7ff13e8f= f280 > dma_addr=3D0x43e8ff280 > PMD: ixgbe_dev_tx_queue_setup(): sw_ring=3D0x7ff13e8ec640 > hw_ring=3D0x7ff13e8ee680 dma_addr=3D0x43e8ee680 > PMD: ixgbe_set_tx_function(): Using simple tx code path > PMD: ixgbe_set_tx_function(): Vector tx enabled. > PMD: ixgbe_set_rx_function(): Vector rx enabled, please make sure RX burs= t > size no less than 4 (port=3D0). > done: > Port 0, MAC address: 38:EA:A7:33:8F:68 > > Initializing port 1... PMD: ixgbe_dev_rx_queue_setup(): > sw_ring=3D0x7ff13e8dbc40 sw_sc_ring=3D0x7ff13e8db700 hw_ring=3D0x7ff13e8d= c180 > dma_addr=3D0x43e8dc180 > PMD: ixgbe_dev_tx_queue_setup(): sw_ring=3D0x7ff13e8c9540 > hw_ring=3D0x7ff13e8cb580 dma_addr=3D0x43e8cb580 > PMD: ixgbe_set_tx_function(): Using simple tx code path > PMD: ixgbe_set_tx_function(): Vector tx enabled. > PMD: ixgbe_set_rx_function(): Vector rx enabled, please make sure RX burs= t > size no less than 4 (port=3D1). > done: > Port 1, MAC address: 38:EA:A7:33:8F:69 > > > Checking link status.....................................................= . > ....................................done > Port 0 Link Down > Port 1 Link Up - speed 10000 Mbps - full-duplex > L2FWD: lcore 1 has nothing to do > L2FWD: lcore 2 has nothing to do > L2FWD: entering main loop on lcore 0 > L2FWD: -- lcoreid=3D0 portid=3D0 > L2FWD: -- lcoreid=3D0 portid=3D1=E2=80=8B > > >