i40e: add sanity checks in PF messaging
authorChen Jing D(Mark) <jing.d.chen@intel.com>
Fri, 20 Jun 2014 10:24:41 +0000 (18:24 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 20 Jun 2014 13:47:59 +0000 (15:47 +0200)
commit33a79f3d9a66635224d5b5370add40ecf0e65c31
treee0f1f245122fd8852da571de66782325f0ff3a1d
parent9d7d8513b587d32b8f66b61bb8069cd10235fae0
i40e: add sanity checks in PF messaging

Add sanity check in message handling functions on the request
buffer pointer from VF.

Signed-off-by: Chen Jing D(Mark) <jing.d.chen@intel.com>
Acked-by: Helin Zhang <helin.zhang@intel.com>
Acked-by: Cunming Liang <cunming.liang@intel.com>
Acked-by: Jingjing Wu <jingjing.wu@intel.com>
lib/librte_pmd_i40e/i40e_pf.c