From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pd0-f175.google.com (mail-pd0-f175.google.com [209.85.192.175]) by dpdk.org (Postfix) with ESMTP id 5A0799AB7 for ; Wed, 25 Feb 2015 01:16:19 +0100 (CET) Received: by pdbfp1 with SMTP id fp1so547040pdb.9 for ; Tue, 24 Feb 2015 16:16:18 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-type:content-transfer-encoding; bh=QGbYsUW7t5QPAQPpRBFCg0QB9HZSF6h4LBDSXkwb87U=; b=VO0NX8eSmVpEYb9nw3Gg/1Q363/Gwt9h2vix02cAcoDpA6hWGIRFAdqOCufDRR9wvX MER5m5s1gZ3EIi73uJRaMFTkJYc4baBpXjy/bkIJ3bxKylLmAd+gowdZWag0Lw/csu71 qZLG5gAKkuT0Q2E81ghz7u9J7qcQkUbDKB1pvtZPjTLow4Dl/H9lBjdJTeKYOm2RIjR4 q3PvJ8SQKYiaOQgsZroJc75G1YkztchDDtZO9RFwOfNfpxaFOyJiovl8mqSf3Si8YDBQ vDUk4thtNc4qm2BmW99Z4kCiaoMS8rTmAWvwAOd2A5bPcwZT1Yd3t47hzxCywbCVdR6r pACA== X-Gm-Message-State: ALoCoQkyAOnT2YMKEK7Q1sf6YDXiKxmt5HVlogruG2vBkB0+sOWrpqhzW/9HDOneuDWaho7opyVN X-Received: by 10.70.135.106 with SMTP id pr10mr746070pdb.144.1424823378497; Tue, 24 Feb 2015 16:16:18 -0800 (PST) Received: from urahara (static-50-53-82-155.bvtn.or.frontiernet.net. [50.53.82.155]) by mx.google.com with ESMTPSA id ff6sm8330293pdb.80.2015.02.24.16.16.17 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Feb 2015 16:16:18 -0800 (PST) Date: Tue, 24 Feb 2015 16:16:09 -0800 From: Stephen Hemminger To: Balazs Nemeth , Bruce Richardson , Cunming Liang , Neil Horman Message-ID: <20150224161609.15f590df@urahara> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org Subject: [dpdk-dev] ixgbe vector mode not working. X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Feb 2015 00:16:19 -0000 The ixgbe driver (from 1.8 or 2.0) works fine in normal (non-vectored) mode. But when vector mode is enabled, it gets a few packets through then hangs. We use 2 Rx queues and 1 Tx queue per interface. Devices: 01:00.0 Ethernet controller: Intel Corporation 82599EB 10-Gigabit SFI/SFP+ Network Connection (rev 01) 02:00.0 Ethernet controller: Intel Corporation Ethernet Controller 10-Gigabit X540-AT2 (rev 01) Log: EAL: probe driver: 8086:10fb rte_ixgbe_pmd PMD: eth_ixgbe_dev_init(): MAC: 2, PHY: 17, SFP+: 5 PMD: eth_ixgbe_dev_init(): port 0 vendorID=0x8086 deviceID=0x10fb EAL: probe driver: 8086:1528 rte_ixgbe_pmd PMD: eth_ixgbe_dev_init(): MAC: 4, PHY: 3 PMD: eth_ixgbe_dev_init(): port 1 vendorID=0x8086 deviceID=0x1528 [ 0.000043] DATAPLANE: Port 0 rte_ixgbe_pmd on socket 0 [ 0.000053] DATAPLANE: Port 1 rte_ixgbe_pmd on socket 0 [ 0.031638] PMD: ixgbe_dev_rx_queue_setup(): sw_ring=0x7fc5ac6a1b40 hw_ring=0x7fc5ab548300 dma_addr=0x67348300 [ 0.031647] PMD: ixgbe_dev_rx_queue_setup(): Rx Burst Bulk Alloc Preconditions are satisfied. Rx Burst Bulk Alloc function will be used on port=0, queue=0. [ 0.031653] PMD: ixgbe_dev_rx_queue_setup(): Vector rx enabled, please make sure RX burst size no less than 32. [ 0.031672] PMD: ixgbe_dev_rx_queue_setup(): sw_ring=0x7fc5ac6999c0 hw_ring=0x7fc5ab558380 dma_addr=0x67358380 [ 0.031680] PMD: ixgbe_dev_rx_queue_setup(): Rx Burst Bulk Alloc Preconditions are satisfied. Rx Burst Bulk Alloc function will be used on port=0, queue=1. [ 0.031695] PMD: ixgbe_dev_rx_queue_setup(): Vector rx enabled, please make sure RX burst size no less than 32. [ 0.031708] PMD: ixgbe_dev_tx_queue_setup(): sw_ring=0x7fc5ac697880 hw_ring=0x7fc5ab568400 dma_addr=0x67368400 [ 0.035745] PMD: ixgbe_dev_rx_queue_setup(): sw_ring=0x7fc5ac684e00 hw_ring=0x7fc5ab580480 dma_addr=0x67380480 [ 0.035754] PMD: ixgbe_dev_rx_queue_setup(): Rx Burst Bulk Alloc Preconditions are satisfied. Rx Burst Bulk Alloc function will be used on port=1, queue=0. [ 0.035761] PMD: ixgbe_dev_rx_queue_setup(): Vector rx enabled, please make sure RX burst size no less than 32. [ 0.035783] PMD: ixgbe_dev_rx_queue_setup(): sw_ring=0x7fc5ac67cc80 hw_ring=0x7fc5ab590500 dma_addr=0x67390500 [ 0.035792] PMD: ixgbe_dev_rx_queue_setup(): Rx Burst Bulk Alloc Preconditions are satisfied. Rx Burst Bulk Alloc function will be used on port=1, queue=1. [ 0.035798] PMD: ixgbe_dev_rx_queue_setup(): Vector rx enabled, please make sure RX burst size no less than 32. [ 0.035810] PMD: ixgbe_dev_tx_queue_setup(): sw_ring=0x7fc5ac67ab40 hw_ring=0x7fc5ab5a0580 dma_addr=0x673a0580 [ 5.886027] PMD: ixgbe_dev_link_status_print(): Port 0: Link Down [ 5.886064] PMD: ixgbe_dev_link_status_print(): Port 0: Link Up - speed 10000 Mbps - full-duplex [ 6.234150] PMD: ixgbe_dev_link_status_print(): Port 1: Link Up - speed 0 Mbps - half-duplex [ 6.234196] PMD: ixgbe_dev_link_status_print(): Port 1: Link Down [ 6.886098] PMD: ixgbe_dev_link_status_print(): Port 0: Link Up - speed 10000 Mbps - full-duplex [ 10.234776] PMD: ixgbe_dev_link_status_print(): Port 1: Link Down [ 11.818676] PMD: ixgbe_dev_link_status_print(): Port 1: Link Up - speed 10000 Mbps - full-duplex [ 12.818758] PMD: ixgbe_dev_link_status_print(): Port 1: Link Up - speed 10000 Mbps - full-duplex Application trace shows lots of packets, then everything stops.