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 C872AA0350; Fri, 26 Jun 2020 07:00:57 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 216131B5E1; Fri, 26 Jun 2020 07:00:57 +0200 (CEST) Received: from mail-il1-f196.google.com (mail-il1-f196.google.com [209.85.166.196]) by dpdk.org (Postfix) with ESMTP id AFA6FF04 for ; Fri, 26 Jun 2020 07:00:55 +0200 (CEST) Received: by mail-il1-f196.google.com with SMTP id l9so7392105ilq.12 for ; Thu, 25 Jun 2020 22:00:55 -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=y4Emy8TFu/xlDebHif9eHzMHyvKEOIGs0kZUrtR9lxQ=; b=okY8On3Dz0UeH4W7l7s0HIe0PZSg5FaCM4pMjC/j3gn5eB1VDuy4iEYmxuX+UKpSUz 2FfXVVXkwcbTjqd+cDCqEtdSVqCt+xbCW+lyKfvLMvjXu9gS1+cE+r48OMdg68BJds+0 EuPdFyonLfLnkmgvNb5tF94Vm/papZJAPIo/qNG38ftA0QIstk4xQjTSnlg6dWDjM7lK 8GYAQpbzMZulm4bMddTNXjVqsfv9yFplr0C1KlU2oPOYw/Vup5IBX0bZxNSfkX8Eza6i 2nuwC24ifAWkUC1P2BlCcN7e7gTnN0dHamwcoEmF2Rz88w+zHDgtnUKX8PbkBnQgrEgp CV9A== 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=y4Emy8TFu/xlDebHif9eHzMHyvKEOIGs0kZUrtR9lxQ=; b=TeZUVxgEA10pLhhi2bcf1jBTt+hEVllGZFS5g5RlE7pugYqPBXDHYwNJ9zwMVkZ1Ks TGOFgcF4fouTSeFqO8kzVJnQxRXqTCUFwB7TF8FQPRjTc22Z5WsbPzXGbXXbZtcucBIB KCCK44qtFpc5OzCvksrgVqbnM2MjViLMLhx6iCfjMdN96DVFCR9DQRKpdXQVjRpi1oWr rf7NlD0MCMpc69U16zFADnWw1X/qpBbaQ8g7vUYio1zz2wwK3pTWl3ntimz5dbcvc5Aw xaBH/SRft4O5+cRkA3BAxknVlYOOKm5HMtEos/K3wTUFZJ1E48oQu+VpSz1ZfbcAjYNE XaDg== X-Gm-Message-State: AOAM533yN5p7QgoEYvDkhPrL+cLNTejGNjFA00nB0X83gXEmX6PffSJY iMhgALXak/X35yhwio47FcnZK1g+HrfL+m4NSG8= X-Google-Smtp-Source: ABdhPJxoS6ej+5PLLu9mMNVRQmJVIegG4evRz7jjEUHqagvQHV6lM+wmzgR2GXDa9JBKW/uCDS+IMKSWfjxAfLKQ7K0= X-Received: by 2002:a92:2d4:: with SMTP id 203mr1311145ilc.60.1593147654899; Thu, 25 Jun 2020 22:00:54 -0700 (PDT) MIME-Version: 1.0 References: <20200327095359.1934-1-pbhagavatula@marvell.com> <20200331135856.4924-1-pbhagavatula@marvell.com> In-Reply-To: <20200331135856.4924-1-pbhagavatula@marvell.com> From: Jerin Jacob Date: Fri, 26 Jun 2020 10:30:38 +0530 Message-ID: To: Pavan Nikhilesh Cc: Jerin Jacob , Andrzej Ostruszka , Nithin Dabilpuram , Kiran Kumar K , John McNamara , Marko Kovacevic , dpdk-dev Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH v5] net/octeontx2: add devargs to lock Rx/Tx ctx 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 Tue, Mar 31, 2020 at 7:29 PM wrote: > > From: Pavan Nikhilesh > > Add device arguments to lock Rx/Tx contexts. > Application can either choose to lock Rx or Tx contexts by using > 'lock_rx_ctx' or 'lock_tx_ctx' respectively per each port. > > Example: > -w 0002:02:00.0,lock_rx_ctx=1 -w 0002:03:00.0,lock_tx_ctx=1 > > Signed-off-by: Pavan Nikhilesh > Reviewed-by: Andrzej Ostruszka > --- > Depends on http://patches.dpdk.org/patch/67178/ > v5 Changes: > - Remove redundant goto.(Andrzej) > > v4 Changes: > - Fix return path using unnecessary goto.(Andrzej) > - Fix datatype of values passed to devargs parser.(Andrzej) > > v3 Changes: > - Split series into individual patches as targets are different. Could you please rebase to dpdk-next-net-mrvl master and send v6. > doc/guides/nics/octeontx2.rst | 16 ++ > drivers/net/octeontx2/otx2_ethdev.c | 196 +++++++++++++++++++- > drivers/net/octeontx2/otx2_ethdev.h | 2 + > drivers/net/octeontx2/otx2_ethdev_devargs.c | 16 +- > drivers/net/octeontx2/otx2_rss.c | 23 +++ > 5 files changed, 244 insertions(+), 9 deletions(-) >