edaea9164d
Each connection is created with the `new_connection` rte_vhost callback with a unique vid parameter. Storing the vid inside the device struct was sufficient until we wanted to have multiple connections per device. Change-Id: Ic730d3377e1410499bdc163ce961863c530b880d Signed-off-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-on: https://review.gerrithub.io/437775 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>