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 45051A0548; Fri, 3 Jun 2022 00:52:36 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3437941611; Fri, 3 Jun 2022 00:52:36 +0200 (CEST) Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2058.outbound.protection.outlook.com [40.107.243.58]) by mails.dpdk.org (Postfix) with ESMTP id F19DD4021E for ; Fri, 3 Jun 2022 00:52:34 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HyKURqDEijFFP/gOAb9HsPOQh1EpDepOFy9hKtRwpnIqwCwxW2LFB7NrbVtsRb8TCLTmEWG1FAyt7GGwmx/VEtVw2uG1lrZyClYE6XtQ6aOS2Rj6kFZDwOHwZ9lHN8mMaaT6DWGBYX33NvoWiytymLv59KAcXLsI9kiw6rcL20/wvHzsZlsFJN6SArp1xsWF4lltraUal8y/xi/E548QdMbHK0Tzrheuqj/HSp9b90ybQZk6FV+/G7UIuUgKX/odh+SEZv9of+yVmrmfterj3eXHTYrSFXCr5HY9ROFdPnzjIohJJ9WS3+jZEOhnP0VYLwuxD/UqlP7M1J3hNt0DFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=PIfwmmyaJjlaCSNBXchP28CZAHxP8bTrHpZ33clPf3w=; b=ako99nM4e/l6ujGNfiv5EDQutPeVZN0AmuDBC/ZCfXt6L/+JJC5Q97AvPkGxvd53+SYQc/FgAf3fYQVlpjaLAAhxiHitDAyee7baFVycGBm40w4aNXua4kHJfw21rJmeHB/6mABegzyzleHgmb9LGkTSCk7C2KzZe0ofMx9ajTs8TJjNMfIF4CXUtWs/L3Kp7AOKs1td8gS9ESw7nE7mTUPlW2vxXVN8NzqWsIqwKqmY3hEg9RhRgj8POhh4VpnMEztvnHI8BiOgROU7+dJTioGdT0bk0x94IO6y0kwTv2iOU36AyEtlmkGrNxdhDXeUEAWCfrmlto/Wq0WWcwjCZQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 149.199.80.198) smtp.rcpttodomain=corigine.com smtp.mailfrom=xilinx.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=xilinx.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xilinx.onmicrosoft.com; s=selector2-xilinx-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=PIfwmmyaJjlaCSNBXchP28CZAHxP8bTrHpZ33clPf3w=; b=TEjoi5FoZmw0x9tuJIs9GHjnou//9TMj/4AELBk7ww6x8z5cO+DRkBDRv65kXNXKHOgvUy/C4coDCOK8wr541uoDHMI3mx66Q+NGmVg7dbqkEi2WR/qCqpS4vqFAjxHHMrAI9QcsjdQSLEGiHZWluMUlrvCVSiYZJNNI6jaHfZQ= Received: from DM3PR08CA0017.namprd08.prod.outlook.com (2603:10b6:0:52::27) by DM8PR02MB8006.namprd02.prod.outlook.com (2603:10b6:8:17::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5314.12; Thu, 2 Jun 2022 22:52:33 +0000 Received: from DM3NAM02FT025.eop-nam02.prod.protection.outlook.com (2603:10b6:0:52:cafe::8b) by DM3PR08CA0017.outlook.office365.com (2603:10b6:0:52::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5314.13 via Frontend Transport; Thu, 2 Jun 2022 22:52:33 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 149.199.80.198) smtp.mailfrom=xilinx.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=xilinx.com; Received-SPF: Pass (protection.outlook.com: domain of xilinx.com designates 149.199.80.198 as permitted sender) receiver=protection.outlook.com; client-ip=149.199.80.198; helo=xir-pvapexch01.xlnx.xilinx.com; pr=C Received: from xir-pvapexch01.xlnx.xilinx.com (149.199.80.198) by DM3NAM02FT025.mail.protection.outlook.com (10.13.4.112) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5314.12 via Frontend Transport; Thu, 2 Jun 2022 22:52:33 +0000 Received: from xir-pvapexch01.xlnx.xilinx.com (172.21.17.15) by xir-pvapexch01.xlnx.xilinx.com (172.21.17.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.14; Thu, 2 Jun 2022 23:52:32 +0100 Received: from smtp.xilinx.com (172.21.105.197) by xir-pvapexch01.xlnx.xilinx.com (172.21.17.15) with Microsoft SMTP Server id 15.1.2176.14 via Frontend Transport; Thu, 2 Jun 2022 23:52:31 +0100 Envelope-to: jin.liu@corigine.com, dev@dpdk.org, niklas.soderlund@corigine.com, na.wang@corigine.com, peng.zhang@corigine.com, chaoyong.he@corigine.com Received: from [10.71.116.16] (port=11498) by smtp.xilinx.com with esmtp (Exim 4.90) (envelope-from ) id 1nwtg7-0005Yu-It; Thu, 02 Jun 2022 23:52:31 +0100 Message-ID: <0dbb19f2-636c-13f8-e38a-661bf8f94891@xilinx.com> Date: Thu, 2 Jun 2022 23:52:31 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: [PATCH 06/14] net/nfp: support NFP3800 card Content-Language: en-US To: Jin Liu , CC: , Diana Wang , Peng Zhang , Chaoyong He References: <20220602015304.710197-1-jin.liu@corigine.com> <20220602015304.710197-7-jin.liu@corigine.com> From: Ferruh Yigit In-Reply-To: <20220602015304.710197-7-jin.liu@corigine.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: e405322f-db5f-4b46-e801-08da44ea94a8 X-MS-TrafficTypeDiagnostic: DM8PR02MB8006:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: LYEBnOAXjGXXgTe3MjWCgKOiyS4Aa8ysanCdzzi0Y9ME+/NQPM9glvANM2CX0aJzANgJ03LUt8Okgq1ZE7ZJOXMkamnVuGz/+QszshR045St/L90Cxaqi6SMqMS1S1Ivk9dlnnTcB2jHrLblPnXdqApZY2St1DWZKbQWFtfsjm3ubURnMyYP2MQ1bILysqQrXAUM2nEtQGDk/g5NB9I8gpa9jGco0a4DBZk30NraIGRidWKhPcubZSzuIYKvXnmUpMuqYCSiwTE/6HE+y5f4F/1chMHA5DBM3l3pfrF9jGxg8ra8Op6bsaoe4S89KKt4aqb4DeqwmzDHPnTWy2BJuB/5zwkFqg6TFi3h4cdywQRJUPf03abLBNwFqhu2QXEi9Slf4vw3/s/3D7TuQsw91k0LgtHs+M+s2nqqtZzJmOfRJ2fPEMPmH7pbIlbhYrFVt0zRzcoPN08AmUyEb1D4Yu9vYNjvxODcpiQ1bgOPBtcDa4OP0pA0KjJznyR7724X88PPZW93VTBrfH1w1PYPzM7smJmS+Ja7oIqlTTf206NK+sHjgT4jvjJWH5DzpVMtbZVTiK7r/2ZNGlfEjhz8yQxJKTKHFh56qDCC5HPghOFMvnr7UNinvl/J8jKBTIye82Eg4OfgYETHdh8ZEgp33b7LfW/K2qovaH69SV0bW9Ft6HDICGo+xJmSEhOV84ipzBrT5aH2AjWfq8px+78bEVus/EqZkVG5C24nEgdURm0= X-Forefront-Antispam-Report: CIP:149.199.80.198; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:xir-pvapexch01.xlnx.xilinx.com; PTR:unknown-80-198.xilinx.com; CAT:NONE; SFS:(13230001)(4636009)(46966006)(36840700001)(40470700004)(9786002)(26005)(31696002)(53546011)(2906002)(47076005)(2616005)(66574015)(426003)(336012)(110136005)(54906003)(8676002)(36756003)(316002)(70206006)(70586007)(4326008)(31686004)(82310400005)(40460700003)(7636003)(44832011)(36860700001)(83380400001)(186003)(8936002)(5660300002)(356005)(508600001)(50156003)(43740500002); DIR:OUT; SFP:1101; X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Jun 2022 22:52:33.1292 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e405322f-db5f-4b46-e801-08da44ea94a8 X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=657af505-d5df-48d0-8300-c31994686c5c; Ip=[149.199.80.198]; Helo=[xir-pvapexch01.xlnx.xilinx.com] X-MS-Exchange-CrossTenant-AuthSource: DM3NAM02FT025.eop-nam02.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM8PR02MB8006 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 On 6/2/2022 2:52 AM, Jin Liu wrote: > Add support for a new type of NIC NFP3800 card, and update some > network card data acquisition interface functions. > > Signed-off-by: Jin Liu > Signed-off-by: Diana Wang > Signed-off-by: Peng Zhang > Signed-off-by: Chaoyong He > Signed-off-by: Niklas Söderlund > --- > drivers/net/nfp/nfp_common.h | 33 +++++++++++++++++++++++++-- > drivers/net/nfp/nfp_ethdev.c | 28 ++++++++++++++++++++--- > drivers/net/nfp/nfp_ethdev_vf.c | 9 ++++++-- > drivers/net/nfp/nfpcore/nfp_cpp.h | 2 +- > drivers/net/nfp/nfpcore/nfp_nsp_eth.c | 20 ++++++++++++---- > 5 files changed, 79 insertions(+), 13 deletions(-) > > diff --git a/drivers/net/nfp/nfp_common.h b/drivers/net/nfp/nfp_common.h > index 1dd230bcc6..346fece527 100644 > --- a/drivers/net/nfp/nfp_common.h > +++ b/drivers/net/nfp/nfp_common.h > @@ -16,9 +16,11 @@ > > #define NFP_NET_PMD_VERSION "0.1" > #define PCI_VENDOR_ID_NETRONOME 0x19ee > +#define PCI_DEVICE_ID_NFP3800_PF_NIC 0x3800 > +#define PCI_DEVICE_ID_NFP3800_VF_NIC 0x3803 Can you please document new device support both in the driver doc and release notes?