Maxime Coquelin
c75987487d
vhost: simplify getting first in-flight index
...
This patch reworks the function getting the index
for the first packet in-flight.
When this index turns out to be zero, let's use the simple
path. Doing that avoid having to do a modulo with the
virtqueue size.
The patch also rename the function for better clarification,
and only pass the virtqueue metadata pointer, as all the
needed information are stored there.
Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Reviewed-by: Jiayu Hu <jiayu.hu@intel.com>
2021-10-29 12:32:30 +02:00
..
2021-10-22 22:40:59 +02:00
2021-10-25 21:20:12 +02:00
2021-10-01 15:31:47 +02:00
2021-11-04 19:56:20 +01:00
2021-08-17 08:37:52 +02:00
2021-10-22 23:32:00 +02:00
2021-10-22 22:40:59 +02:00
2021-10-20 15:33:16 +02:00
2021-11-03 15:50:14 +01:00
2021-10-22 22:40:59 +02:00
2021-11-05 15:28:55 +01:00
2021-10-22 22:40:59 +02:00
2021-10-27 19:28:45 +02:00
2021-10-24 13:37:43 +02:00
2021-11-04 12:38:03 +01:00
2021-10-22 22:40:59 +02:00
2021-10-22 22:40:59 +02:00
2021-10-08 14:58:11 +02:00
2021-10-24 13:37:43 +02:00
2021-11-04 11:43:20 +01:00
2021-10-22 22:40:59 +02:00
2021-10-24 13:37:43 +02:00
2021-10-22 22:40:59 +02:00
2021-10-22 22:40:59 +02:00
2021-09-30 17:38:13 +02:00
2021-08-17 08:37:52 +02:00
2021-10-25 19:08:16 +02:00
2021-10-25 17:27:48 +02:00
2021-10-22 22:40:59 +02:00
2021-10-25 16:52:56 +02:00
2021-08-17 08:37:52 +02:00
2021-10-13 22:14:59 +02:00
2021-10-28 20:28:01 +02:00
2021-10-22 22:40:59 +02:00
2021-10-31 23:25:02 +01:00
2021-10-01 13:09:43 +02:00
2021-11-03 12:53:03 +01:00
2021-11-04 18:11:08 +01:00
2021-10-25 14:30:32 +02:00
2021-10-29 12:32:29 +02:00
2021-10-22 22:40:59 +02:00
2021-09-22 22:00:17 +02:00
2021-10-22 22:40:59 +02:00
2021-10-22 22:40:59 +02:00
2021-10-25 19:13:12 +02:00
2021-10-21 09:32:04 +02:00
2021-11-04 15:41:49 +01:00
2021-10-24 13:37:43 +02:00
2021-10-19 17:15:10 +02:00
2021-10-22 22:40:59 +02:00
2021-10-14 20:31:10 +02:00
2021-08-17 08:37:52 +02:00
2021-10-29 12:32:30 +02:00
2021-10-22 22:40:59 +02:00