net/fm10k: add compile-time checks to vector driver
authorBruce Richardson <bruce.richardson@intel.com>
Fri, 28 Apr 2017 16:21:15 +0000 (17:21 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 12 Jun 2017 09:41:25 +0000 (10:41 +0100)
commit02c217b1543c09b37772c6e917801d61cc3c2ca0
tree3cbae82a6c1f0c688df59f5a5876cf6afa9f3637
parentb25f49d8e1aea0c6fbfd31abdd8197d9815b9e0a
net/fm10k: add compile-time checks to vector driver

The vector PMD is very sensitive to the layout of the mbuf, especially 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: Bruce Richardson <bruce.richardson@intel.com>
drivers/net/fm10k/fm10k_rxtx_vec.c