From: Ivan Malov Date: Fri, 12 Oct 2018 11:36:27 +0000 (+0100) Subject: net/failsafe: add default Tx mbuf fast free capability X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=054dbf420d171e586e6ad4c955bfb50119e60cbc;p=dpdk.git net/failsafe: add default Tx mbuf fast free capability This capability is reported when supported by the current emitting sub-device. Failsafe PMD itself does not exercise fast free logic. Signed-off-by: Ivan Malov Signed-off-by: Andrew Rybchenko Acked-by: Gaetan Rivet --- diff --git a/doc/guides/nics/features/failsafe.ini b/doc/guides/nics/features/failsafe.ini index e3c4c08f22..b6f3dcee61 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 7f8bcd4c69..e3add404b3 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 |