net/ifc: fix mediated vring initialization
authorXiao Wang <xiao.w.wang@intel.com>
Mon, 15 Apr 2019 07:56:24 +0000 (15:56 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 19 Apr 2019 12:51:54 +0000 (14:51 +0200)
commit8fda27b181ff71c4deea9a2fa2c4a9ea93af2175
treec344747f7562d1575cb58f103478314d9fbd88c1
parent33cdfa1936a0a50086b766fffaa8124ecafdc1ac
net/ifc: fix mediated vring initialization

The mediated vring's index should be set as initial value before
enabling HW datapath.

Fixes: 4bb531e152d3 ("net/ifc: support SW assisted VDPA live migration")
Cc: stable@dpdk.org
Signed-off-by: Xiao Wang <xiao.w.wang@intel.com>
drivers/net/ifc/ifcvf_vdpa.c