Re: [dpdk-dev] [PATCH 21.02 2/3] vhost: refactor postcopy registration

2020-12-09 Thread Xia, Chenbo
> -Original Message- > From: Maxime Coquelin > Sent: Monday, November 16, 2020 7:36 PM > To: dev@dpdk.org; Xia, Chenbo ; Ding, Xuan > > Cc: Maxime Coquelin > Subject: [PATCH 21.02 2/3] vhost: refactor postcopy registration > > This patch moves the registration of postcopy to a > dedicat

[dpdk-dev] [PATCH 21.02 2/3] vhost: refactor postcopy registration

2020-11-16 Thread Maxime Coquelin
This patch moves the registration of postcopy to a dedicated function, with the goal of simplifying VHOST_USER_SET_MEM_TABLE request handling function. Signed-off-by: Maxime Coquelin --- lib/librte_vhost/vhost_user.c | 98 +-- 1 file changed, 58 insertions(+), 40