All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Marchand <david.marchand@redhat.com>
To: dev@dpdk.org
Cc: stable@dpdk.org, Maxime Coquelin <maxime.coquelin@redhat.com>,
	Chenbo Xia <chenbo.xia@intel.com>,
	Marvin Liu <yong.liu@intel.com>
Subject: [PATCH] net/virtio: restore some optimisations with AVX512
Date: Mon, 11 Apr 2022 17:04:20 +0200	[thread overview]
Message-ID: <20220411150420.17796-1-david.marchand@redhat.com> (raw)

Those optimisations were only enabled with make builds, fix the meson
part.

Fixes: 77d66da83834 ("net/virtio: add vectorized packed ring Rx")
Cc: stable@dpdk.org

Signed-off-by: David Marchand <david.marchand@redhat.com>
---
 drivers/net/virtio/meson.build | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/net/virtio/meson.build b/drivers/net/virtio/meson.build
index 01a333ada2..d78b8278c6 100644
--- a/drivers/net/virtio/meson.build
+++ b/drivers/net/virtio/meson.build
@@ -30,11 +30,11 @@ if arch_subdir == 'x86'
                           c_args: [cflags, '-mavx512f', '-mavx512bw', '-mavx512vl'])
             objs += virtio_avx512_lib.extract_objects('virtio_rxtx_packed.c')
             if (toolchain == 'gcc' and cc.version().version_compare('>=8.3.0'))
-                cflags += '-DVHOST_GCC_UNROLL_PRAGMA'
+                cflags += '-DVIRTIO_GCC_UNROLL_PRAGMA'
             elif (toolchain == 'clang' and cc.version().version_compare('>=3.7.0'))
-                cflags += '-DVHOST_CLANG_UNROLL_PRAGMA'
+                cflags += '-DVIRTIO_CLANG_UNROLL_PRAGMA'
             elif (toolchain == 'icc' and cc.version().version_compare('>=16.0.0'))
-                cflags += '-DVHOST_ICC_UNROLL_PRAGMA'
+                cflags += '-DVIRTIO_ICC_UNROLL_PRAGMA'
             endif
         endif
     endif
-- 
2.23.0


             reply	other threads:[~2022-04-11 15:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-11 15:04 David Marchand [this message]
2022-04-19  9:12 ` [PATCH] net/virtio: restore some optimisations with AVX512 Maxime Coquelin
2022-05-05 19:56 ` Maxime Coquelin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220411150420.17796-1-david.marchand@redhat.com \
    --to=david.marchand@redhat.com \
    --cc=chenbo.xia@intel.com \
    --cc=dev@dpdk.org \
    --cc=maxime.coquelin@redhat.com \
    --cc=stable@dpdk.org \
    --cc=yong.liu@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.