All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Wang, Xiao W" <xiao.w.wang@intel.com>
To: "Bie, Tiwei" <tiwei.bie@intel.com>,
	"maxime.coquelin@redhat.com" <maxime.coquelin@redhat.com>,
	"dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [PATCH v3 2/2] net/ifcvf: enable the host notifier support
Date: Wed, 13 Jun 2018 06:43:21 +0000	[thread overview]
Message-ID: <B7F2E978279D1D49A3034B7786DACF406F92FE18@SHSMSX101.ccr.corp.intel.com> (raw)
In-Reply-To: <20180608032224.22049-3-tiwei.bie@intel.com>

Hi,

> -----Original Message-----
> From: Bie, Tiwei
> Sent: Friday, June 8, 2018 11:22 AM
> To: maxime.coquelin@redhat.com; dev@dpdk.org
> Cc: Wang, Xiao W <xiao.w.wang@intel.com>
> Subject: [PATCH v3 2/2] net/ifcvf: enable the host notifier support
> 
> The necessary vDPA ops have already been implemented
> in ifcvf driver. So just need to announce the necessary
> protocol features to enable the host notifier support.
> 
> Signed-off-by: Tiwei Bie <tiwei.bie@intel.com>
> ---
>  drivers/net/ifc/ifcvf_vdpa.c | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/drivers/net/ifc/ifcvf_vdpa.c b/drivers/net/ifc/ifcvf_vdpa.c
> index c6627c23a..b8e22daf3 100644
> --- a/drivers/net/ifc/ifcvf_vdpa.c
> +++ b/drivers/net/ifc/ifcvf_vdpa.c
> @@ -646,6 +646,9 @@ ifcvf_get_vdpa_features(int did, uint64_t *features)
> 
>  #define VDPA_SUPPORTED_PROTOCOL_FEATURES \
>  		(1ULL << VHOST_USER_PROTOCOL_F_REPLY_ACK | \
> +		 1ULL << VHOST_USER_PROTOCOL_F_SLAVE_REQ | \
> +		 1ULL << VHOST_USER_PROTOCOL_F_SLAVE_SEND_FD | \
> +		 1ULL << VHOST_USER_PROTOCOL_F_HOST_NOTIFIER | \
>  		 1ULL << VHOST_USER_PROTOCOL_F_LOG_SHMFD)
>  static int
>  ifcvf_get_protocol_features(int did __rte_unused, uint64_t *features)
> --
> 2.17.0

Acked-by: Xiao Wang <xiao.w.wang@intel.com>

BRs,
Xiao

  reply	other threads:[~2018-06-13  6:43 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-08  3:22 [PATCH v3 0/2] vhost: support host notifier Tiwei Bie
2018-06-08  3:22 ` [PATCH v3 1/2] " Tiwei Bie
2018-06-08  3:22 ` [PATCH v3 2/2] net/ifcvf: enable the host notifier support Tiwei Bie
2018-06-13  6:43   ` Wang, Xiao W [this message]
2018-06-15  7:35 ` [PATCH v3 0/2] vhost: support host notifier Maxime Coquelin
2018-06-15  8:00 ` Maxime Coquelin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=B7F2E978279D1D49A3034B7786DACF406F92FE18@SHSMSX101.ccr.corp.intel.com \
    --to=xiao.w.wang@intel.com \
    --cc=dev@dpdk.org \
    --cc=maxime.coquelin@redhat.com \
    --cc=tiwei.bie@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.