net/thunderx: add compile-time checks
authorJerin Jacob <jerin.jacob@caviumnetworks.com>
Mon, 1 May 2017 06:40:18 +0000 (12:10 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 12 Jun 2017 09:41:25 +0000 (10:41 +0100)
commit95b097c8033ed7901a8a424490d3e52e2bd7b5b0
treee667d38ee705309e30ecd916dee25cc9881ee14a
parent02c217b1543c09b37772c6e917801d61cc3c2ca0
net/thunderx: add compile-time checks

The thunderx PMD is sensitive to the layout of the mbuf on
the RX path. Add in some compile-time checks to make sure the mbuf layout
assumptions are valid, and to provide hints to anyone changing the mbuf
where things may need to be updated.

Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
drivers/net/thunderx/nicvf_ethdev.c