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