From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dispatch1-us1.ppe-hosted.com (dispatch1-us1.ppe-hosted.com [148.163.129.52]) by dpdk.org (Postfix) with ESMTP id 88E161B5E6 for ; Fri, 12 Oct 2018 13:36:34 +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-us1.ppe-hosted.com (Proofpoint Essentials ESMTP Server) with ESMTPS id 1FD00A8006D; Fri, 12 Oct 2018 11:36:32 +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; Fri, 12 Oct 2018 04:36:30 -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; Fri, 12 Oct 2018 04:36:29 -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 w9CBaS9n027141; Fri, 12 Oct 2018 12:36:28 +0100 Received: from ukv-loginhost.uk.solarflarecom.com (localhost [127.0.0.1]) by ukv-loginhost.uk.solarflarecom.com (Postfix) with ESMTP id 79B6D1616EF; Fri, 12 Oct 2018 12:36:28 +0100 (BST) From: Andrew Rybchenko To: =?UTF-8?q?Ga=C3=ABtan=20Rivet?= CC: , Ivan Malov Date: Fri, 12 Oct 2018 12:36:27 +0100 Message-ID: <1539344187-21481-1-git-send-email-arybchenko@solarflare.com> X-Mailer: git-send-email 1.8.3.1 MIME-Version: 1.0 Content-Type: text/plain X-TM-AS-Product-Ver: SMEX-12.5.0.1300-8.5.1010-24150.005 X-TM-AS-Result: No-2.280200-4.000000-10 X-TMASE-MatchedRID: cGF0M9a/eEstlu2PjaXfUTOb4QjG+dWPxmJ6Bfwk3mXT0dXE0JWl/HB4 4IkzjfYy5Is53QRK9OE9GpjdXWrCyb4VhlZ3FziRHPYwOJi6PLnt/okBLaEo+BL6MU7t349be56 s8xvuUhBIuI6ldVOHHAxL1rBlROBuNXL5zPaYY+GeAiCmPx4NwBnUJ0Ek6yhjxEHRux+uk8ifEz J5hPndGcMemQAyP2eCjYb4sIb6/dPW4IZV+KJ9t3Klnz9NIS7661m8cqlcVwaiW42y6jYONAMrV PJYJDZMUmwa/V+2Nc47g6rcTG4JapN1JFeUKeMEiOOUXfTkScBZSbxIRLLN37zfneGoTKOTVlxr 1FJij9s= X-TM-AS-User-Approved-Sender: No X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--2.280200-4.000000 X-TMASE-Version: SMEX-12.5.0.1300-8.5.1010-24150.005 X-MDID: 1539344193-MfLyeOznJ981 Subject: [dpdk-dev] [PATCH] net/failsafe: add default Tx mbuf fast free capability 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, 12 Oct 2018 11:36:34 -0000 From: Ivan Malov This capability is reported when supported by the current emitting sub-device. Failsafe PMD itself does not excercise fast free logic. Signed-off-by: Ivan Malov Signed-off-by: Andrew Rybchenko --- doc/guides/nics/features/failsafe.ini | 1 + drivers/net/failsafe/failsafe_ops.c | 1 + 2 files changed, 2 insertions(+) diff --git a/doc/guides/nics/features/failsafe.ini b/doc/guides/nics/features/failsafe.ini index e3c4c08f2..b6f3dcee6 100644 --- a/doc/guides/nics/features/failsafe.ini +++ b/doc/guides/nics/features/failsafe.ini @@ -7,6 +7,7 @@ Link status = Y Link status event = Y Rx interrupt = Y +Fast mbuf free = Y Queue start/stop = Y Runtime Rx queue setup = Y Runtime Tx queue setup = Y diff --git a/drivers/net/failsafe/failsafe_ops.c b/drivers/net/failsafe/failsafe_ops.c index 7f8bcd4c6..e3add404b 100644 --- a/drivers/net/failsafe/failsafe_ops.c +++ b/drivers/net/failsafe/failsafe_ops.c @@ -78,6 +78,7 @@ static struct rte_eth_dev_info default_infos = { DEV_RX_OFFLOAD_SECURITY, .tx_offload_capa = DEV_TX_OFFLOAD_MULTI_SEGS | + DEV_TX_OFFLOAD_MBUF_FAST_FREE | DEV_TX_OFFLOAD_IPV4_CKSUM | DEV_TX_OFFLOAD_UDP_CKSUM | DEV_TX_OFFLOAD_TCP_CKSUM | -- 2.17.1