From: Olivier Matz Date: Tue, 4 Apr 2017 16:28:03 +0000 (+0200) Subject: drivers/net: do not touch mbuf next or nb segs on Rx X-Git-Tag: spdx-start~3792 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=ebb7bcabb8955ff6b3a084c76a0106e7909e2599;hp=ebb7bcabb8955ff6b3a084c76a0106e7909e2599;p=dpdk.git drivers/net: do not touch mbuf next or nb segs on Rx Now that the m->next pointer and m->nb_segs is expected to be set (to NULL and 1 respectively) after a mempool_get(), we can avoid to write them in the Rx functions of drivers. Only some drivers are patched, it's not an exhaustive patch. It gives the idea to do the same in other drivers. Signed-off-by: Olivier Matz ---