From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (xvm-189-124.dc0.ghst.net [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 44F75A09FF; Wed, 6 Jan 2021 12:58:29 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2C58B160951; Wed, 6 Jan 2021 12:58:29 +0100 (CET) Received: from mail-il1-f180.google.com (mail-il1-f180.google.com [209.85.166.180]) by mails.dpdk.org (Postfix) with ESMTP id 6A04716094C for ; Wed, 6 Jan 2021 12:58:28 +0100 (CET) Received: by mail-il1-f180.google.com with SMTP id w12so2839622ilm.12 for ; Wed, 06 Jan 2021 03:58:28 -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=K+r7eoXhjPJv9WmUkjHHSpTPcO/bM7dV92Fg5INCpoM=; b=YsGTlkK6Rtinn43mQipEDH6ztSRQ/YvH57G2v+4LLHlI3IDwrpOXbcfbb7Y1UZSFZc H/QfNXyqw56lSN4q+YtmFOgYQLh62uSBDAc3pwJfQYOQI4WilhupPwssJX4jFbz8CuWw gbB6QeiY98FZEW1TyIbmtM4WkVSeuaakDQKDP2zTPp41Qi4nOjmUKfiRYWvl7SoQsh8z x8N2uOwV1t9xLpthAHaHA3wpYphkpVX3krjyZSyCook1sQgn/wQnM8TTng7ijZeIlJUJ ZLmUGEsivlg8+x+uhsL+rleeC7jmfdklgLYUFNCG22cedWw68VaYTRIuC+hyPWiUYmyB j6VQ== 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=K+r7eoXhjPJv9WmUkjHHSpTPcO/bM7dV92Fg5INCpoM=; b=LiYoWRtSBKflpU7kvkx13pHoMC7luMKVgB9wU8yIaA56xWYfBankpkyPV795xuE9mb fzNbWUiBr2fAZfAFMk9T7b3Z57e9RozunozrhhkpEod+Lt92RN+T01ebsyY9quzTxHau A9yN5iPM4VWaHxXP7Pf3YyYI21krr2ZWMqeXyTrIy/T4LrmgX1ND4L5ut5ZuygwCyXu0 1SYYn65wfFxdL5evs5c27VDxYFXyLbKlb79AsYNr/rhj9Sg3wIQOUwyJ+rgZM2MHO/z6 dRikSPAcs7qTCWHaHc0H9WYFQokplaA6xBbZrnYctq55iKO6S+udmWi1VGxKfw1B7dEW EPQQ== X-Gm-Message-State: AOAM5318/mDv6+FATlOt5o5cC8pFhviztLFNjMI66xOCPnSRDwfGDeMW OrQrxmkziR4Vcf+VivGHWbsGnqZAUygfxfs1C1w= X-Google-Smtp-Source: ABdhPJwHrKiSMMby6VJ1azaeQ0CuGzYv+hRxXwcGjGer/Q3IIriS6W119oAWr23tHCQB64MZfMabYL6nT9c2NoPbbso= X-Received: by 2002:a05:6e02:92f:: with SMTP id o15mr3696485ilt.130.1609934307795; Wed, 06 Jan 2021 03:58:27 -0800 (PST) MIME-Version: 1.0 References: <20201231072247.5719-1-pnalla@marvell.com> <6e4fdae7-4c60-45fb-cb17-8ef0a853b1c6@intel.com> <708ef98d-7492-be87-6a6f-454e68174da3@intel.com> In-Reply-To: From: Jerin Jacob Date: Wed, 6 Jan 2021 17:28:11 +0530 Message-ID: To: Pradeep Kumar Nalla Cc: Ferruh Yigit , Jerin Jacob Kollanukkaran , Satananda Burla , "dev@dpdk.org" Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [EXT] Re: [PATCH 00/15] Octeon Tx/Tx2 Endpoint pmd 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 Wed, Jan 6, 2021 at 5:06 PM Pradeep Kumar Nalla wrote: > > > > -----Original Message----- > From: Ferruh Yigit > Sent: Tuesday, January 5, 2021 8:59 PM > To: Pradeep Kumar Nalla > Cc: Jerin Jacob Kollanukkaran ; Satananda Burla ; dev@dpdk.org > Subject: Re: [EXT] Re: [dpdk-dev] [PATCH 00/15] Octeon Tx/Tx2 Endpoint pmd > > On 1/5/2021 2:43 PM, Pradeep Kumar Nalla wrote: > > Please do not top post, reply moved below. > > > Thanks > > Pradeep. > > -----Original Message----- > > From: Ferruh Yigit > > Sent: Monday, January 4, 2021 5:22 PM > > To: Pradeep Kumar Nalla > > Cc: Jerin Jacob Kollanukkaran ; Satananda Burla > > ; dev@dpdk.org > > Subject: [EXT] Re: [dpdk-dev] [PATCH 00/15] Octeon Tx/Tx2 Endpoint pmd > > > > External Email > > > > ---------------------------------------------------------------------- > > On 12/31/2020 7:22 AM, Nalla, Pradeep wrote: > >> From: "Nalla Pradeep" > >> > >> This patch set contains PMD with minimal set of operations that can > >> drive both Octeon Tx and Tx2 in endpoint. > >> > > > > Hi Pradeep, > > > > There is already octeontx and octeontx2 net drivers, what is the difference of the 'endpoint' driver, why it is needed, can you please give more information? > > > > Hi Ferruh > > > > This PMD, while running on a host, drives octeontx/octeontx2 over pci bus, where as "OcteonTx and OcteonTx2 net drivers" run on respective Tx/Tx2 SOCs to make use of h/w blocks present on the SOC. > > > > But aren't they same HW block, either in the SoC or external ethernet controller via PCI bus? > No, this pmd doesn't access any h/w block on the soc. When in ep mode octeontx and octeontx2 present themselves as network devices and this pmd will program that interface and does packet rx/tx. > > As far as I can see octeontx2 access the device via PCI bus, why updating the existing driver and adding new device IDs is not working? > OxteonTx2 access H/W blocks on soc which also appear as PCI devices. In other words, - The net/octeontx2 driver has a separate set of HW devices that are not accessible from x86 host. - Even though net/octeontx2 is based on PCI bus, scope of that PCI bus is internal to SoC. It is an internal bus emulated as PCI to help standard device probing works.