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 6BA62A2EDB for ; Mon, 30 Sep 2019 08:13:10 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2257B29C6; Mon, 30 Sep 2019 08:13:09 +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 2621FDE3 for ; Mon, 30 Sep 2019 08:13:07 +0200 (CEST) Received: by mail-io1-f66.google.com with SMTP id a1so35186659ioc.6 for ; Sun, 29 Sep 2019 23:13:07 -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=YBYR2ddZ2S/uQAIZ34GqTWpTsMTjAecEXrWE/Yo3Xck=; b=Hp4ASRbkeVSv1laDi1bo8TbnSjEAkpbNRkBqcpsX70ytW9TLpSrxIflp9/yXRmsOQI TICz2tVkLrV5oTWRFU6jrX8VMdj5j6wcdrblItwoyE6pzpEx3x+lGgdC2QqEiIocDTrS SRECJGFyd+yP0LxW/8IVz4vYG/49WJp+WKPbQ2idp4HL+ixelKvjM0Tj2YWAq+L0UIfW iC+xTtfYFj+WoSinqJcrPNxbgQcJ6x639x/yjcymmDKp8Eji/trbh0/VREe+uJZms+xr 9Jfx5UHiR3Zjc38+JRBgBWAjmJJ+KRTlS/3ra7H6eXtbxHZmAkGJsu2fqtnKoneFz2RU tuAg== 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=YBYR2ddZ2S/uQAIZ34GqTWpTsMTjAecEXrWE/Yo3Xck=; b=ZPJffjXHYN78n+c0W8xxZBgqYljY8VYH2fTA2KzFnDJw8/SVT88rcp+ZNGfYhIHLwJ bRtH7AASfhWmocinhsjUqVXjyQ9bJMKZ7XiNGpTPPO0V+JJFkkb1DLMySormMFch6miY 7KkKyAFH4l2VXxWSFgb0zCBRE06K0EKbdiIpj88d55qNzjBDG+Suz4R444fmu1xLPfJX uttny8XC8UKQFea7BAzxI2/66yX/3Ja4V1VLaMU1oY57Vhhdw9VuWSgYU2NoagL73td4 +neMPytiMBF9IS3lB6JAy6Z8dgIKf9eZcblIyzoimjohtICvmCqj+zZyysX309NNIzu0 jGgg== X-Gm-Message-State: APjAAAX3X876uYHG6KtMDyUQvbq0Sg0G3jT4sAAnlwgnkd981qvc5T4Y xEAdOHaY7wIR+bzvLtQwhTN6Su31wJlWc/krJlg= X-Google-Smtp-Source: APXvYqx7LiS2rqgg+WXnOZpNVjIidRTImSRAfnQH9zNGUX/XJgFGh87gsNZRb+A5QtVO8jQVZdy/QHVifhRqMZ0s4Z8= X-Received: by 2002:a92:1559:: with SMTP id v86mr19028432ilk.130.1569823986250; Sun, 29 Sep 2019 23:13:06 -0700 (PDT) MIME-Version: 1.0 References: <20190819104652.797-1-pbhagavatula@marvell.com> In-Reply-To: <20190819104652.797-1-pbhagavatula@marvell.com> From: Jerin Jacob Date: Mon, 30 Sep 2019 11:42:55 +0530 Message-ID: To: Pavan Nikhilesh Cc: Jerin Jacob , dpdk-dev Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH ] event/octeontx2: fix Rx adapter capabilities 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 Mon, Aug 19, 2019 at 4:17 PM wrote: > > From: Pavan Nikhilesh > > Octeontx2 SSO co-processor allows multiple ethernet device Rx queues > connected to a single Event device queue. > Fix the Rx adapter capabilities to allow application to configure > Rx queueus in n:1 ratio to event queues by adding > `RTE_EVENT_ETH_RX_ADAPTER_CAP_MULTI_EVENTQ` as a capability. > > Fixes: 37720fc1fba8 ("event/octeontx2: add Rx adapter") > > Signed-off-by: Pavan Nikhilesh Applied to dpdk-next-eventdev/master. Thanks. > --- > drivers/event/octeontx2/otx2_evdev_adptr.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/drivers/event/octeontx2/otx2_evdev_adptr.c b/drivers/event/octeontx2/otx2_evdev_adptr.c > index b6e9f59d1..d8a06a593 100644 > --- a/drivers/event/octeontx2/otx2_evdev_adptr.c > +++ b/drivers/event/octeontx2/otx2_evdev_adptr.c > @@ -15,7 +15,8 @@ otx2_sso_rx_adapter_caps_get(const struct rte_eventdev *event_dev, > if (rc) > *caps = RTE_EVENT_ETH_RX_ADAPTER_SW_CAP; > else > - *caps = RTE_EVENT_ETH_RX_ADAPTER_CAP_INTERNAL_PORT; > + *caps = RTE_EVENT_ETH_RX_ADAPTER_CAP_INTERNAL_PORT | > + RTE_EVENT_ETH_RX_ADAPTER_CAP_MULTI_EVENTQ; > > return 0; > } > -- > 2.22.0 >