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 60FE0A0543; Thu, 15 Dec 2022 00:18:18 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 018F340684; Thu, 15 Dec 2022 00:18:18 +0100 (CET) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id 0EB1D400D6 for ; Thu, 15 Dec 2022 00:18:15 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1671059896; x=1702595896; h=message-id:date:subject:to:cc:references:from: in-reply-to:mime-version; bh=5sHQ+KMTIdguWDe+gy2W+42dhMAsnlXbjVxyf/xFyYw=; b=NebntLbukvOmhuVlyCmZb5mKeWZT4DBcefIquyzc7CRGRy6Nh1xnaz4f IekUZR5XBY9g031IOHKnoJBqKQhZMFFrsv6qu9f5zlOrPLoYDcA1jWPRb MElVdm/0cUPZSE+keclspZBbW9HACMYHS3Eg/f9UFbGpkkq4x1jJJx1Ca EFVavZ8n/FWaoBxECKIiJLNU1ekdJwoZ3NMqy+IJs998G3neCs3VZxhfn ouNtfZurjq63/zTrOxyK2JRyTRU+EOUIcruYH1u/Qp0Vct0bjVUET/LeF +COWrCimpwhclYqPKLlwF7GzBkpgvIX5807UZDar+J6+ebDDCbcJIKkBn g==; IronPort-Data: A9a23:eAsh/KiZgfx/LWCwMGdRh8iCX161MBEKZh0ujC45NGQN5FlHY01je htvC22HMviKMGuhfdEgb9nlpx4PuMXUx99mSFZu/ns2QnkW8JqUDtmndXv9bniYRiHhoOOLz Cm8hv3odZhsJpMJjk71atANi1EiiPnQLlbbILecZ34oLeNcYH59z0glwobVu6Yw6fChGQSBp NjulMPWPV6hylZcP3kdg065gEoHUM/a5XVJ4DTSWdgR5AWEziNMUM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PP+VpgNctvpcfHHflAlfii8R156AW6XX53vaEi94aIfpo9Fvd2XRA== X-IronPort-AV: E=McAfee;i="6500,9779,10561"; a="298879237" X-IronPort-AV: E=Sophos;i="5.96,245,1665471600"; d="scan'208,217";a="298879237" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Dec 2022 15:18:14 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10561"; a="737859815" X-IronPort-AV: E=Sophos;i="5.96,245,1665471600"; d="scan'208,217";a="737859815" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by FMSMGA003.fm.intel.com with ESMTP; 14 Dec 2022 15:18:14 -0800 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Wed, 14 Dec 2022 15:18:14 -0800 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16 via Frontend Transport; Wed, 14 Dec 2022 15:18:14 -0800 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.102) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.16; Wed, 14 Dec 2022 15:18:13 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PYV4t8RApRfjSD8bq9LfgsI/7yepNA3CjYcc0piyRUedaZJe4cqhiRDjCybzwKefLcaIpnncu3mkOPZO54bVz0vJXG3YUhwYqnVTCe6g8GOFfDR2Db04KahaZqYeWkX9tpiMYomqqpLjyqpMpQHnCXJwOAqsrExlYIPr33Y7ReVIBYEeaEIQ/tE4hlYfXz51688q+wTehwuyNejBYzs4OBsdIZSFPRQx/9jRrwhVL7STeOY7Bakyd811H1nptd7ObBHgbWnmJyaMPi3MhVA4o5CZovt515ZUEGQKw3Geu5G1L4FlCnQSpIDnl65V31XEILNLnM0RqCUxW0MmkYOjaA== 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=GOxisw2fJGSyP4HuaSmfFCk2FOnYn56RDXB2O19WWrs=; b=BweE295VnespGXSTUseRI/kItlHwRs4Ch8pxfprrC6J3tSrRcycjXy8O88IvC4Yqq6xrXaHAU/WLjZJJdJW4z3VKcEdxfDMMja+lLcnkWoLNtRLC50wYGqs+8XuLCIkaBCruq77ngSSBTrLmsNIuaqgXmb/VyJxGiqg0/Zp22vO6rcVpBDqIimvG7Wdcha93Q9KQmJ/kyH2KeKltJdjaWE1NSQ6PXRJrL/zj0Ee9QUDQsU3hDu92t6ShntrS2LbH2dfCsjxjcSNyuNpgphchvxGcLebs5DjBXUCcGEauoQ6cfIPslhfwtGR1uRAfrP9k4MI0QIzRNXRU8R3dsXSgsQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from MW5PR11MB5858.namprd11.prod.outlook.com (2603:10b6:303:193::20) by MN2PR11MB4552.namprd11.prod.outlook.com (2603:10b6:208:263::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5880.19; Wed, 14 Dec 2022 23:18:11 +0000 Received: from MW5PR11MB5858.namprd11.prod.outlook.com ([fe80::fbe:5fab:b47d:97cf]) by MW5PR11MB5858.namprd11.prod.outlook.com ([fe80::fbe:5fab:b47d:97cf%4]) with mapi id 15.20.5880.019; Wed, 14 Dec 2022 23:18:11 +0000 Content-Type: multipart/alternative; boundary="------------g0u4hJR6xcQP0U7xpKlmlBXa" Message-ID: <51cd4498-fb28-bcff-3ad4-1108da87ecc8@intel.com> Date: Wed, 14 Dec 2022 15:18:08 -0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Firefox/102.0 Thunderbird/102.6.0 Subject: Re: [PATCH 2/8] net/ring: build on Windows Content-Language: en-CA To: Stephen Hemminger , CC: Bruce Richardson References: <20221201014440.11896-1-stephen@networkplumber.org> <20221201014440.11896-3-stephen@networkplumber.org> From: "Kadam, Pallavi" In-Reply-To: <20221201014440.11896-3-stephen@networkplumber.org> X-ClientProxiedBy: BYAPR11CA0047.namprd11.prod.outlook.com (2603:10b6:a03:80::24) To MW5PR11MB5858.namprd11.prod.outlook.com (2603:10b6:303:193::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MW5PR11MB5858:EE_|MN2PR11MB4552:EE_ X-MS-Office365-Filtering-Correlation-Id: fa4550d7-0d70-4c8d-95a7-08dade2977c3 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: x3TxWjVQLx0JDTAfoKfjkRWyJtPXCZCRvdGnzWBc1UB36IwXnWXoel7yut6chYn6AHFxiDru0XsozJkPvOodzs7DiHhBND/nUf7Ml/lAisULhA/15g+ShZlJhDfG83pLnO3d+U3Jcx1ONBhh74InAS/CQ6QmjEt0mt/FeGZQLQOdWc4GeY2Ta++FMAdrxxNHU502gcUkGLQ8oparF9eSoc0m3IjRMkvPy4RcLP2Vb1AUVyDvzgkpAS2tmS/stv8ffEI2dYlNhQZl4DOUsfDqa8shbcT1BzBKYXfCl6PKr3LSXobxlV/Eg9Oosm+Eitn2dM/AyiUuHYuhKVUJQ2bqQJVv6HkY8J6H+WTKgrw5wfdtlabfrKBFtr8AoyPgm37ILpbggGmTdSZGDSL6MxSYZexTlXM+Si7S2Vc79mObDoJjm/Y8lUFZXzKOC5WAVN5cecr3p/Iu8lRPX9zkIWO285S4Ox34bduFOxL+1F3wLac2Yq+ldwGf3EwtuMx/V6yRdDtgxhIaCNiOF7Yp4Q6bZCYblHVYVFPPU0I/f8AhNKJ48Ap2RdRB4jFufi74l0zp8zVqxHOeK/Lz+JQRHFWLJG43lNS4ftTnaST/8RxbuDTVlbPUkRgkqAJyXSMl9u4nAZkRwDgOtraayc5suz2511jMT86OMDIklkBpiHAk1IIo7F5BA7fBRA0Oir5/m9yFeFw6ZA45v5WvC9FJHUXBOfX7VpjiTohIwR4OYsijy1s= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MW5PR11MB5858.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(376002)(136003)(39860400002)(366004)(396003)(346002)(451199015)(31696002)(38100700002)(2906002)(82960400001)(31686004)(4326008)(66476007)(41300700001)(36756003)(6666004)(53546011)(86362001)(66556008)(6506007)(107886003)(6512007)(5660300002)(316002)(8936002)(8676002)(26005)(66946007)(33964004)(2616005)(6486002)(478600001)(186003)(45980500001)(43740500002); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?eGJoR3ZvN1J6YTBXdFE5WW44THF3SnBORm5aOVlPSENvaDdGUy9QcHdRYnQz?= =?utf-8?B?dlJQQ1IxeDh3alJXbDZJcVVuTjhxQWhXdnU5UFFMVHNxRC8vdUIra25Dc3dX?= =?utf-8?B?dEZoYzc0bXVuWjFMc3l4VEJ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dhQTFp?= =?utf-8?B?bFN6aGZzRFhhcVAyb1VBcnZob1R6cVJnYXBBUHZRNGhPSmlCWnMwUUVKYlVi?= =?utf-8?B?MXBHRkYvekE0VmdLcFVpWDgzcXA4aUM0WHZZcHpuNkNXckMyeVdKb2RwZ2FW?= =?utf-8?B?aTdRN09uNmVtUnFkeG1YWklQQjJCM1RVbUxERUhtZDFYRWgvd2ZLell1MGhE?= =?utf-8?B?b0VoMEZockJ3WlZNbGt1eTF2KytRTFE4MWV6Si9RZGRPSEpNa1NKNE1IYVpq?= =?utf-8?B?Nmc9PQ==?= X-MS-Exchange-CrossTenant-Network-Message-Id: fa4550d7-0d70-4c8d-95a7-08dade2977c3 X-MS-Exchange-CrossTenant-AuthSource: MW5PR11MB5858.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Dec 2022 23:18:11.2409 (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: ujEH9l50A2CgRmRHWll9SZBHotgT/NKvnmTElrfNf+ZRgWjPd927hotdwXIY1aR+K6TC4LX4fv45s3lPWps7Ig== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB4552 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 --------------g0u4hJR6xcQP0U7xpKlmlBXa Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit Hi Stephen, Thanks for enabling this support. On 11/30/2022 5:44 PM, Stephen Hemminger wrote: > This driver builds ok on windows, but need to modify the > test meson build to skip the eventdev test on Windows. > > Signed-off-by: Stephen Hemminger > --- There is still a build error with clang compiler on Windows as mentioned by Dmitry: ../drivers/net/ring/rte_eth_ring.c:542:12: error: use of undeclared identifier 'PATH_MAX' char name[PATH_MAX]; ^ #include is missing > --------------g0u4hJR6xcQP0U7xpKlmlBXa Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: 7bit
Hi Stephen,
Thanks for enabling this support.
On 11/30/2022 5:44 PM, Stephen Hemminger wrote:
This driver builds ok on windows, but need to modify the
test meson build to skip the eventdev test on Windows.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
There is still a build error with clang compiler on Windows
as mentioned by Dmitry:

../drivers/net/ring/rte_eth_ring.c:542:12: error: use of undeclared identifier 'PATH_MAX'
        char name[PATH_MAX];
                  ^
#include <rte_os_shim.h> is missing
 
--------------g0u4hJR6xcQP0U7xpKlmlBXa--