numam-dpdk/doc/guides/nics
Hyong Youb Kim d16623dd39 net/enic: revert mbuf fast free offload
This reverts the patch that enabled mbuf fast free.

There are two main reasons.

First, enic_fast_free_wq_bufs is broken. When
DEV_TX_OFFLOAD_MBUF_FAST_FREE is enabled, the driver calls this
function to free transmitted mbufs. This function currently does not
reset next and nb_segs. This is simply wrong as the fast-free flag
does not imply anything about next and nb_segs.

We could fix enic_fast_free_wq_bufs by making it to call
rte_pktmbuf_prefree_seg to reset the required fields. But, it negates
most of cycle saving.

Second, there are customer applications that blindly enable all Tx
offloads supported by the device. Some of these applications do not
satisfy the requirements of mbuf fast free (i.e. a single pool per
queue and refcnt = 1), and end up crashing or behaving badly.

Fixes: bcaa54c1a1 ("net/enic: support mbuf fast free offload")

Signed-off-by: Hyong Youb Kim <hyonkim@cisco.com>
Reviewed-by: John Daley <johndale@cisco.com>
2018-08-02 10:26:02 +02:00
..
features net/enic: revert mbuf fast free offload 2018-08-02 10:26:02 +02:00
img net/szedata2: do not affect Ethernet interfaces 2018-04-14 00:43:30 +02:00
ark.rst net/ark: remove empty header file 2017-10-06 02:49:47 +02:00
avp.rst doc: add AVP 2017-04-04 19:02:45 +02:00
axgbe.rst net/axgbe: support generic Rx/Tx stats 2018-04-14 00:41:44 +02:00
bnx2x.rst net/bnx2x: make init and driver logtype names consistent 2018-04-27 15:54:56 +01:00
bnxt.rst net/bnxt: introduce Broadcom Stingray 2018-04-14 00:59:41 +02:00
build_and_test.rst doc: add note for shared library in NICs guide 2018-02-13 23:59:00 +01:00
cxgbe.rst net/cxgbe: update release notes for flow API support 2018-07-23 23:55:26 +02:00
dpaa2.rst bus/fslmc: support device blacklisting 2018-05-14 00:35:47 +02:00
dpaa.rst bus/dpaa: support device blacklisting 2018-05-14 00:34:25 +02:00
e1000em.rst doc: convert Intel license headers to SPDX tags 2018-02-06 23:27:08 +01:00
ena.rst doc: refer PMD compile/test section from ena guide 2017-04-19 15:37:37 +02:00
enic.rst doc: update enic guide and features 2018-07-23 23:55:26 +02:00
fail_safe.rst use SPDX tag for 6WIND copyrighted files 2018-05-25 10:47:06 +02:00
features.rst doc: update CRC feature with new offload flag 2018-07-05 16:10:13 +02:00
fm10k.rst doc: convert fm10k guide to new offload API 2018-05-25 17:07:40 +02:00
i40e.rst net/i40e: remove VF interrupt handler 2018-07-03 01:35:58 +02:00
ifc.rst net/ifc: make driver name consistent 2018-06-14 19:27:50 +02:00
igb.rst doc: add igb guide 2018-02-08 18:42:14 +01:00
index.rst net/netvsc: add documentation 2018-07-13 23:48:07 +02:00
intel_vf.rst doc: update Intel VF guide 2018-02-13 18:17:30 +01:00
ixgbe.rst doc: convert ixgbe guide to new offload API 2018-05-25 17:07:40 +02:00
kni.rst doc: convert Intel license headers to SPDX tags 2018-02-06 23:27:08 +01:00
liquidio.rst doc: remove deprecated terms from liquidio guide 2018-05-25 17:07:40 +02:00
mlx4.rst net/mlx4: support hardware TSO 2018-07-10 14:02:57 +02:00
mlx5.rst net/mlx5: lay groundwork for switch offloads 2018-07-26 14:05:52 +02:00
mvpp2.rst net/mrvl: rename PMD as mvpp2 2018-03-30 14:08:44 +02:00
netvsc.rst net/netvsc: add documentation 2018-07-13 23:48:07 +02:00
nfp.rst doc: update NFP guide 2018-04-14 00:40:21 +02:00
octeontx.rst doc: remove deprecated terms from octeontx guide 2018-05-25 17:07:40 +02:00
overview.rst use SPDX tag for 6WIND copyrighted files 2018-05-25 10:47:06 +02:00
pcap_ring.rst net/pcap: capture only ingress packets from Rx iface 2018-07-04 20:54:05 +02:00
qede.rst doc: update qede management firmware guide 2018-07-03 01:35:58 +02:00
sfc_efx.rst net/sfc: support MARK and FLAG actions in flow API 2018-04-27 18:00:59 +01:00
szedata2.rst doc: update doc and release notes for szedata2 driver 2018-04-27 18:01:00 +01:00
tap.rst net/tap: report on supported RSS hash functions 2018-05-14 22:31:51 +01:00
thunderx.rst net/thunderx: add support for hardware first skip feature 2018-07-03 01:35:58 +02:00
vdev_netvsc.rst doc: fix typo in vdev_netvsc guide 2018-07-26 22:56:51 +02:00
vhost.rst net/vhost: add parameter to enable IOMMU feature 2017-11-07 14:19:30 +01:00
virtio.rst net/virtio: add in-order Rx/Tx into selection 2018-07-03 01:35:58 +02:00
vmxnet3.rst doc: convert Intel license headers to SPDX tags 2018-02-06 23:27:08 +01:00