From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 301B3A0550; Thu, 11 Feb 2021 01:58:51 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E16601CC38A; Thu, 11 Feb 2021 01:58:50 +0100 (CET) Received: from mail-lj1-f180.google.com (mail-lj1-f180.google.com [209.85.208.180]) by mails.dpdk.org (Postfix) with ESMTP id 75AB21CC344 for ; Thu, 11 Feb 2021 01:58:49 +0100 (CET) Received: by mail-lj1-f180.google.com with SMTP id f2so5362921ljp.11 for ; Wed, 10 Feb 2021 16:58:49 -0800 (PST) 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=RZJTTkTjvKXSACIYTIE6Acz1dhjBmzIQNprlybOSypg=; b=c/0Qc2eniA6wPd+VwcxhA91kO7Y2iFH6gVtK0P2bDiA239BeyiYZ/sKZs8BfS3WJw4 /uvF0u7LnN6WBzTCY68OzvZd1s/cG6kyMrhmZ+yYlM/tdU/dzoq03pqGQvvrZ1dUHAxZ FLXMLQEvCNiaGlSHLizawNjH0U7wkmkMSCikA6tWdahgVeRfuQmp2MyUItZnv2pJWUnQ jBriRaZom/IRp310SnfiS2CmKdm0pFZPdDQc+DEPqX9IVaSHg5n6Bo0bEdom8I/UeIOk 6yUFYExZSjfazXbJobnpvUnBZBMdFldMgJTxip43G14dGnalQECZZANFzAuAGhqsuxW4 VtGw== 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=RZJTTkTjvKXSACIYTIE6Acz1dhjBmzIQNprlybOSypg=; b=uVD9SIHvd5IhU056Jogmx5q7kbUaxB+o0AkpFyzDaWPE5qgUa4UAppWNl5UcQ+5N2G GWOPSCTUpvuTjoUUnliRhlkIIjnGsQKwLLxznvSTCwhC7P3izCko8jTcneaaXWD19uhU NrlZ70VA7WF7NL2jk+aQAtszOMTRc8pmVVdBdHeeCjrYocncCk7E7s1aoW3UUO+44Jwv 8LAUQdZ8bsUFmhO9NRnPze42VPRNUsJjlpgknIH3KzghwLoPhIJx2NGsc5OKvqo4qczJ awCY/r6ZM0rPNLdw+f+ejT4RrLh/Nd9zrjErn0UEOd0UnFGjDKhVa0VqHfY+6Td/flMt OHtg== X-Gm-Message-State: AOAM533Qwc7f/ywA76vop5pvKlVTDpc9/pR3yjk9N+fM4fzZgNxzGX6Y ZsCsT+xiyM4t0brKo3vb204itObGTZUiTKehlr0= X-Google-Smtp-Source: ABdhPJyx1XgCkPuZLDsCITrCkRxn5N6bL8L9q0glUBTSdbzjEye9pbPLB3cGeMi7+LxDfNTN878TNzrnBMCA9cVxSNU= X-Received: by 2002:a2e:8741:: with SMTP id q1mr3480621ljj.20.1613005129016; Wed, 10 Feb 2021 16:58:49 -0800 (PST) MIME-Version: 1.0 References: <20210129001640.1251-1-pnalla@marvell.com> <20210129124510.12158-2-pnalla@marvell.com> In-Reply-To: <20210129124510.12158-2-pnalla@marvell.com> From: Radha Mohan Date: Wed, 10 Feb 2021 16:58:37 -0800 Message-ID: To: Nalla Pradeep Cc: Jerin Jacob , Nithin Dabilpuram , Radha Mohan Chintakuntla , Veerasenareddy Burru , Satananda Burla , dev@dpdk.org Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH v7 01/12] raw/octeontx_ep: changed device id X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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 Fri, Jan 29, 2021 at 4:45 AM Nalla Pradeep wrote: > > Device id to be probed by octeontx_ep raw device pmd is changed from > B203 to B204. B203 is for octeontx_ep net device pmd to probe. > > Signed-off-by: Nalla Pradeep > --- > drivers/common/octeontx2/otx2_common.h | 3 ++- > drivers/raw/octeontx2_ep/otx2_ep_rawdev.c | 6 +++--- > 2 files changed, 5 insertions(+), 4 deletions(-) > > diff --git a/drivers/common/octeontx2/otx2_common.h b/drivers/common/octeontx2/otx2_common.h > index b6779f710..4938fb295 100644 > --- a/drivers/common/octeontx2/otx2_common.h > +++ b/drivers/common/octeontx2/otx2_common.h > @@ -136,7 +136,8 @@ extern int otx2_logtype_ree; > #define PCI_DEVID_OCTEONTX2_RVU_CPT_VF 0xA0FE > #define PCI_DEVID_OCTEONTX2_RVU_AF_VF 0xA0f8 > #define PCI_DEVID_OCTEONTX2_DPI_VF 0xA081 > -#define PCI_DEVID_OCTEONTX2_EP_VF 0xB203 /* OCTEON TX2 EP mode */ > +#define PCI_DEVID_OCTEONTX2_EP_NET_VF 0xB203 /* OCTEON TX2 EP mode */ > +#define PCI_DEVID_OCTEONTX2_EP_RAW_VF 0xB204 /* OCTEON TX2 EP mode */ > #define PCI_DEVID_OCTEONTX2_RVU_SDP_PF 0xA0f6 > #define PCI_DEVID_OCTEONTX2_RVU_SDP_VF 0xA0f7 > #define PCI_DEVID_OCTEONTX2_RVU_REE_PF 0xA0f4 > diff --git a/drivers/raw/octeontx2_ep/otx2_ep_rawdev.c b/drivers/raw/octeontx2_ep/otx2_ep_rawdev.c > index 2b78a7941..b2ccdda83 100644 > --- a/drivers/raw/octeontx2_ep/otx2_ep_rawdev.c > +++ b/drivers/raw/octeontx2_ep/otx2_ep_rawdev.c > @@ -22,7 +22,7 @@ > static const struct rte_pci_id pci_sdp_vf_map[] = { > { > RTE_PCI_DEVICE(PCI_VENDOR_ID_CAVIUM, > - PCI_DEVID_OCTEONTX2_EP_VF) > + PCI_DEVID_OCTEONTX2_EP_RAW_VF) > }, > { > .vendor_id = 0, > @@ -109,8 +109,8 @@ sdp_chip_specific_setup(struct sdp_device *sdpvf) > int ret; > > switch (dev_id) { > - case PCI_DEVID_OCTEONTX2_EP_VF: > - sdpvf->chip_id = PCI_DEVID_OCTEONTX2_EP_VF; > + case PCI_DEVID_OCTEONTX2_EP_RAW_VF: > + sdpvf->chip_id = PCI_DEVID_OCTEONTX2_EP_RAW_VF; > ret = sdp_vf_setup_device(sdpvf); > > break; > -- > 2.17.1 > Acked-by: Radha Mohan Chintakuntla