From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f50.google.com (mail-wg0-f50.google.com [74.125.82.50]) by dpdk.org (Postfix) with ESMTP id BB946C518 for ; Tue, 28 Apr 2015 12:02:04 +0200 (CEST) Received: by wgso17 with SMTP id o17so145516057wgs.1 for ; Tue, 28 Apr 2015 03:02:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=wwoWjMRUIW/6u1AOvTYQHoQ8Jxnb+dqLL1lvdbswtTM=; b=fH08ocNr2hcWR6aKGz7jTPsfr/F2G8J0TvKvJURhBFpIky32huBV1WzicNnUMNC7Ds soquIz0rPhEegJRA/zfxIHV4KcaesvlaQg9DewuPsLmaHXVQDlvhgJjNDZD5jX83GEqw TbDnTQ5JU0s9J2n43runFJAAW+gH6my5XdRhOLfpVT6lVr28/+RP4rke9Kj22qqct6iW B5B91D0lECi/WTtMPmP9Te9/BXJ0tXQzXasfXabJjPMwvBBeH1xkDjgHzU4Xhs2QICAC vUdn0P5KHgbLSYovAdGb2HKRUzxVuPi3bXzH9+r/iLduciWRfSuK4X3IMyoxIjmx1NYh JERQ== MIME-Version: 1.0 X-Received: by 10.180.96.65 with SMTP id dq1mr28310186wib.46.1430215324538; Tue, 28 Apr 2015 03:02:04 -0700 (PDT) Received: by 10.27.136.70 with HTTP; Tue, 28 Apr 2015 03:02:04 -0700 (PDT) Date: Tue, 28 Apr 2015 13:02:04 +0300 Message-ID: From: Pavel Odintsov To: dev@dpdk.org Content-Type: text/plain; charset=UTF-8 Subject: [dpdk-dev] Can't allocate different number of TX and RX queues for single port of ixgbe NIC 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: Tue, 28 Apr 2015 10:02:05 -0000 Hello, Network Performance Gurus! I have Debian Jessie with 3.16 kernel, DPDK 2.0.0 with ixgbe NIC. And I wrote following code: https://gist.github.com/pavel-odintsov/e1f64de4d56c0ab1b37c I try to allocate 2 queues for TX and only 1 queue for RX and I can't do it with error (detailed error message https://gist.github.com/pavel-odintsov/507cf7a082793f547120): PMD: ixgbe_dev_rx_queue_setup(): sw_ring=0x7f9e9dcdbc80 hw_ring=0x7f9e9dd41500 dma_addr=0x36b41500 PMD: ixgbe_dev_tx_queue_setup(): sw_ring=0x7f9e9dcd9b40 hw_ring=0x7f9e9dd51580 dma_addr=0x36b51580 PMD: ixgbe_set_tx_function(): Using simple tx code path PMD: ixgbe_set_tx_function(): Vector tx enabled. EAL: Error - exiting with code: 1 Cause: Can't configure TX queue 1 for port 0 I could fix this issue with allocation 2 queues for TX and 2 queues for RX. But it's useless for my aplication because I need multiple TX queue but could use only one RX and I want ability to specify different number of queues for NIC. Thank you so much! -- Sincerely yours, Pavel Odintsov