DPDK patches and discussions
 help / color / mirror / Atom feed
From: "houyl@yusur.tech" <houyl@yusur.tech>
To: 陈浩 <chenh@yusur.tech>,
	"maxime.coquelin" <maxime.coquelin@redhat.com>,
	"chenbo.xia" <chenbo.xia@intel.com>
Cc: dev <dev@dpdk.org>, zy <zy@yusur.tech>, 陈浩 <chenh@yusur.tech>
Subject: Re: [PATCH] vhost: enable CONFIG feature
Date: Thu, 15 Sep 2022 16:04:49 +0800	[thread overview]
Message-ID: <2022091516044903943622@yusur.tech> (raw)
In-Reply-To: <20220913095519.2554445-1-chenh@yusur.tech>

On Tue, Sep 13, 2022 at 17:55 PM Hao Chen <chenh@yusur.tech> wrote:


>From: Hao Chen



>Date: 2022-09-13 17:55



>To: maxime.coquelin; chenbo.xia



>CC: dev; houyl; zy; Hao Chen



>Subject: [PATCH] vhost: enable CONFIG feature



>Enable this feature, so that libvirt or qemu can call vdpa vendor



>driver's ops '.get_config' through 'vhost_net_get_config' to get



>the mac address of the vdpa hardware without manual configuration.



 



>Signed-off-by: Hao Chen <chenh@yusur.tech>



>---



>lib/vhost/vhost_user.h | 3 ++-



>1 file changed, 2 insertions(+), 1 deletion(-)



 



>diff --git a/lib/vhost/vhost_user.h b/lib/vhost/vhost_user.h



>index 8ecca68597..12e8d116f3 100644



>--- a/lib/vhost/vhost_user.h



>+++ b/lib/vhost/vhost_user.h



>@@ -23,7 +23,8 @@



>(1ULL << VHOST_USER_PROTOCOL_F_SLAVE_SEND_FD) | \



>(1ULL << VHOST_USER_PROTOCOL_F_HOST_NOTIFIER) | \



>(1ULL << VHOST_USER_PROTOCOL_F_PAGEFAULT) | \



>- (1ULL << VHOST_USER_PROTOCOL_F_STATUS))



>+ (1ULL << VHOST_USER_PROTOCOL_F_STATUS) | \



>+ (1ULL << VHOST_USER_PROTOCOL_F_CONFIG))



>typedef enum VhostUserRequest {



>VHOST_USER_NONE = 0,



>--



Yusur (YUSUR Technology Co., Ltd.) focuses on the research and development of special data processors.
The independently developed international leading DPU series products can be widely used in ultra-low
latency network, big data processing, 5G edge computing, high-speed storage and other scenarios,
helping computing power become the new productivity of the digital era.

The company put forward innovative Software Defined Accelerator technology and independently
developed the chip architecture KPU(Kernel Processing Unit) and agile heterogeneous Software stack
(HADOS) for domain-specific computing (DSA).


Now, adding the feature of obtain vdpa device's mac address automatically for DPDK vDPA  path.



 



  reply	other threads:[~2022-09-16  6:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-13  9:55 Hao Chen
2022-09-15  8:04 ` houyl [this message]
2022-09-26  7:26 ` Xia, Chenbo
2022-10-08  3:40   ` 陈浩
2022-10-08  7:56   ` Hao Chen

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=2022091516044903943622@yusur.tech \
    --to=houyl@yusur.tech \
    --cc=chenbo.xia@intel.com \
    --cc=chenh@yusur.tech \
    --cc=dev@dpdk.org \
    --cc=maxime.coquelin@redhat.com \
    --cc=zy@yusur.tech \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).