On 02/27/2018 11:13 AM, Zhihong Wang wrote:
This patch adds APIs for datapath configuration. The eid and did of the
vhost-user socket can be configured to identify the actual device.

When the default software datapath is used, eid and did are set to -1.
When alternative datapath is used, eid and did are set by app to specify
which device to use. Each vhost-user socket can have only 1 connection in
this case.

Signed-off-by: Zhihong Wang <zhihong.w...@intel.com>
---
  lib/librte_vhost/rte_vhost.h           | 70 ++++++++++++++++++++++++++++++++++
  lib/librte_vhost/rte_vhost_version.map |  6 +++
  lib/librte_vhost/socket.c              | 65 +++++++++++++++++++++++++++++++
  lib/librte_vhost/vhost.c               | 50 ++++++++++++++++++++++++
  lib/librte_vhost/vhost.h               | 10 +++++
  5 files changed, 201 insertions(+)


Isn't the notion of EID & DID Intel specifics?
At vhost API level, shouldn't we only care of the offload device ID?

Reply via email to