numam-dpdk/drivers/net
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
..
af_packet drivers/net: fix crash in secondary process 2018-07-26 15:00:34 +02:00
ark net/ark: use SPDX tags 2018-07-04 21:21:31 +02:00
avf remove useless constructor headers 2018-07-12 00:00:35 +02:00
avp net/avp: fix 32-bit meson builds 2018-07-12 12:29:07 +02:00
axgbe remove useless constructor headers 2018-07-12 00:00:35 +02:00
bnx2x remove useless constructor headers 2018-07-12 00:00:35 +02:00
bnxt remove useless constructor headers 2018-07-12 00:00:35 +02:00
bonding drivers/net: fix crash in secondary process 2018-07-26 15:00:34 +02:00
cxgbe net/cxgbe: fix init failure due to new flash parts 2018-07-23 23:55:26 +02:00
dpaa drivers/net: fix crash in secondary process 2018-07-26 15:00:34 +02:00
dpaa2 drivers: support function name in NXP logs 2018-07-12 14:41:28 +02:00
e1000 remove useless constructor headers 2018-07-12 00:00:35 +02:00
ena remove useless constructor headers 2018-07-12 00:00:35 +02:00
enic net/enic: revert mbuf fast free offload 2018-08-02 10:26:02 +02:00
failsafe drivers/net: fix crash in secondary process 2018-07-26 15:00:34 +02:00
fm10k net/fm10k: remove redundant queue id checks 2018-07-23 23:55:26 +02:00
i40e net/i40e: remove redundant queue id checks 2018-07-23 23:55:26 +02:00
ifc build: fix meson build on FreeBSD 2018-07-26 09:58:19 +02:00
ixgbe net/ixgbe: fix missing null check on detach 2018-07-23 23:55:26 +02:00
kni drivers/net: fix crash in secondary process 2018-07-26 15:00:34 +02:00
liquidio remove useless constructor headers 2018-07-12 00:00:35 +02:00
mlx4 remove useless constructor headers 2018-07-12 00:00:35 +02:00
mlx5 net/mlx5: fix linkage of glue lib with gcc 4.7.2 2018-07-26 14:05:52 +02:00
mvpp2 remove useless constructor headers 2018-07-12 00:00:35 +02:00
netvsc build: fix meson build on FreeBSD 2018-07-26 09:58:19 +02:00
nfp remove useless constructor headers 2018-07-12 00:00:35 +02:00
null drivers/net: fix crash in secondary process 2018-07-26 15:00:34 +02:00
octeontx net/octeontx: fix stop clearing Rx/Tx functions 2018-08-02 09:59:10 +02:00
pcap drivers/net: fix crash in secondary process 2018-07-26 15:00:34 +02:00
qede net/qede: move SPDX tags to source files 2018-07-23 23:55:26 +02:00
ring remove useless constructor headers 2018-07-12 00:00:35 +02:00
sfc net/sfc: handle unknown L3 packet class in EF10 event parser 2018-07-23 23:55:26 +02:00
softnic net/softnic: add command for default tmgr hierarchy 2018-07-25 19:29:15 +02:00
szedata2 remove useless constructor headers 2018-07-12 00:00:35 +02:00
tap drivers/net: fix crash in secondary process 2018-07-26 15:00:34 +02:00
thunderx net/thunderx: support Rx VLAN offload 2018-07-23 23:55:26 +02:00
vdev_netvsc net/vdev_netvsc: fix automatic probing 2018-05-23 00:35:01 +02:00
vhost drivers/net: fix crash in secondary process 2018-07-26 15:00:34 +02:00
virtio net/virtio-user: fix parameters string 2018-08-02 04:41:58 +02:00
vmxnet3 remove useless constructor headers 2018-07-12 00:00:35 +02:00
Makefile net/netvsc: add Hyper-V network device 2018-07-13 23:48:07 +02:00
meson.build net/netvsc: add Hyper-V network device 2018-07-13 23:48:07 +02:00