net/failsafe: add default Tx mbuf fast free capability
authorIvan Malov <ivan.malov@oktetlabs.ru>
Fri, 12 Oct 2018 11:36:27 +0000 (12:36 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 21 Dec 2018 15:22:41 +0000 (16:22 +0100)
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 <ivan.malov@oktetlabs.ru>
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
Acked-by: Gaetan Rivet <gaetan.rivet@6wind.com>
doc/guides/nics/features/failsafe.ini
drivers/net/failsafe/failsafe_ops.c

index e3c4c08..b6f3dce 100644 (file)
@@ -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
index 7f8bcd4..e3add40 100644 (file)
@@ -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 |