On Wed, May 25, 2016 at 10:45:10AM -0700, Rich Lane wrote:
> @@ -817,6 +821,9 @@ rte_pmd_vhost_devinit(const char *name, const char
> *params)
> ? ? ? ? int ret = 0;
> ? ? ? ? char *iface_name;
> ? ? ? ? uint16_t queues;
> +? ? ? ?uint64_t flags = 0;
> +? ? ? ?int client
>
> @@ -817,6 +821,9 @@ rte_pmd_vhost_devinit(const char *name, const char
> *params)
> int ret = 0;
> char *iface_name;
> uint16_t queues;
> + uint64_t flags = 0;
> + int client_mode;
> + int reconnect;
>
client_mode and reconnect are not initialized if t
Add client and reconnect option to vhost pmd. reconnect only works when
client is given.
Signed-off-by: Yuanhan Liu
---
drivers/net/vhost/rte_eth_vhost.c | 54 ++-
1 file changed, 42 insertions(+), 12 deletions(-)
diff --git a/drivers/net/vhost/rte_eth_vhost.
3 matches
Mail list logo