net/liquidio: do not touch mbuf initialized fields
authorShijith Thotton <shijith.thotton@caviumnetworks.com>
Thu, 8 Jun 2017 11:22:51 +0000 (16:52 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 12 Jun 2017 09:41:29 +0000 (10:41 +0100)
commitf544804f4b5ac6dd1694f2a145dd1306e0016108
treeef0b37b49db35a1ff0e6989710907e41b0dece13
parentbc8ee8572e8e5f82e4cd695c107f3fbcc42a5674
net/liquidio: do not touch mbuf initialized fields

Avoid re-initializing of mbuf fields which are set while in pool.
Replaced lio_recv_buffer_alloc with rte_pktmbuf_alloc.

See commit 8f094a9ac5d7 ("mbuf: set mbuf fields while in pool").

Signed-off-by: Shijith Thotton <shijith.thotton@caviumnetworks.com>
drivers/net/liquidio/lio_rxtx.c
drivers/net/liquidio/lio_struct.h