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 E2D48A00C3; Wed, 19 Jan 2022 17:57:03 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8727B41176; Wed, 19 Jan 2022 17:57:03 +0100 (CET) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id 5B65F41147 for ; Wed, 19 Jan 2022 17:57:02 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1642611422; x=1674147422; h=message-id:date:to:cc:references:from:subject: in-reply-to:content-transfer-encoding:mime-version; bh=GTcww/jbpQiHLzmxk1otLIgJM4bIJMmUvUY16cCL/V4=; b=oCI6MrU0YwE33hwad2J481jLoWYgYSYn/HXXCV3tchnIT8b7XnowpXgi vSDJ5UX7nXg9J/DTVwUjblbxLhg7OVkCq2Y9YN81psPCaucaoL46s7qn5 ZIlO5yeUBpWIo+c/D/KQWgpwzTbf1HwpNoM41YQ31wVOJkSX/rK7RK5C4 G2Zh9YyCJBhBN/8OCKKKIUmvdIrofc/exRGMgBoTGxJJRmQK766Vwg+BP VSgH455/RH6PKu47DCj6ODcV85aR7NNQi3HUzVIe3/ebsNhvqxqoREpZn ywGQm1JMno8w4AZw5W4rtvUcNow53s4ZBVSY2rC44QRq8AnQcckil0Zoc w==; X-IronPort-AV: E=McAfee;i="6200,9189,10231"; a="331463561" X-IronPort-AV: E=Sophos;i="5.88,299,1635231600"; d="scan'208";a="331463561" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Jan 2022 08:57:01 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,299,1635231600"; d="scan'208";a="578876872" Received: from orsmsx604.amr.corp.intel.com ([10.22.229.17]) by fmsmga008.fm.intel.com with ESMTP; 19 Jan 2022 08:57:01 -0800 Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) by ORSMSX604.amr.corp.intel.com (10.22.229.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Wed, 19 Jan 2022 08:57:00 -0800 Received: from orsmsx606.amr.corp.intel.com (10.22.229.19) by ORSMSX611.amr.corp.intel.com (10.22.229.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Wed, 19 Jan 2022 08:57:00 -0800 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx606.amr.corp.intel.com (10.22.229.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20 via Frontend Transport; Wed, 19 Jan 2022 08:57:00 -0800 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.177) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.20; Wed, 19 Jan 2022 08:56:59 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=K30Y178LajowUo7DqvHlTf+QicxJoP21FZxU24zPMeqij/KJJ6EzRD4TJTtbbAk3A+0Sc8+3c6QUtSdJQ63tDOAhxO2BM5yqX1B4ei1LMFx0tysn+45l6+QR31UfbDinS2+zN6XzaeXSFeAo6V4fJrf2WFFndGbk7PBo+qyvao9eHWM/9FCikE1Z1ai/6c2bKFFMOV4oneDZ/XKWw3nX0F8AZLmyt2QGTTiaRyQOhin05t8eTdUx3Tw69tx2uFPIUqKaq5S42yaPLc8it5hlVG3evNuQKvmRPoxVYsaH37TyX0sIdJDH+Vmv/PLnlxlEruakIZp1iE8IrwO9sjPrhg== 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=B8lVLesI9iyWejqiJY9vNkqm2es+RrXX1NNyxdyW/8M=; b=ITZrTS2etessaWeEna7t3lnW9EH1BIYZhNQ5AgFfvC9F79KAuObT3pABW+H5cinTivxxW4qiua6s61dsB0Ot/KEBTB5Qh2fX+G+m4KQf0Xor+AMzWBXRew0I7iB/H3pFLHeRPzvI5yXdgc4OGYnUErjguTd7jmccvYDXCW0h0Lg0F6x81ZU8dNCgm1sT1lgGemSCrdxjTjgm3+/pDUUyeeWX2Euj6UBE8PCOH9pt0vVJfStqYmD/m9Kf2U9M27F+mPAnZhtD8Ywu4y3260LPqCtkh1SWaUyxmGLMsUCm4ZsM3s4yOaDJVr8HZx28tMKFuAG4vjiWwtOelNz8fqDj8w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) by PH0PR11MB4967.namprd11.prod.outlook.com (2603:10b6:510:41::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4888.11; Wed, 19 Jan 2022 16:56:59 +0000 Received: from PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::5046:8550:928d:850e]) by PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::5046:8550:928d:850e%7]) with mapi id 15.20.4909.008; Wed, 19 Jan 2022 16:56:59 +0000 Message-ID: <3030c4f9-d3f8-bf36-bba1-00656bcc7e2e@intel.com> Date: Wed, 19 Jan 2022 16:56:52 +0000 Content-Language: en-US To: Yanling Song , CC: , , , , References: From: Ferruh Yigit Subject: Re: [PATCH v6 00/26] Net/SPNIC: support SPNIC into DPDK 22.03 X-User: ferruhy In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO4P123CA0462.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:1aa::17) To PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 4844c6c7-390f-4e9a-3977-08d9db6cb4d5 X-MS-TrafficTypeDiagnostic: PH0PR11MB4967:EE_ X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:4941; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: DirZgS586ipjNdXg6SzwWaTSRrR92ErLYcDA+ey0BG4IKx+ve8/m0VFcq5qm9NXib4uhSTkZeLegVTSZQDT0aMpysF3wBNN5m/ZcT6nehREU6MPMthuVW6B1T2/UMkpoJzMTwz8vqmmgIzkyYrT+cn2Sw0NZF1MZiyh4uclQYEQEqo1xLI/6iaOPivInUrtcsoaFaZX+CHGPVH0m22OH3MOdoJW4wbrUmmjIbmbdAfNaS6w/p2xw8KrEWo09GRN36Y0sLhlglUTZWX22OIVM/cnWo5gbhfNvu1h2W4WZ+QINx7vMHfha6LWLLKfckPnl3fZxpuqAjwenkSk+BwakR0b2mjjRPSg5/owWO6+JdUblSorm4rLog8NFpsdqwDB82O71sh2S1dEAzbIf+Tw/VFlormxvof6lT+F3a3bibvaFENsVumNyXSLcSIZH9Ihbqe3fdNWWZdThO+QmXiJpBZfY7jpr2ETjVnOQcuihyIpc3epQlmt4nhnBuYCF4JAFYSjpCAyXUrMhS6ohx/wGltizRj8189dBooxGYlgTp2gRikY/9/mKUWM/idxQIwZkx/7CwYiCg/JAyQJvYCu0OGfoDxU1UbE1kWQXNbI6RAiUJeb6EUvUBzF0/HbF1Ipd5sp/J2F8sW3Owd8iZfwSFaoe4Hpe+cnmNPdO/SJPYFrkSH6s89eSYikS7tjKsLU7ZTbmB5Pg1ufDj3KeT0QcLg== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR11MB5000.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(366004)(36756003)(6506007)(5660300002)(31696002)(31686004)(53546011)(2906002)(26005)(82960400001)(186003)(44832011)(6486002)(508600001)(6666004)(8676002)(6512007)(8936002)(86362001)(38100700002)(2616005)(66946007)(316002)(83380400001)(66476007)(66556008)(4326008)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?VGs3aU5aTitXY3Zqell3dmp2QVljUmFCdEo5djRRbUs3K0NrbjljbUp6Vm9G?= =?utf-8?B?a0l1MldGazVhSG5rTXQ0WmEvajlTclI0VDNaZ296Tk95T1dQOG5GZWdUVGN1?= =?utf-8?B?eURXUjdJSHR0SG4xWTFqdTFqWEtlbTg5c0Mya0o1Ym9sSHlpa0hWNmRrajMv?= =?utf-8?B?aE5DMS9iV0U2N2UrR080VmNvTmFxRFR5M2dCWW5Ja2JUZDh3UXRUdHRoT3lq?= =?utf-8?B?YWRqREtVOHR1b1BlQ0N0dGtha3RsS0VKT0VjMUdVNngzTStGT28yZldiODYw?= =?utf-8?B?Q21zcUZoL0phd09jSWhNNUt2VXYwdFRxcit4VVhtS0U3NklteVNNNXNRd0Nk?= =?utf-8?B?TndST21jd0pGVm5ITUV1R3E1WXBXcGRxRVNMbEZNbDg3S2RMbm0wcTBaK1pv?= =?utf-8?B?NWsrMzFrSzR4K2dJRkRqL09YdDRaL0dwV01xNVBRaTJ3ZFpTTX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X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5000.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Jan 2022 16:56:58.9597 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: uhI4D9o4KHqTz/Rvi0qVxqAsdIeQwayn3ck+ePe/31NJmAA/MO5PaXKw+1wEfbOOSZJwe7ZfTmAQmRSpkn2e+w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB4967 X-OriginatorOrg: intel.com 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 12/30/2021 6:08 AM, Yanling Song wrote: > The patchsets introduce SPNIC driver for Ramaxel's SPNxx serial NIC cards into DPDK 22.03. > Ramaxel Memory Technology is a company which supply a lot of electric products: > storage, communication, PCB... > SPNxxx is a serial PCIE interface NIC cards: > SPN110: 2 PORTs *25G > SPN120: 4 PORTs *25G > SPN130: 2 PORTs *100G > Hi Yanling, As far as I can see hnic (from Huawei) and this spnic drivers are alike, what is the relation between these two? > The following is main features of our SPNIC: > - TSO > - LRO > - Flow control > - SR-IOV(Partially supported) > - VLAN offload > - VLAN filter > - CRC offload > - Promiscuous mode > - RSS > > v6->v5, No real changes: > 1. Move the fix of RTE_ETH_DEV_AUTOFILL_QUEUE_XSTATS from patch 26 to patch 2; > 2. Change the description of patch 26. > > v5->v4: > 1. Add prefix "spinc_" for external functions; > 2. Remove temporary MACRO: RTE_ETH_DEV_AUTOFILL_QUEUE_XSTATS > 3. Do not use void* for keeping the type information > > v3->v4: > 1. Fix ABI test failure; > 2. Remove some descriptions in spnic.rst. > > v2->v3: > 1. Fix clang compiling failure. > > v1->v2: > 1. Fix coding style issues and compiling failures; > 2. Only support linux in meson.build; > 3. Use CLOCK_MONOTONIC_COARSE instead of CLOCK_MONOTONIC/CLOCK_MONOTONIC_RAW; > 4. Fix time_before(); > 5. Remove redundant checks in spnic_dev_configure(); > > Yanling Song (26): > drivers/net: introduce a new PMD driver > net/spnic: initialize the HW interface > net/spnic: add mbox message channel > net/spnic: introduce event queue > net/spnic: add mgmt module > net/spnic: add cmdq and work queue > net/spnic: add interface handling cmdq message > net/spnic: add hardware info initialization > net/spnic: support MAC and link event handling > net/spnic: add function info initialization > net/spnic: add queue pairs context initialization > net/spnic: support mbuf handling of Tx/Rx > net/spnic: support Rx congfiguration > net/spnic: add port/vport enable > net/spnic: support IO packets handling > net/spnic: add device configure/version/info > net/spnic: support RSS configuration update and get > net/spnic: support VLAN filtering and offloading > net/spnic: support promiscuous and allmulticast Rx modes > net/spnic: support flow control > net/spnic: support getting Tx/Rx queues info > net/spnic: net/spnic: support xstats statistics > net/spnic: support VFIO interrupt > net/spnic: support Tx/Rx queue start/stop > net/spnic: add doc infrastructure > net/spnic: fixes unsafe C style code <...>