From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-f170.google.com (mail-pf0-f170.google.com [209.85.192.170]) by dpdk.org (Postfix) with ESMTP id 327952C18 for ; Sun, 16 Apr 2017 21:33:41 +0200 (CEST) Received: by mail-pf0-f170.google.com with SMTP id i5so57584680pfc.2 for ; Sun, 16 Apr 2017 12:33:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=Gnv3Lr75x6RqIb8vl5Z2AtN2nNvrqKZQ3NsQYp7BhdQ=; b=NAGF3aHcjyj7BgwQnNfjUcJCgo73INOOfYsvJjN3N+EDGTRvWRlvgmunU0aUSEoNch mfxYA0DKsqauSr1+NjAvZyGd1PjylSifglgzzTrav8oKiPJ/C7DDn4Dw9FQGKkz3hPhX u92GdfzEUQgh/C4em1ec2Z9IbyE2WHqSg/Fuq6CBsuLCRGYMzWwNBJIrFs1Flck4/nUk U3bviQD0EkyNMFg+uWv5gCB2HSNamYOaAOq7vO+d9hG+/HQZJE07ZxguvyHnqV4Lvltv QJMuQJnX3RdG/Jz8YLSC6ZECVneTGbZ6uzU04HVv0SOnMH1LNDYXJzM7Sfm5OzH7QU+F 5jLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=Gnv3Lr75x6RqIb8vl5Z2AtN2nNvrqKZQ3NsQYp7BhdQ=; b=lzQgX5ycyeZDQiDGVFkI7JnsYnYESdulKIVJwO+h/lWPpGWYXOj3V0e9lQJmmB6LaX zyYsMUz3ZRNFU92Z8FoMxk/XtDeQ1+Bbl7+hR4T+XIa3LRtWI0TEXbS1xAXXLU/reO+r +Rex/pdT1/ANmRf1mVyOlbulMSWasSTapxdXEooul+qEQqDX/tzRx2Ekopvr090zw6pX OENkL0aazGYv06Lnpo+y+dgU6ps9k6vHJFSpk1ojjVG+oJIBQmdx5Y9TjFWQ2grCGAIj yNGTkSdtplqZFrwXxNpp1y6OUEraU4WsDGdlFry8sXouG3HcNxPw/AFglKsyIw6r80eK Eg6Q== X-Gm-Message-State: AN3rC/6SWegpKQKNv4WJoDJrCl1DFLowqU/ofbi5V4ma4SNc7ssQbVuQ Y11CdwrFXsXiwvTfQsFZe/tCJUTW/Q== X-Received: by 10.99.160.73 with SMTP id u9mr8214419pgn.176.1492371220328; Sun, 16 Apr 2017 12:33:40 -0700 (PDT) MIME-Version: 1.0 Received: by 10.100.155.13 with HTTP; Sun, 16 Apr 2017 12:33:39 -0700 (PDT) In-Reply-To: References: From: Ravi Kerur Date: Sun, 16 Apr 2017 12:33:39 -0700 Message-ID: To: "dev@dpdk.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] Q on IXGBE and I40E vector Tx processing X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Apr 2017 19:33:41 -0000 Hi, The reason I am asking I because I have tried different combinations of scalar and vector Tx and Rx processing for both IXGBE and I40E with following results 1. Vector Rx and Vector Tx gives best performance but can only support packet size of less than or equal to 2048 bytes 2. Scalar Rx and Scalar Tx works for all packet size but with degraded performance 3. Vector Rx and Scalar Tx (with certain PMD configuration) works fine (performance doesn't meet '1') but it has an inherent bug for packet size 8192 bytes as PMD stops packet processing >>From the code I see both IXGBE and I40E can support scattered vector Rx, I am curious to know any obvious reasons scattered vector Tx support is left out and does it make sense to implement it? If it makes sense to implement scattered vector Tx and Intel team hasn't worked on it I would like to make an attempt at it so kindly let me know. Thanks. On Fri, Apr 14, 2017 at 10:35 AM, Ravi Kerur wrote: > Hi, > > We are using dpdk 16.04 and by looking at the ixgbe and > i40e(i40e_xmit_pkts_vec) and ixgbe(ixgbe_xmit_pkts_vec) driver vector tx > processing code I see they both don't handle scattered packet processing. > For any packets greater than 2048 bytes which will basically contain > multiple rte_mbuf segs vector tx processing cannot be used. > > Any reasons why vector tx for both ixgbe and i40e doesn't support > scattered or multiple mbuf segments processing? > > Thanks. >