kni: add build-time checks for mbuf mapping
authorJia Yu <jyu@vmware.com>
Fri, 7 Nov 2014 17:49:15 +0000 (09:49 -0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 10 Nov 2014 09:28:46 +0000 (10:28 +0100)
commit5bad0b917ef2c3dc36395bd6af481809b1a017a8
treeeced9f632e8d1a3d99e6c517e7c38347dfb9430c
parent4ffab9b998c5456906546f49beef629df998718e
kni: add build-time checks for mbuf mapping

Adding this check is to avoid breakage from future data structure changes.

Signed-off-by: Jia Yu <jyu@vmware.com>
Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
lib/librte_kni/rte_kni.c