From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id B2D13A2EEB for ; Fri, 13 Sep 2019 08:22:06 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0BF361F063; Fri, 13 Sep 2019 08:22:06 +0200 (CEST) Received: from mail-io1-f66.google.com (mail-io1-f66.google.com [209.85.166.66]) by dpdk.org (Postfix) with ESMTP id 550801F055 for ; Fri, 13 Sep 2019 08:22:04 +0200 (CEST) Received: by mail-io1-f66.google.com with SMTP id a1so2479155ioc.6 for ; Thu, 12 Sep 2019 23:22:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=K2YYNSyxH3xA2Wte93uzdQ8wW2i/eyC+VjIr9PtTDrA=; b=XbVgAAwDlACufGLwJq9cJATSF3fpuyezu9+PChNHCvbgrJY1Jf7Glvm5sPRhR16D3d 3hP975lNYFUZ0hijnlt8kJHQP8pL2+zZPbI0Ijde8Vwu/NoZ06493sB+arujqM2PUIB4 elhGUAtpCV4n4xr69wyFIYZuaUXx4f4uZme98WJ5mluK4XPzW5yahcXjQUcLR+QgmQZ/ s+UdUcL2If9vvqJ4LMJg1DLUTgjHWKnkvYSkiTl4LTmJt3eATRD3uDLL1F6puu/n/Swm NWMKGwd2weIE4j3sXHuxoqFUUbzVpz7BrPd3CHeE+95X70GojPL6Ck2psjN8pkf4O6YD 1/ug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=K2YYNSyxH3xA2Wte93uzdQ8wW2i/eyC+VjIr9PtTDrA=; b=ePxX8+8qqbArtO/wlxrNP8crOanroVpqgyc8OF7I6qbIeoAARfdOboqaEbhkjm+7XR JQKmDatrJP9jAk6u5GyN0PwqtqqsjGW1gEF53yVe8KtHHt51RYm4pDCbR1z8UjzoS6iZ uKHPmOQpVJZh4riiaTS84zW32A6oLKsqCISxsEYlwB55QRHDxo7vpeALz1uam8eJ3tOE 7bLFpyTu4ehlN9fa6ogy1GIKLW48Pu/d/gOqlJk5OQZwbl2VBOXNQmWvABWmf6mkW6C/ ATbyjqk74zBze/LQMrvyseOYd5LsUMb3kFMqLb1gSjMEeP0CD2waDjCTquaM4SXzmKAG 2xnQ== X-Gm-Message-State: APjAAAUYf1o+c1Nx5UQWE3QmE00kyvBlZ7GVK/hFYHQrYJzg7n9vKNgo z0eqJWUYh4kvGuiTZ4RAifmy1FgRHbKZRKq0O34= X-Google-Smtp-Source: APXvYqx1UwxM375yk5PRejdtmVdltc7rdNu7pk6QtdKS93Dhr7dtIE/f2Icd6YR7oP7vYK0cIvMwdhuNHGHY+rF6neM= X-Received: by 2002:a05:6638:a:: with SMTP id z10mr18574889jao.113.1568355723475; Thu, 12 Sep 2019 23:22:03 -0700 (PDT) MIME-Version: 1.0 References: <20190912152416.2990-1-shshaikh@marvell.com> In-Reply-To: <20190912152416.2990-1-shshaikh@marvell.com> From: Jerin Jacob Date: Fri, 13 Sep 2019 11:51:52 +0530 Message-ID: To: Shahed Shaikh Cc: dev@dpdk.org, Rasesh Mody , Jerin Jacob , GR-Everest-DPDK-Dev@marvell.com, ferruh.yigit@intel.com Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH v2 0/5] net/qede: fixes and enhancement 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Thu, Sep 12, 2019 at 8:54 PM Shahed Shaikh wrote: > > First four patches are part of a fix for the ovs-dpdk issue > with 100Gb NIC [1]. > Fifth patch adds support for drop action in rte_flow. > > [1] > As per HW design of 100Gb mode, device internally uses 2 engines > (eng0 and eng1), and both engines need to be configured symmetrically. > Based on this requirement, driver design chose an approach > to allow user to allocate only even number of queues and split > those queues on both engines equally. > > This approach puts a limitation on number of queues to be allocated - > i.e. user can't configure odd number of queues on 100Gb mode. > OVS configures DPDK port with 1 rxq and 1 txq, which causes initialization > of qede port to fail. > > This patch series changes the implementation of queue allocation method > for 100Gb devices by removing above mentioned limitation and allowing > user to configure odd number of queues. > > Fix is split into 4 logical patches - > - First patch refactors Rx and Tx queue setup code to lay a foundation > for actual fix. > - Second patch actually implements a new approach to fix the issue. > - Third patch fixes RSS configuration w.r.t. new approach. > - Fourth patch fixes statistics code impacted due to new approach. > > change in v2: > Fixed compilation failure from patch 2 on clang compiler. > > Shahed Shaikh (5): > net/qede: refactor Rx and Tx queue setup > net/qede: fix ovs-dpdk failure when using odd number of queues on > 100Gb mode > net/qede: fix RSS configuration as per new 100Gb queue allocation > method > net/qede: fix stats flow as per new 100Gb queue allocation method > net/qede: implement rte_flow drop action Fixed ./devtools/check-git-log.sh issues and Series applied to dpdk-next-net-mrvl/master. Thanks.