From patchwork Tue Nov 2 18:41:31 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomasz Duszynski X-Patchwork-Id: 103535 X-Patchwork-Delegate: jerinj@marvell.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 797EBA0C4B; Tue, 2 Nov 2021 19:42:28 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2769841103; Tue, 2 Nov 2021 19:42:28 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id C7C2B41100 for ; Tue, 2 Nov 2021 19:42:25 +0100 (CET) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id 1A2HXBeF030442 for ; Tue, 2 Nov 2021 11:42:23 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=pfpt0220; bh=YmOfpQ3wqsoS/DUG0/fyvQn7Pa4Q3Op+ZwOM7494dEQ=; b=H/qB48oMR58cL/buktF2sZvqVPOoyulA2T2ZGnreO3CJLEnBZ32wVhzpeNEDQYccsYwB kR0qOGiUCss+Bt5g4iVKVc2BSRoiOez/rYNSmABOtEIOhoCv4LQ12RCVSkAx4GCSIaD/ V42zxByzsZuhUE1MrHsEup/2gT+On7KLDubAUMdGbc7N0Fb1sIAWXTb8IwcAM0f1WPrc 8mJwNw+14KppdTRCVVYXkPu2au1YjAiWeuvHPfEroxGDu7tmlnmG9vtyttSPof19SoE9 sK/uESGEAN90rGXNjcFPNtEjLHFZTYrmBVn/KX79blLImNNtkNP1yj8M29XKDKVIK2vy gw== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3c35mbhyt2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Tue, 02 Nov 2021 11:42:23 -0700 Received: from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Tue, 2 Nov 2021 11:42:22 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server id 15.0.1497.18 via Frontend Transport; Tue, 2 Nov 2021 11:42:22 -0700 Received: from localhost.localdomain (unknown [10.28.34.39]) by maili.marvell.com (Postfix) with ESMTP id C8D493F7043; Tue, 2 Nov 2021 11:42:20 -0700 (PDT) From: Tomasz Duszynski To: CC: , Jakub Palider , "Tomasz Duszynski" Date: Tue, 2 Nov 2021 19:41:31 +0100 Message-ID: <20211102184134.3012344-2-tduszynski@marvell.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211102184134.3012344-1-tduszynski@marvell.com> References: <20211102184134.3012344-1-tduszynski@marvell.com> MIME-Version: 1.0 X-Proofpoint-GUID: g_HrHOsLotFV9pufWqTg8FW2FIAovqhb X-Proofpoint-ORIG-GUID: g_HrHOsLotFV9pufWqTg8FW2FIAovqhb X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.182.1,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.0.607.475 definitions=2021-11-02_08,2021-11-02_01,2020-04-07_01 Subject: [dpdk-dev] [PATCH 1/4] raw/cnxk_bphy: remove deps from internal headers 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" From: Jakub Palider This patch resolves problem with internal header inclusion. In addition prevents C++ name mangling. Signed-off-by: Jakub Palider Reviewed-by: Tomasz Duszynski Reviewed-by: Jerin Jacob Kollanukkaran --- drivers/raw/cnxk_bphy/cnxk_bphy_irq.c | 2 +- drivers/raw/cnxk_bphy/cnxk_bphy_irq.h | 18 +++++------------- drivers/raw/cnxk_bphy/rte_pmd_bphy.h | 18 ++++++++++++++++-- 3 files changed, 22 insertions(+), 16 deletions(-) diff --git a/drivers/raw/cnxk_bphy/cnxk_bphy_irq.c b/drivers/raw/cnxk_bphy/cnxk_bphy_irq.c index a328029aad..bbe7f74def 100644 --- a/drivers/raw/cnxk_bphy/cnxk_bphy_irq.c +++ b/drivers/raw/cnxk_bphy/cnxk_bphy_irq.c @@ -90,7 +90,7 @@ cnxk_bphy_intr_unregister(uint16_t dev_id, int irq_num) plt_err("Missing irq chip"); } -struct bphy_mem * +struct cnxk_bphy_mem * cnxk_bphy_mem_get(uint16_t dev_id) { struct bphy_device *bphy_dev = cnxk_bphy_get_bphy_dev_by_dev_id(dev_id); diff --git a/drivers/raw/cnxk_bphy/cnxk_bphy_irq.h b/drivers/raw/cnxk_bphy/cnxk_bphy_irq.h index 63d7285055..dab0f23188 100644 --- a/drivers/raw/cnxk_bphy/cnxk_bphy_irq.h +++ b/drivers/raw/cnxk_bphy/cnxk_bphy_irq.h @@ -5,17 +5,9 @@ #ifndef _CNXK_BPHY_IRQ_ #define _CNXK_BPHY_IRQ_ -#include -#include - #include -typedef void (*cnxk_bphy_intr_handler_t)(int irq_num, void *isr_data); - -struct bphy_mem { - struct rte_mem_resource res0; - struct rte_mem_resource res2; -}; +#include "rte_pmd_bphy.h" struct bphy_irq_queue { /* queue holds up to one response */ @@ -26,17 +18,17 @@ struct bphy_device { #define BPHY_QUEUE_CNT 1 struct roc_bphy bphy; struct roc_bphy_irq_chip *irq_chip; - struct bphy_mem mem; + struct cnxk_bphy_mem mem; /* bphy irq interface supports single queue only */ struct bphy_irq_queue queues[BPHY_QUEUE_CNT]; }; int cnxk_bphy_intr_init(uint16_t dev_id); void cnxk_bphy_intr_fini(uint16_t dev_id); -struct bphy_mem *cnxk_bphy_mem_get(uint16_t dev_id); +struct cnxk_bphy_mem *cnxk_bphy_mem_get(uint16_t dev_id); int cnxk_bphy_intr_register(uint16_t dev_id, int irq_num, - cnxk_bphy_intr_handler_t handler, - void *isr_data, int cpu); + cnxk_bphy_intr_handler_t handler, void *isr_data, + int cpu); void cnxk_bphy_intr_unregister(uint16_t dev_id, int irq_num); uint64_t cnxk_bphy_irq_max_get(uint16_t dev_id); diff --git a/drivers/raw/cnxk_bphy/rte_pmd_bphy.h b/drivers/raw/cnxk_bphy/rte_pmd_bphy.h index 4458342287..726ff412a2 100644 --- a/drivers/raw/cnxk_bphy/rte_pmd_bphy.h +++ b/drivers/raw/cnxk_bphy/rte_pmd_bphy.h @@ -5,9 +5,13 @@ #ifndef _CNXK_BPHY_H_ #define _CNXK_BPHY_H_ +#include #include +#include -#include "cnxk_bphy_irq.h" +#ifdef __cplusplus +extern "C" { +#endif enum cnxk_bphy_cgx_msg_type { CNXK_BPHY_CGX_MSG_TYPE_GET_LINKINFO, @@ -107,9 +111,15 @@ struct cnxk_bphy_cgx_msg { void *data; }; -#define cnxk_bphy_mem bphy_mem #define CNXK_BPHY_DEF_QUEUE 0 +typedef void (*cnxk_bphy_intr_handler_t)(int irq_num, void *isr_data); + +struct cnxk_bphy_mem { + struct rte_mem_resource res0; + struct rte_mem_resource res2; +}; + enum cnxk_bphy_irq_msg_type { CNXK_BPHY_IRQ_MSG_TYPE_INIT, CNXK_BPHY_IRQ_MSG_TYPE_FINI, @@ -383,4 +393,8 @@ rte_pmd_bphy_cgx_set_fec(uint16_t dev_id, uint16_t lmac, return __rte_pmd_bphy_enq_deq(dev_id, lmac, &msg, NULL, 0); } +#ifdef __cplusplus +} +#endif + #endif /* _CNXK_BPHY_H_ */ From patchwork Tue Nov 2 18:41:32 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomasz Duszynski X-Patchwork-Id: 103536 X-Patchwork-Delegate: jerinj@marvell.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id D53DEA0C4B; Tue, 2 Nov 2021 19:42:33 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0A8354111D; Tue, 2 Nov 2021 19:42:29 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id E9EBA41100 for ; Tue, 2 Nov 2021 19:42:26 +0100 (CET) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id 1A2HGlhC030466 for ; Tue, 2 Nov 2021 11:42:26 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=pfpt0220; bh=/dUd+oCemynbywMDsipoNIk+bpV4HSeo9zMr/5LBauE=; b=OTSDOYq5SPxfWqMOGuHiG8pVjvlH7mGzx/9+oFPEciDWTOtX84UbE7KL3NgYH6aVM86s lhE9on0g/JKebRlTjqRlm2Dr2kdYO/6zxHq5YdHq3NSkPinFj31aMqh+a750z4wFylZj PZbAu0Qg21eikh0NMeqIkTRsC85m7K9Dx0t3PqG29SyJsImXAoieTgPMg0mjMeEQOJYM WHFp1xqqf9RdpJESplu3VlEBerPUOg9PuANpYWtCuaI7xqVpUw9TcHf65AOS3bLNL6Y3 H0+lpDSDdNE/B4fgo0RMSw16jWPiNiOg4hMPcMRkm08AlX44HzLpgmD4JNn44rxcOd00 xg== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3c35mbhyt6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Tue, 02 Nov 2021 11:42:26 -0700 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Tue, 2 Nov 2021 11:42:24 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.18 via Frontend Transport; Tue, 2 Nov 2021 11:42:24 -0700 Received: from localhost.localdomain (unknown [10.28.34.39]) by maili.marvell.com (Postfix) with ESMTP id 1BFFE5B6932; Tue, 2 Nov 2021 11:42:22 -0700 (PDT) From: Tomasz Duszynski To: CC: , Tomasz Duszynski , "Jakub Palider" Date: Tue, 2 Nov 2021 19:41:32 +0100 Message-ID: <20211102184134.3012344-3-tduszynski@marvell.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211102184134.3012344-1-tduszynski@marvell.com> References: <20211102184134.3012344-1-tduszynski@marvell.com> MIME-Version: 1.0 X-Proofpoint-GUID: or--cU8aVJ0u23ItPjaqNmghuXsuuzEW X-Proofpoint-ORIG-GUID: or--cU8aVJ0u23ItPjaqNmghuXsuuzEW X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.182.1,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.0.607.475 definitions=2021-11-02_08,2021-11-02_01,2020-04-07_01 Subject: [dpdk-dev] [PATCH 2/4] raw/cnxk_bphy: keep leading zero in device name 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" Device naming might be misleading which is especially true if one takes it from lspci output. In order to keep naming consistent keep leading zero in front of pci bus number. Signed-off-by: Tomasz Duszynski Reviewed-by: Jerin Jacob Kollanukkaran Reviewed-by: Jakub Palider --- doc/guides/rawdevs/cnxk_bphy.rst | 6 ++++-- drivers/raw/cnxk_bphy/cnxk_bphy.c | 2 +- drivers/raw/cnxk_bphy/cnxk_bphy_cgx.c | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/doc/guides/rawdevs/cnxk_bphy.rst b/doc/guides/rawdevs/cnxk_bphy.rst index bf7c00e6bc..3cb2175688 100644 --- a/doc/guides/rawdevs/cnxk_bphy.rst +++ b/doc/guides/rawdevs/cnxk_bphy.rst @@ -146,8 +146,10 @@ the raw devices. The rawdev ID of the device can be obtained using invocation of ``rte_rawdev_get_dev_id("NAME:x")`` from the test application, where: - NAME is the desired subsystem: use "BPHY" for regular, and "BPHY_CGX" for - RFOE module, -- x is the device's bus id specified in "bus:device.func" (BDF) format. + RFOE module. +- x is the device's bus id specified in "bus:device.func" (BDF) format. BDF follows convention + used by lspci i.e bus, device and func are specified using respectively two, two and one hex + digit(s). Use this identifier for further rawdev function calls. diff --git a/drivers/raw/cnxk_bphy/cnxk_bphy.c b/drivers/raw/cnxk_bphy/cnxk_bphy.c index 558ebfa85e..349d551839 100644 --- a/drivers/raw/cnxk_bphy/cnxk_bphy.c +++ b/drivers/raw/cnxk_bphy/cnxk_bphy.c @@ -158,7 +158,7 @@ bphy_rawdev_selftest(uint16_t dev_id) static void bphy_rawdev_get_name(char *name, struct rte_pci_device *pci_dev) { - snprintf(name, RTE_RAWDEV_NAME_MAX_LEN, "BPHY:%x:%02x.%x", + snprintf(name, RTE_RAWDEV_NAME_MAX_LEN, "BPHY:%02x:%02x.%x", pci_dev->addr.bus, pci_dev->addr.devid, pci_dev->addr.function); } diff --git a/drivers/raw/cnxk_bphy/cnxk_bphy_cgx.c b/drivers/raw/cnxk_bphy/cnxk_bphy_cgx.c index ade45ab741..0b694e1c03 100644 --- a/drivers/raw/cnxk_bphy/cnxk_bphy_cgx.c +++ b/drivers/raw/cnxk_bphy/cnxk_bphy_cgx.c @@ -28,7 +28,7 @@ static void cnxk_bphy_cgx_format_name(char *name, unsigned int len, struct rte_pci_device *pci_dev) { - snprintf(name, len, "BPHY_CGX:%x:%02x.%x", pci_dev->addr.bus, + snprintf(name, len, "BPHY_CGX:%02x:%02x.%x", pci_dev->addr.bus, pci_dev->addr.devid, pci_dev->addr.function); } From patchwork Tue Nov 2 18:41:33 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomasz Duszynski X-Patchwork-Id: 103537 X-Patchwork-Delegate: jerinj@marvell.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id E15AEA0C4B; Tue, 2 Nov 2021 19:42:38 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0CC2041120; Tue, 2 Nov 2021 19:42:31 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id B19B341120 for ; Tue, 2 Nov 2021 19:42:29 +0100 (CET) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id 1A2F4LQv012013 for ; Tue, 2 Nov 2021 11:42:29 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=pfpt0220; bh=f3cnbL7Ww17ZvmGc+62keSDrVf6tVcxP9Sj/CO9T6ws=; b=UYz+miaxQLt0O8C3Knl8FdxDQ1LbyRQZngmxKApITkiYfwg+JlQSsUXQg3XvHvGNf/Qm r8emQFxt74BthgElt/oekA+z4kfLErp8kF7GCZZcgv9mLvlrfbZ7erhk5HhgUm0ZKFqO jmrv26yVsmpBxHuhPkT8jc8lASpb5tzXOxPePAcUH8UFGZ/IgOSK9iJg32LfqWQvL5rD XTrl9pgI2Ap+jN2BfT11PwjqSF/y7hG3xXA6nWCOL+lqofdRYJlsgZL9CjrLiaAel5BB 7Ms18FYH3IuM2ONJTz1qHRRgjIo2I6v+h7UAPaFj9z11DQ7GNE7LlO/NEMXKjqwHMJ45 rw== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3c2ycvbqgh-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Tue, 02 Nov 2021 11:42:29 -0700 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Tue, 2 Nov 2021 11:42:26 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.18 via Frontend Transport; Tue, 2 Nov 2021 11:42:27 -0700 Received: from localhost.localdomain (unknown [10.28.34.39]) by maili.marvell.com (Postfix) with ESMTP id 618723F7041; Tue, 2 Nov 2021 11:42:25 -0700 (PDT) From: Tomasz Duszynski To: CC: , Tomasz Duszynski , "Jakub Palider" Date: Tue, 2 Nov 2021 19:41:33 +0100 Message-ID: <20211102184134.3012344-4-tduszynski@marvell.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211102184134.3012344-1-tduszynski@marvell.com> References: <20211102184134.3012344-1-tduszynski@marvell.com> MIME-Version: 1.0 X-Proofpoint-GUID: DQgh-6mJemBORfS5q9TUWM9dIXCAizhD X-Proofpoint-ORIG-GUID: DQgh-6mJemBORfS5q9TUWM9dIXCAizhD X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.182.1,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.0.607.475 definitions=2021-11-02_08,2021-11-02_01,2020-04-07_01 Subject: [dpdk-dev] [PATCH 3/4] raw/cnxk_bphy: add headers that provide used APIs 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" Generally it is good practice to include all headers that provide APIs which are being used. This is especially true in situations where 3rd party apps include our public headers and assume that all should work out of the box. Including all headers explicitly helps to achieve that. Signed-off-by: Tomasz Duszynski --- drivers/raw/cnxk_bphy/rte_pmd_bphy.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/raw/cnxk_bphy/rte_pmd_bphy.h b/drivers/raw/cnxk_bphy/rte_pmd_bphy.h index 726ff412a2..cc2372f719 100644 --- a/drivers/raw/cnxk_bphy/rte_pmd_bphy.h +++ b/drivers/raw/cnxk_bphy/rte_pmd_bphy.h @@ -5,7 +5,11 @@ #ifndef _CNXK_BPHY_H_ #define _CNXK_BPHY_H_ +#include + +#include #include +#include #include #include From patchwork Tue Nov 2 18:41:34 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomasz Duszynski X-Patchwork-Id: 103538 X-Patchwork-Delegate: jerinj@marvell.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 76DFBA0C4B; Tue, 2 Nov 2021 19:42:44 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 204734112E; Tue, 2 Nov 2021 19:42:34 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 793CD41104 for ; Tue, 2 Nov 2021 19:42:32 +0100 (CET) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id 1A2HGlhD030466 for ; Tue, 2 Nov 2021 11:42:31 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=pfpt0220; bh=km78hJHAZb7vXJ9v1IVQWAMDxHqFhJM7ZxJD4qBqlzo=; b=fldBalrTaOfy7A0gvVyPOhtoF/ycJV/Zd36DcjdwGNeivfMyhrPR91nfeT8RJu0LTypQ 5j5QkkNLIcZQaQhbq7e61DtAmF5bfGXkKJ/WzF2VQ85VVY0gYH7nI0l0gGJHFhn0E01M 23QrG8J4d4lVsonJ/WQtHK7gsyvQNFR8GtrC1baBpJGpHlcQeUXg4ogsRI3rtvF5X45p N4vQV1ybg1neZC6s0TZDW9FmWk8pBha5iAOIffUQiv1SxxCRubs64EGF06ladllkScMs s3xBWEyQpicxWsNvNToSpqPM4O2I4qv4kua/sW1v6MmSeY1/3OgnsqKavLjAJM1peYpT GQ== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3c35mbhytq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Tue, 02 Nov 2021 11:42:31 -0700 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Tue, 2 Nov 2021 11:42:30 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.18 via Frontend Transport; Tue, 2 Nov 2021 11:42:30 -0700 Received: from localhost.localdomain (unknown [10.28.34.39]) by maili.marvell.com (Postfix) with ESMTP id B0E0B3F7043; Tue, 2 Nov 2021 11:42:27 -0700 (PDT) From: Tomasz Duszynski To: CC: , Tomasz Duszynski , "Nithin Dabilpuram" , Kiran Kumar K , Sunil Kumar Kori , Satha Rao Date: Tue, 2 Nov 2021 19:41:34 +0100 Message-ID: <20211102184134.3012344-5-tduszynski@marvell.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211102184134.3012344-1-tduszynski@marvell.com> References: <20211102184134.3012344-1-tduszynski@marvell.com> MIME-Version: 1.0 X-Proofpoint-GUID: MOXrD3GBJWKOFhR4NAG1TMEJOENwGrof X-Proofpoint-ORIG-GUID: MOXrD3GBJWKOFhR4NAG1TMEJOENwGrof X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.182.1,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.0.607.475 definitions=2021-11-02_08,2021-11-02_01,2020-04-07_01 Subject: [dpdk-dev] [PATCH 4/4] doc: add BPHY to the list of platform blocks 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" Add BPHY to the list of platform hardware accelerator blocks. Signed-off-by: Tomasz Duszynski --- doc/guides/platform/cnxk.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/guides/platform/cnxk.rst b/doc/guides/platform/cnxk.rst index d7adf43165..845ae46064 100644 --- a/doc/guides/platform/cnxk.rst +++ b/doc/guides/platform/cnxk.rst @@ -68,6 +68,8 @@ DPDK subsystem. +---+-----+--------------------------------------------------------------+ | 10| REE | rte_regexdev | +---+-----+--------------------------------------------------------------+ + | 11| BPHY| rte_rawdev | + +---+-----+--------------------------------------------------------------+ PF0 is called the administrative / admin function (AF) and has exclusive privileges to provision RVU functional block's LFs to each of the PF/VF.