kni: remove memzone lookup to get mbuf address
authorFerruh Yigit <ferruh.yigit@intel.com>
Thu, 4 Aug 2016 15:54:05 +0000 (16:54 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 24 Aug 2016 16:30:58 +0000 (18:30 +0200)
commite22856313fff2db12d8e132dad446bbf74cf29a5
treed5e0c1c946a1e40899dfa1974e49610c6180fc5a
parent9eedaa69902aeefafe46fb8e2a87ebdff055b018
kni: remove memzone lookup to get mbuf address

Originally mempool->mz is used to get address of the mbuf, but now
address get directly from mempool, so mempool->mz information is not
required.

Fixes: d1d914ebbc25 ("mempool: allocate in several memory chunks by default")

Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
lib/librte_kni/rte_kni.c