Thread (49 messages) 49 messages, 4 authors, 2021-07-21

Re: [dpdk-dev] [PATCH v4 2/3] vhost: rework async configuration struct

From: Hu, Jiayu <hidden>
Date: 2021-07-16 06:34:17

-----Original Message-----
From: Xia, Chenbo <redacted>
Sent: Friday, July 16, 2021 2:28 PM
To: Hu, Jiayu <redacted>; dev@dpdk.org
Cc: maxime.coquelin@redhat.com
Subject: RE: [PATCH v4 2/3] vhost: rework async configuration struct

quoted
quoted
quoted
-vq->async_inorder = f.async_inorder; async_threshold =
-vq->f.async_threshold;
+vq->async_inorder = true;
Do we still need this? It's never used.
I think we need to keep it, as we may support out-of-order channel in
future.

We don't like to define things when it's not needed currently. If in future, the
definition should also be made in future :P. Just leave the definition to future
patch.
Fair. I will delete vq->async_inorder field.

Thanks,
Jiayu
Thanks,
Chenbo
quoted
quoted
quoted
+vq->async_threshold = config.async_threshold;
vq->async_threshold is uint16_t and config.async_threshold is uint32_t.
They should be the same.
I will change vq->async_threshold to uint32_t.

Thanks,
Jiayu
quoted
Thanks,
Chenbo
quoted
 vq->async_registered = true;

--
2.7.4
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help