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 24EEA4388D; Thu, 11 Jan 2024 07:44:43 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1237840266; Thu, 11 Jan 2024 07:44:43 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 4BDC640042 for ; Thu, 11 Jan 2024 07:44:41 +0100 (CET) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 40B3TKt4021799 for ; Wed, 10 Jan 2024 22:44:40 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h= from:to:cc:subject:date:message-id:mime-version:content-type; s= pfpt0220; bh=v5VegGDg3TrsicW7FLhX6K5IX/SQ0qr+Mk9MJbzNtB4=; b=S6T GijX0BnJRbzW3xaWrFuE6vJX4Dhd0B3WIs1sylszC9IMbVRoGtcNGbhmt35eI0FQ UO8NB5PGgdgzKhoaiHSltAQdYPhGpjB7up8so/RBMmnQ9u/dzSSmQksGeovEeD0t iLV7lOw61pUNO0c4U82COjCN/oU9rzEmAmJm+QazkErvUNlBwEqdpwbpDaP84VF/ 4JbWjlqjg7D2LBzfRpqBYzNlPzYs+46if/GyWGo6dMpWHU1tlzKNEAiPTzOBLcVL 08iSgcuR+nF+CIsJPq7ZTmzTvMRpUyyyiQH1qj+g9WD8PSJGWKhGsSPsRGjxZJlc /EmCb6ev0jDThX65i0w== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3vj8fk0fde-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Wed, 10 Jan 2024 22:44:40 -0800 (PST) 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.48; Wed, 10 Jan 2024 22:44:38 -0800 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.48 via Frontend Transport; Wed, 10 Jan 2024 22:44:38 -0800 Received: from localhost.localdomain (unknown [10.29.52.211]) by maili.marvell.com (Postfix) with ESMTP id 50D2B3F7043; Wed, 10 Jan 2024 22:44:37 -0800 (PST) From: Harman Kalra To: CC: , Harman Kalra Subject: [PATCH 0/2] multiple representors in one device Date: Thu, 11 Jan 2024 12:14:30 +0530 Message-ID: <20240111064432.193119-1-hkalra@marvell.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-GUID: R5spJkyW6dSR1F8Ewm2B2J_LEwv3iJZv X-Proofpoint-ORIG-GUID: R5spJkyW6dSR1F8Ewm2B2J_LEwv3iJZv X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-12-09_02,2023-12-07_01,2023-05-22_02 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 Following series adds support to enable creation of multiple representors under one base device. There may be scenarios where port representors for multiple PFs or VFs under PF are required and all these representor ports created under a single pci device. Marvell CNXK port representor solution is designed around this scenario where all representors are backed by a single switch device. Earlier this change was implemented as part of the Marvell CNXK port representor series but after suggestions from Thomas we would like to propose these changes in common code. https://patches.dpdk.org/project/dpdk/patch/20231219174003.72901-25-hkalra@marvell.com/#166785 Harman Kalra (2): ethdev: parsing multiple representor devargs string doc: multiple representors in one device doc/guides/prog_guide/poll_mode_drv.rst | 4 +++- .../prog_guide/switch_representation.rst | 1 + drivers/net/bnxt/bnxt_ethdev.c | 2 +- drivers/net/enic/enic_ethdev.c | 2 +- drivers/net/i40e/i40e_ethdev.c | 2 +- drivers/net/ice/ice_dcf_ethdev.c | 2 +- drivers/net/ixgbe/ixgbe_ethdev.c | 2 +- drivers/net/mlx5/linux/mlx5_os.c | 4 ++-- .../net/nfp/flower/nfp_flower_representor.c | 2 +- drivers/net/sfc/sfc_ethdev.c | 2 +- lib/ethdev/ethdev_driver.c | 19 ++++++++----------- lib/ethdev/ethdev_driver.h | 4 ++-- 12 files changed, 23 insertions(+), 23 deletions(-) -- 2.18.0