Re: [dpdk-dev] [PATCH v3] vhost: read last used index once

2021-05-10 Thread Balazs Nemeth
ook about it. > > https://bugs.dpdk.org/show_bug.cgi?id=699 > > Thanks. > > Regards, > Ling Wei > > > -Original Message- > > From: dev On Behalf Of Balazs Nemeth > > Sent: Wednesday, April 7, 2021 05:55 PM > > To: bnem...@redhat.com; dev@dpdk.

Re: [dpdk-dev] [PATCH v3] vhost: read last used index once

2021-05-08 Thread Ling, WeiX
lazs Nemeth > Sent: Wednesday, April 7, 2021 05:55 PM > To: bnem...@redhat.com; dev@dpdk.org > Subject: [dpdk-dev] [PATCH v3] vhost: read last used index once > > Instead of calculating the address of a packed descriptor based on the > vq->desc_packed and vq->last_used_idx ev

Re: [dpdk-dev] [PATCH v3] vhost: read last used index once

2021-04-27 Thread Xia, Chenbo
> -Original Message- > From: dev On Behalf Of Balazs Nemeth > Sent: Wednesday, April 7, 2021 5:55 PM > To: bnem...@redhat.com; dev@dpdk.org > Subject: [dpdk-dev] [PATCH v3] vhost: read last used index once > > Instead of calculating the address of a packed descrip

Re: [dpdk-dev] [PATCH v3] vhost: read last used index once

2021-04-13 Thread Maxime Coquelin
On 4/7/21 11:55 AM, Balazs Nemeth wrote: > Instead of calculating the address of a packed descriptor based on the > vq->desc_packed and vq->last_used_idx every time, store that base > address in desc_base. On arm, this saves 176 bytes in code size of > function in which vhost_flush_enqueue_batch

[dpdk-dev] [PATCH v3] vhost: read last used index once

2021-04-07 Thread Balazs Nemeth
Instead of calculating the address of a packed descriptor based on the vq->desc_packed and vq->last_used_idx every time, store that base address in desc_base. On arm, this saves 176 bytes in code size of function in which vhost_flush_enqueue_batch_packed gets inlined. Signed-off-by: Balazs Nemeth