net/thunderx: reduce writes to mbuf
authorJerin Jacob <jerin.jacob@caviumnetworks.com>
Fri, 14 Apr 2017 09:41:07 +0000 (15:11 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 19 Apr 2017 13:37:37 +0000 (15:37 +0200)
commit5c7ccb263b4881213f89037118e9fd9658253da3
tree404a8c37aa1a0a09a373dfc653d1727bd2ca6e0d
parente130425300b05b572085e5e9edb3caf5bb2c4c06
net/thunderx: reduce writes to mbuf

With the mbuf rework, we now have 8 contiguous bytes to be
rearmed in the mbuf at 8B naturally aligned address.
Use single 8B write to avoid multiple 2B writes in Rx path.

Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
Signed-off-by: Maciej Czekaj <maciej.czekaj@caviumnetworks.com>
drivers/net/thunderx/nicvf_ethdev.c
drivers/net/thunderx/nicvf_rxtx.c
drivers/net/thunderx/nicvf_rxtx.h
drivers/net/thunderx/nicvf_struct.h