net/ixgbe: add compile-time checks to vector driver
authorBruce Richardson <bruce.richardson@intel.com>
Fri, 28 Apr 2017 16:21:12 +0000 (17:21 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 12 Jun 2017 09:41:25 +0000 (10:41 +0100)
commit631a2f530b6c1ea17e1c504f6170e6127439509a
tree313c3f72fce43124639fa817cabc6b6b121dfde5
parenta6793d47f328354d0a3a3984060bbfb967e4f91d
net/ixgbe: 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/ixgbe/ixgbe_rxtx_vec_sse.c