net/fm10k: fix pointer cast
authorXiao Wang <xiao.w.wang@intel.com>
Tue, 28 Mar 2017 03:57:47 +0000 (20:57 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 4 Apr 2017 17:02:49 +0000 (19:02 +0200)
commit6a1db11448ed4158da524b2cbad26894277cc22d
tree59e6b6202b57f5129b63b135eeef5b174c05c051
parent0d01bbeebf886959ad2151c8605548c82d4fb5c7
net/fm10k: fix pointer cast

The device specific data is located at dev->data->dev_private.

Fixes: 162f32290a99 ("fm10k: move parameters initialization")
Fixes: 039991bc28ff ("fm10k: add vector pre-condition check")
Fixes: 77a8ab47eb38 ("fm10k: select best Rx function")
Cc: stable@dpdk.org
Signed-off-by: Xiao Wang <xiao.w.wang@intel.com>
Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
drivers/net/fm10k/fm10k_ethdev.c