From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-eopbgr00041.outbound.protection.outlook.com [40.107.0.41]) by dpdk.org (Postfix) with ESMTP id 9485D1B1D0 for ; Fri, 19 Jan 2018 10:32:53 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=wCM5Ca2XFh9bvzPyekf33hWMmbq3bY5te/Jkp0lgw7s=; b=l6alrRO/kUqnFBGRy9cXSC4+/EZxNii9F2baNzvLWd8VekZrTjqy7DUautjK76CE4CtfPYdCD/mHd88EObaoPyun5F3DON11TQDadOSb4Q6h8jKz56UxyfPIpHS4VWOsk8aNxVwpf1caZys3qpBaxlZfDVOcx6i3ZwbtlptaN9E= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=motih@mellanox.com; Received: from mellanox.com (37.142.13.130) by VI1PR05MB3213.eurprd05.prod.outlook.com (2603:10a6:802:1b::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.407.7; Fri, 19 Jan 2018 09:32:50 +0000 From: Moti Haimovsky To: gaetan.rivet@6wind.com, ferruh.yigit@intel.com Cc: dev@dpdk.org, Moti Haimovsky Date: Fri, 19 Jan 2018 11:32:23 +0200 Message-Id: <1516354344-13495-1-git-send-email-motih@mellanox.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1516193643-130838-1-git-send-email-motih@mellanox.com> References: <1516193643-130838-1-git-send-email-motih@mellanox.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [37.142.13.130] X-ClientProxiedBy: HE1PR0102CA0051.eurprd01.prod.exchangelabs.com (2603:10a6:7:7d::28) To VI1PR05MB3213.eurprd05.prod.outlook.com (2603:10a6:802:1b::30) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 7b0ed653-fd4c-481b-707c-08d55f1f9c31 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(2017052603307)(7153060)(7193020); SRVR:VI1PR05MB3213; X-Microsoft-Exchange-Diagnostics: 1; VI1PR05MB3213; 3:U2u8z2w8R0bpt74Ub6npVePdxrVo5x9f2dfMbBlgzGPqcUj1or1q/aG7PnAtepjOuCEu2sDhkPkAbwXh6OWU0Q4DsGE6H9AHutpJUibrYpVSZre/vkuWJQlJYFH3R89ep4YSeNob6WblwVG1E0KtVs1PrZ47wOCcU3c9MMus6qlb518qfGjOCQu5SU/uGArPaw+0M0SGr8g6ACG5QJP3upgosQsloqlX1hLFvfaj+x9sBNYlBVuoBnSJ+D2iWA1d; 25:59bgr+Wu2D7JpL50rsXOr2pzL/K2Hg6AP+ihD/CwKWkzaTM0fsY2NE6Izc6QgimOkV1bZP5SYsqO3a+5CmdpimtJTHrjRmDDqfyme0DTtp5K8DuF2c4W+KYr7ADlnvEtjHUrfDoMzz9NrQdZ4H7u0yxGo1fZi6iLDOv550m2s7e8g0iC4slw3qB7+GUqJxg1XzY3EqEvVx6dy41AQxytN0PoKmCJiXun6v2XokvScOuVmIgi0YaWyjkwGaknB+5q2cKIyHQKBPQu4QAJhACdEQpMG5DRhUn6tJ+ScHKlfD/00dsbMrFVStoKe3NGQe9XP9B9Aznxa9IJs5iqGOMKYw==; 31:Hif2ay+9MRNTqFK0NYeTK0SaWrR2atOq0GYcfVaFIxwXd4HJdi3NgbQ6QLHSafvLRqUfvUbVR/MIViOP7gchvUDhGRBgsTtORh5i2I6kMN4EKrVQTPNn0H+dS5ujkSRtFiWqp2IKY1rT60psYiWZe+ZdoQrx+NTJg6K7Vs4KtNNZYPthBhxIkibNFvG/TANsKqABR2AZrNVI0K5B8uhm218qUAgsJV1VzliIgO7iUcI= X-MS-TrafficTypeDiagnostic: VI1PR05MB3213: X-Microsoft-Exchange-Diagnostics: 1; VI1PR05MB3213; 20:tAg8+kfEHFV3nLk3+ngqEeO0DG4tbnn+sCEPeeSHEU1N26DXwgNCZyvOMs2ykxkVp56wkW27RSuTf2Dbgk9kj4FKauJbTfSGWJYx+8mBqx4gJ5OdiRdUmAHzRT/tGBELEsDHH0Jrhe0OrIyyiJI7X8innnRLEPrebTE7IBZl0tWexLUHiTI0ns/WBYiipN8f2kbw8vSX+1Bnf24onXVXBJdWU0uQ3vrTWVLUiYL05pKBhkRkzwTBf1nRRkR35J5laFylwTNRbCMh7LrkCvVimB0eMpDHQuoy3DfwOAe3/EESNNKfaCuGAcnXpjk0xqEGxlyqWuh7K466+sEEpuO1JCfpGDquUwaXe7kcb6JN2COqzRiDhRims/OyjvFePpBjYPRgxPVhuqPv8mRoQseM4bbiQaConut3x44Da9ryzH5mpAJV/WCZ2UqdT2EWwpc6FLoxRxwX69/8jo1HZ/jJ+CYdN4kn/Gm0UPUHb9PGymc4LnKjSylyODgLcOC4p5jW; 4:HYgTmxpmQJ24NW2Yrq1UaH4qFXb8+QBzciFqz0Otft/9b7yK+CcPkPO31nvuzUtWANPqnw14LenYZY6vLSojDm8cnDa9kjcxg0KBmjKe5zfclEggojnlnXVQuwnJKG1TKjplbTpVC76TC/LtaUiGcTcnFp+tF7W8vipyPzVk5LTEkMiio8wXVBxXCJBJhYqoWaRv/5dB1bYUDyxdal3DIv0rWo16oUv2IhMhkJ0+cDRo9GHWul7Tw8KlEFO6F2NUzZq8iheZiaJ/oPKQhGJAWVL9psICLptIxotZ+O/0QmkoZJFDrteXPFY+Z5g0beAG X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(60795455431006); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040495)(2401047)(5005006)(8121501046)(3002001)(93006095)(93001095)(3231023)(2400075)(944501161)(10201501046)(6055026)(6041282)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123560045)(20161123558120)(20161123562045)(6072148)(201708071742011); SRVR:VI1PR05MB3213; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:VI1PR05MB3213; X-Forefront-PRVS: 0557CBAD84 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(39860400002)(39380400002)(346002)(366004)(396003)(376002)(189003)(199004)(3846002)(6116002)(47776003)(105586002)(106356001)(36756003)(2906002)(55016002)(53936002)(26005)(97736004)(52116002)(7696005)(51416003)(69596002)(86362001)(68736007)(386003)(50466002)(76176011)(66066001)(59450400001)(48376002)(8936002)(81166006)(50226002)(8676002)(81156014)(33026002)(107886003)(4326008)(25786009)(478600001)(5660300001)(4720700003)(16526018)(7736002)(21086003)(6666003)(2950100002)(305945005)(16586007)(316002); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR05MB3213; H:mellanox.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; VI1PR05MB3213; 23:WnA6gq9E+YqH0SR1o6vYaTAQDc1MrTL58BSL2h0D5?= =?us-ascii?Q?MGMxOY8mk3g3g4dH2u+pGXKf3xm58ro05LEYDCr/79MwFI5HBq+VNlj9o1zG?= =?us-ascii?Q?HphfmwwTFd2GwyLtb15t3QA6hJZZc4iFnYXk3jXwsRBi6U/4luViHNZI3sbB?= =?us-ascii?Q?SCoRTy9egpgX2TAHJdygdqXetaKojDQCuDnaUsothQ/zd5w+wB/01y8vx8OJ?= =?us-ascii?Q?pIxwenV835vaVn2kOlkeMyGGDe4GNbcIgTLXi9IDy7Ph5fjSU1ZPyb2R+BBA?= =?us-ascii?Q?Njo+tLhzCF8K77SoONDuFTM4qThy85qv61i8LqZ2FqPFQfXsA8SAgpzchZnW?= =?us-ascii?Q?o8lmk+g1xCPNFnljU+rOOYPE5fbeMVd6dnPGOd06gdf98Q92MQ8Nu34whEgR?= =?us-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Hl/Wyb84kiwU36gdFTkwujWBPowaC+6nirVxRYCNV6rlycVpZV7CHzrZlk3iGpR9tY7M1TXyPxwo78irsDJOpcIkwY+fAYbByQh56r/byCaDko/0fIq8ZozQWwowVh8hdv6W8fVY5RTe0ZGzEFInBcgGSMes9G3Sm/ZSHJ5fDTr0/1woX1pEDfKA9qYWSkoaxFrfp+pTuJ/4XDvtmV6kx8H1t6K3GRPwOu4qJqn6ue72551WR0kUSu1N9vGsIiYr37Kp+jBmNjB2PG3m50ysEWn8bCzJUNyYonw/2y/eKR3g6DL5lP9x0ATRwgeh5TzapxIQ1M=; 5:jw3D7WAuLVfEDYVUNcveBmSh1KYXmo0XPxV7lWqIcLuLHJUEkfs6uSR+u/R3oczXYy+CslaEspKS/0Zo+COkL/b9mIF+cLT/H8FeffcWQNBCSRg2/OPk3HQvBfXEQsFuMQRh88sPF3fg2KDhTWtgFibrc5PT0BThtgQiDp6biQs=; 24:U/d8Cr8lwoHjeRgyu+Xq3ZGI32AYgVW26xaTwO+/+ZEgtsTsQCLGWPNYoGo2cpaRm2lSAfoRencKEgB40H2LrR1+GYdNJFhAmsinMEQ0pZE=; 7:GT98I8KSSDjgvxsyq/bvILWwce+y7g+kUnq7bnhiBLzg3/CkRBYV7/E+3XArsqih16xpYtNEsvKYrw6ePn89v8z0NR9QtjO0l618aBPtQPGiytU1Et5l3PA63xwTiaincnUaVlEfwQkBPz/ZBd6wNaDaStjn6mPe9uHrQiEw3LLBVvn4x9ZG5NcVDUx2Hfn62Nh7PKz6SQ1JA0iACF2aCLBN867bI5Vmrp0tIw47TBT+UpKqrj7QIxafAcheT8Pf SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Jan 2018 09:32:50.2372 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 7b0ed653-fd4c-481b-707c-08d55f1f9c31 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR05MB3213 Subject: [dpdk-dev] [PATCH v4] net/failsafe: add Rx interrupts 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: , X-List-Received-Date: Fri, 19 Jan 2018 09:32:53 -0000 This patch adds support for registering and waiting for Rx interrupts in failsafe PMD, The patch should be applied on top of the following series of patches by Matan Azrad: [PATCH v6 0/6] Fail-safe\ethdev: fix removal handling lack [PATCH v6 0/8] Introduce virtual driver for Hyper-V/Azure platforms [PATCH v3 0/7] Port ownership and syncronization V4: Rebase on top of Matam Azrad patches listed above. V3: Fixed build failures in FreeBSD10.3_64 V2: Modifications according to inputs from Stephen Hemminger: * Removed unneeded (void *) casting. Fixed coding style warning. Moti Haimovsky (1): net/failsafe: add Rx interrupts doc/guides/nics/features/failsafe.ini | 1 + drivers/net/failsafe/Makefile | 1 + drivers/net/failsafe/failsafe.c | 4 + drivers/net/failsafe/failsafe_ether.c | 1 + drivers/net/failsafe/failsafe_intr.c | 597 ++++++++++++++++++++++++++++++++ drivers/net/failsafe/failsafe_ops.c | 28 ++ drivers/net/failsafe/failsafe_private.h | 44 +++ 7 files changed, 676 insertions(+) create mode 100644 drivers/net/failsafe/failsafe_intr.c -- 1.8.3.1