numam-dpdk/drivers
Alejandro Lucero aaef1010af net/nfp: fix releasing muti-segment mbufs
If segments are used, just mbufs previously linked to head descriptor
of a mbuf chain are released. Other Tx descriptor are used for the
mbuf chain but they keep their linked mbufs without releasing them.

It is not a fatal issue because sooner or later those descriptors will
be head descriptors or just used for a single mbuf packet, then those
linked mbufs will be released.

However, this leads to apps needing bigger mbufs pools and some
confusion about memory requirements. Indeed, because larger pools, some
performance impact could also be expected due to cache misses.

With this patch all Tx descriptors will release linked mbufs inside the
xmit function, and rte_pktmbuf_seg_free is used instead of
rte_pktmbuf_free.

Fixes: 142854c621 ("nfp: fix freeing multi-mbuf packets")
Cc: stable@dpdk.org

Signed-off-by: Alejandro Lucero <alejandro.lucero@netronome.com>
2017-04-28 14:46:18 +02:00
..
bus bus/fslmc: add packet frame list entry definitions 2017-04-20 11:32:45 +02:00
crypto crypto/scheduler: fix missing includes 2017-05-01 00:13:15 +02:00
event event/sw: fix events mis-identified as needing reorder 2017-04-20 00:30:04 +02:00
mempool mempool/dpaa2: add hardware offloaded mempool 2017-04-19 15:37:37 +02:00
net net/nfp: fix releasing muti-segment mbufs 2017-04-28 14:46:18 +02:00
Makefile crypto/dpaa2_sec: introduce poll mode driver 2017-04-20 11:32:45 +02:00