From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dispatch1-us1.ppe-hosted.com (dispatch1-us1.ppe-hosted.com [67.231.154.164]) by dpdk.org (Postfix) with ESMTP id E1C035F28 for ; Thu, 20 Sep 2018 15:56:32 +0200 (CEST) X-Virus-Scanned: Proofpoint Essentials engine Received: from webmail.solarflare.com (webmail.solarflare.com [12.187.104.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mx1-us3.ppe-hosted.com (Proofpoint Essentials ESMTP Server) with ESMTPS id 7796AB80080; Thu, 20 Sep 2018 13:56:31 +0000 (UTC) Received: from ocex03.SolarFlarecom.com (10.20.40.36) by ocex03.SolarFlarecom.com (10.20.40.36) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Thu, 20 Sep 2018 06:56:10 -0700 Received: from opal.uk.solarflarecom.com (10.17.10.1) by ocex03.SolarFlarecom.com (10.20.40.36) with Microsoft SMTP Server (TLS) id 15.0.1395.4 via Frontend Transport; Thu, 20 Sep 2018 06:56:10 -0700 Received: from ukv-loginhost.uk.solarflarecom.com (ukv-loginhost.uk.solarflarecom.com [10.17.10.39]) by opal.uk.solarflarecom.com (8.13.8/8.13.8) with ESMTP id w8KDu85q005359; Thu, 20 Sep 2018 14:56:08 +0100 Received: from ukv-loginhost.uk.solarflarecom.com (localhost [127.0.0.1]) by ukv-loginhost.uk.solarflarecom.com (Postfix) with ESMTP id CBF3E1626D1; Thu, 20 Sep 2018 14:56:08 +0100 (BST) From: Andrew Rybchenko To: Gaetan Rivet CC: Date: Thu, 20 Sep 2018 14:55:48 +0100 Message-ID: <1537451752-28759-1-git-send-email-arybchenko@solarflare.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1535526966-32456-1-git-send-email-arybchenko@solarflare.com> References: <1535526966-32456-1-git-send-email-arybchenko@solarflare.com> MIME-Version: 1.0 Content-Type: text/plain; charset="y" Content-Transfer-Encoding: 8bit X-TM-AS-Product-Ver: SMEX-12.5.0.1300-8.5.1010-24106.004 X-TM-AS-Result: No-4.216100-4.000000-10 X-TMASE-MatchedRID: 8M+o0em0Hm9hjejNb4SeByNHByyOpYYCmoKXVHfiMM/7efdnqtsaE3nG X9wfI/Natk+06Q4tlFjR4+b8u+VGh2yeGFxbrq7ls8CXCSjxVethBfGxmdHCggKzHKFHzLsJ8U1 60P1TrZCV8dOKhHa4bdeOApz8OQ0SfoP8n93yeyRH+PTjR9EWkpKLNrbpy/A0U2jzl0yGwTZ9/9 k60dNM4URy0RXCimV3rotBFWSuK2igcQ9540RHYa6NVEWSRWybP18r+mDVZ+4CUO0ctAHDORKMZ x/HD2jUQ1PepYDARMrFnQ09dUOk8aLe+EwuLF21y2iL2PXAOCmke6LKP2rtO74sTfu8BTVjghKt 2QgWp647hjZ1QGEv8FMFhPtEZehbEkAQkfQ24dPF3wHgEeUGsQ== X-TM-AS-User-Approved-Sender: No X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--4.216100-4.000000 X-TMASE-Version: SMEX-12.5.0.1300-8.5.1010-24106.004 X-MDID: 1537451792-736NIDfJ9jWu Subject: [dpdk-dev] [PATCH v2 0/4] net/failsafe: support deferred queue start 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: Thu, 20 Sep 2018 13:56:33 -0000 Since the topic is raised in multicast address list patchset, I'd like to highlight it here as well. Current version uses failsafe ops directly on sync to synchronize queues state which iterates over all sub-devices. For already in sync sub-devices it does not go to driver since ethdev functions checks current state and do nothing if it is already OK. In theory it is possible to limit it to inactive devices and use ethdev API instead of direct ops, but it requires a bit more lines of code. v2: - fix ops ordering - update testpmd documentation - add Gaƫtan's acks Ian Dolzhansky (4): app/testpmd: add queue deferred start switch net/failsafe: add checks for deferred queue setup net/failsafe: add Rx queue start and stop functions net/failsafe: add Tx queue start and stop functions app/test-pmd/cmdline.c | 91 +++++++++++ doc/guides/nics/features/failsafe.ini | 1 + doc/guides/rel_notes/release_18_11.rst | 15 ++ doc/guides/testpmd_app_ug/testpmd_funcs.rst | 7 + drivers/net/failsafe/failsafe_ether.c | 88 +++++++++++ drivers/net/failsafe/failsafe_ops.c | 167 +++++++++++++++++++- 6 files changed, 368 insertions(+), 1 deletion(-) -- 2.17.1