From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 43191A04DD; Wed, 28 Oct 2020 08:19:02 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9147D72EC; Wed, 28 Oct 2020 08:18:59 +0100 (CET) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id 0E60072E5 for ; Wed, 28 Oct 2020 08:18:57 +0100 (CET) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 7EA645C01BA; Wed, 28 Oct 2020 03:18:54 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Wed, 28 Oct 2020 03:18:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=fm2; bh= 5iYlt73mebKztBw6my4BKrHTD0dDqv3YdQz0C0Qp9cE=; b=smeHyBEPJS9pH27W 2G26EhJs8Gje7g0wu5yaYf78KLhnSaibZWW9ZaWa01tgroFa4jvcGGOs7MQpVb0L Jk2amrSUL/8MgnNxEKZJaxgpg8Nwc32JHguUqMDbeMveQOjwwmV3zH7SFWx9wLvY DxwIYMF61Y166VkRblQwMlLdUTettN/JA8yWn+o+zluVC4+mCvHLoTZGlKXXJ5uH Zor/S6cB+J9NjbejNwpKJkSDNmaTzmqWk6jJ4IVzikQXikyajPckl/OKucN4tnSR 2PJdBWia2yOnubJkkaqDyhqDziWStLTW5bacU0vLbedSdQelVeNLTokNdZFDqz4/ pxGmZw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=5iYlt73mebKztBw6my4BKrHTD0dDqv3YdQz0C0Qp9 cE=; b=I/ZIDBxsuA4Zz/q0j7j3P/O9bJ8xdQrh2zo/t/X67YAOjEEHdHivQeaDv K4XoBu56GakS2CSwTk7zOCsqMrQxj/bpFUKX+sXXj2Ntal4xZK/eSymU91xAKmGs HMsyHDLQtC/q4E8CGSeFhkvXe56gq9Z8oX2j1OLxoyGEUs1TxLnuq8AujpEcp/sX NQ6454kIKch/g20NZU+0MrouLWdB9ucf4K+8trdKZM0m9D32sLsa1XfyXg+dX8Is zXd99QtReGu/g4IQ1kQuiEUm4K4QrDEBC4APmLv26g0PRA84MHto6bhlW79fLBVe jsB6EM9rd8DEe6BhURE3bwDLASt9w== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrledtgddutdegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnhepudeggfdvfeduffdtfeeglefghfeukefgfffhueejtdetuedtjeeu ieeivdffgeehnecukfhppeejjedrudefgedrvddtfedrudekgeenucevlhhushhtvghruf hiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghl ohhnrdhnvght X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 95CDD3280063; Wed, 28 Oct 2020 03:18:53 -0400 (EDT) From: Thomas Monjalon To: Ophir Munk Cc: dev@dpdk.org, Raslan Darawsheh , Matan Azrad , Tal Shnaiderman Date: Wed, 28 Oct 2020 08:18:51 +0100 Message-ID: <5028938.uPtTg7pymN@thomas> In-Reply-To: <20201027232335.31427-38-ophirmu@nvidia.com> References: <20201027232335.31427-1-ophirmu@nvidia.com> <20201027232335.31427-38-ophirmu@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v1 37/72] mlx5/windows: add mlx5_os header file under net X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 28/10/2020 00:23, Ophir Munk: > File drivers/net/mlx5/windows/mlx5_os.h is added. It includes specific > Windows definitions such as PCI driver flags link state changes > interrupts, link removal interrupts. The description does not match the content below. > Signed-off-by: Ophir Munk > --- > --- /dev/null > +++ b/drivers/net/mlx5/windows/mlx5_os.h > @@ -0,0 +1,19 @@ > +/* SPDX-License-Identifier: BSD-3-Clause > + * Copyright 2020 Mellanox Technologies, Ltd > + */ > + > +#ifndef RTE_PMD_MLX5_OS_H_ > +#define RTE_PMD_MLX5_OS_H_ > +/* sysfs equivalent under Windows */ > +enum { > + SYSFS_NAME_MAX = 64, > + SYSFS_PATH_MAX = 256 > +}; > +enum { > + DEV_SYSFS_NAME_MAX = SYSFS_NAME_MAX + 1, > + DEV_SYSFS_PATH_MAX = SYSFS_PATH_MAX + 1 > +}; There is no sysfs on Windows, so why do you need these definitions? > + > +#define PCI_DRV_FLAGS 0 > + > +#endif /* RTE_PMD_MLX5_OS_H_ */