On 4/29/21 10:04 AM, David Marchand wrote: > Purely cosmetic but it is rather odd to have an "offload" helper that > checks if it actually must do something. > We already have the same checks in most callers, so move this branch > in them. > > Signed-off-by: David Marchand <david.march...@redhat.com> > Reviewed-by: Flavio Leitner <f...@sysclose.org> > Reviewed-by: Ruifeng Wang <ruifeng.w...@arm.com> > --- > drivers/net/virtio/virtio_rxtx.c | 7 +- > drivers/net/virtio/virtio_rxtx_packed_avx.h | 2 +- > drivers/net/virtio/virtio_rxtx_packed_neon.h | 2 +- > drivers/net/virtio/virtqueue.h | 83 +++++++++----------- > 4 files changed, 44 insertions(+), 50 deletions(-) > Reviewed-by: Maxime Coquelin <maxime.coque...@redhat.com> Thanks, Maxime
- [dpdk-dev] [PATCH v2 0/4] Offload flags fixes David Marchand
- [dpdk-dev] [PATCH v2 1/4] mbuf: mark old offload fla... David Marchand
- Re: [dpdk-dev] [PATCH v2 1/4] mbuf: mark old off... Lance Richardson
- Re: [dpdk-dev] [PATCH v2 1/4] mbuf: mark old off... Ajit Khaparde
- [dpdk-dev] [PATCH v2 2/4] net/virtio: do not touch T... David Marchand
- Re: [dpdk-dev] [PATCH v2 2/4] net/virtio: do not... Flavio Leitner
- [dpdk-dev] [PATCH v2 3/4] net/virtio: refactor Tx of... David Marchand
- Re: [dpdk-dev] [PATCH v2 3/4] net/virtio: refact... Maxime Coquelin
- [dpdk-dev] [PATCH v2 4/4] vhost: fix offload flags i... David Marchand
- Re: [dpdk-dev] [PATCH v2 4/4] vhost: fix offload... Maxime Coquelin
- Re: [dpdk-dev] [PATCH v2 4/4] vhost: fix off... Maxime Coquelin
- Re: [dpdk-dev] [PATCH v2 4/4] vhost: fix... David Marchand
- Re: [dpdk-dev] [PATCH v2 4/4] vhost... Maxime Coquelin
- Re: [dpdk-dev] [PATCH v2 4/4] vhost: fix off... David Marchand
- Re: [dpdk-dev] [PATCH v2 4/4] vhost: fix offload... Flavio Leitner
- Re: [dpdk-dev] [PATCH v2 4/4] vhost: fix off... David Marchand