From patchwork Wed Apr 5 14:25:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sathesh B Edara X-Patchwork-Id: 125801 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 74C5A428D4; Wed, 5 Apr 2023 16:25:45 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5D3E141153; Wed, 5 Apr 2023 16:25:45 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 26A6341133 for ; Wed, 5 Apr 2023 16:25:44 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3357OFUS006670 for ; Wed, 5 Apr 2023 07:25:43 -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-type : content-transfer-encoding; s=pfpt0220; bh=IN/4415/hHwVN0oUpFdUtMYjJgvMYf45dfpvo5VgW2w=; b=bDTA2ySKR3ORUv6kQ5qSQVJYjH7FzXSACHkcf6tUXQwgK5vHHMJKxJoEyJfsN5Ou1BBM PTvuYcP3ydC46Jh4TEz/xSf+wUER1nDmGNXKbvYBT14MQaFaVR2F00dQxGQg+xNF6ViI SGhhGyNJb1wIJOfVv64zWRSCZ87kAqZnKY1Wz2tot2hm61ZgqMnz4Ac6tRCAVHUlqn69 T3KM4F8wYCKDzc4gBiuqZyi4drE8ujBx656FLtUpFZvHaS1Aj8hGK0hGTWKuB/CL8qGH +wHhYXX7bC0CgfKAf6kCXiuCng8wBTCK016gonHQTn886pSPsEqss+X/BrjinrajUH/Q uw== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3ps4jpjbgk-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Wed, 05 Apr 2023 07:25:43 -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.48; Wed, 5 Apr 2023 07:25:41 -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.48 via Frontend Transport; Wed, 5 Apr 2023 07:25:41 -0700 Received: from localhost.marvell.com (unknown [10.106.27.249]) by maili.marvell.com (Postfix) with ESMTP id 7552C3F7050; Wed, 5 Apr 2023 07:25:41 -0700 (PDT) From: Sathesh Edara To: , , CC: Subject: [PATCH v2 00/10] extend octeon ep driver functionality Date: Wed, 5 Apr 2023 07:25:26 -0700 Message-ID: <20230405142537.1899973-1-sedara@marvell.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20230404141855.1025625-2-sedara@marvell.com> References: <20230404141855.1025625-2-sedara@marvell.com> MIME-Version: 1.0 X-Proofpoint-GUID: Rm-0SaLVDLKLlOv0k3yMbvSUtHmm7tvz X-Proofpoint-ORIG-GUID: Rm-0SaLVDLKLlOv0k3yMbvSUtHmm7tvz X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-04-05_09,2023-04-05_01,2023-02-09_01 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 This patch set adds the following support to octeon_ep driver - extends support for newer SoCs - support new features like IQ/OQ reset, ISM, mailbox between VF and PF and sets the watermark level for output queues. V2 changes: - Fixes compilation errors and warnings Sathesh Edara (10): net/octeon_ep: support cnf95n and cnf95o SoC net/octeon_ep: support CNX10K series SoC net/octeon_ep: support error propagation net/octeon_ep: support IQ/OQ reset net/octeon_ep: support ISM net/octeon_ep: fix DMA incompletion net/octeon_ep: update queue size checks net/octeon_ep: support Mailbox between VF and PF net/octeon_ep: set watermark for output queues net/octeon_ep: set secondary process dev ops drivers/net/octeon_ep/cnxk_ep_vf.c | 92 ++++++-- drivers/net/octeon_ep/cnxk_ep_vf.h | 29 ++- drivers/net/octeon_ep/meson.build | 1 + drivers/net/octeon_ep/otx2_ep_vf.c | 279 ++++++++++++++++++++--- drivers/net/octeon_ep/otx2_ep_vf.h | 77 ++++++- drivers/net/octeon_ep/otx_ep_common.h | 71 +++++- drivers/net/octeon_ep/otx_ep_ethdev.c | 264 +++++++++++++++++++--- drivers/net/octeon_ep/otx_ep_mbox.c | 309 ++++++++++++++++++++++++++ drivers/net/octeon_ep/otx_ep_mbox.h | 163 ++++++++++++++ drivers/net/octeon_ep/otx_ep_rxtx.c | 111 +++++---- drivers/net/octeon_ep/otx_ep_rxtx.h | 4 +- drivers/net/octeon_ep/otx_ep_vf.c | 71 ++++-- 12 files changed, 1316 insertions(+), 155 deletions(-) create mode 100644 drivers/net/octeon_ep/otx_ep_mbox.c create mode 100644 drivers/net/octeon_ep/otx_ep_mbox.h