From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id DA99A454AA; Thu, 20 Jun 2024 14:32:32 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 59F3F402D2; Thu, 20 Jun 2024 14:32:32 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.15]) by mails.dpdk.org (Postfix) with ESMTP id 0EF75402B1 for ; Thu, 20 Jun 2024 14:32:30 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1718886751; x=1750422751; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=Tuwl74QdMwFdVnqZ1wYUI+ctaDa752WPbWJsNnTyD6Y=; b=I269gmxWROTEo+aX8F3XkbwfpGd4c/BmPILyPBBsmBRfDJ82HuXbJ2xY zmD6YlMfKYzgYiX++UXJ2gp5wWAsagup262gmfZXAzjny1l6IPprSVF/7 O7H6kPZ9MP39QVcBN7HvLvaP0mmU9JDHHOT8ABj6LukeEDTKDfzsLq4KX QVKppygDZrwsU0cgk1YLvdrJPwhlyXZVhAw7G4wbolVGFFJP4A/JG+e66 2W7nYP27TvfqZ2bbHpQvHkq8VO313yYO0MMwd5B5v52IDqTpE0OLfllwI GtOKsYz8OoRhns9oZw5c75bSYJiUPUdpK1aZ/zWOhyN6c/Umin+ijfqbs w==; X-CSE-ConnectionGUID: 3O2Naem6RzCnzon5AoWgCw== X-CSE-MsgGUID: hijXKD2aQ6GZV0nUviOgiw== X-IronPort-AV: E=McAfee;i="6700,10204,11108"; a="19635672" X-IronPort-AV: E=Sophos;i="6.08,252,1712646000"; d="scan'208";a="19635672" Received: from fmviesa010.fm.intel.com ([10.60.135.150]) by orvoesa107.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Jun 2024 05:32:30 -0700 X-CSE-ConnectionGUID: Wz9cU09ZSki3/0Q08LOSeQ== X-CSE-MsgGUID: CVVNsd3pQFGXc/ZU5muSag== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,252,1712646000"; d="scan'208";a="42336698" Received: from unknown (HELO silpixa00401385.ir.intel.com) ([10.237.214.17]) by fmviesa010.fm.intel.com with ESMTP; 20 Jun 2024 05:32:28 -0700 From: Bruce Richardson To: dev@dpdk.org Cc: Bruce Richardson Subject: [PATCH] net/*: replace intrinsic header include with rte_vect Date: Thu, 20 Jun 2024 13:32:18 +0100 Message-ID: <20240620123218.1936250-1-bruce.richardson@intel.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Rather than having the SSE code in each driver include tmmintrin.h, which often does not contain all needed intrinsics, e.g. _mm_cvtsi128_si64() for 32-bit x86 builds, we can just replace the include of ?mmintrin.h with rte_vect.h for all network drivers. Signed-off-by: Bruce Richardson --- drivers/net/fm10k/fm10k_rxtx_vec.c | 2 +- drivers/net/i40e/i40e_rxtx_vec_sse.c | 2 +- drivers/net/iavf/iavf_rxtx_vec_sse.c | 2 +- drivers/net/ice/ice_rxtx_vec_sse.c | 2 +- drivers/net/ixgbe/ixgbe_rxtx_vec_sse.c | 2 +- drivers/net/mlx5/mlx5_rxtx_vec_sse.h | 2 +- drivers/net/ngbe/ngbe_rxtx_vec_sse.c | 2 +- drivers/net/txgbe/txgbe_rxtx_vec_sse.c | 2 +- drivers/net/virtio/virtio_rxtx_simple_sse.c | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/net/fm10k/fm10k_rxtx_vec.c b/drivers/net/fm10k/fm10k_rxtx_vec.c index 62119de373..9a84775cb1 100644 --- a/drivers/net/fm10k/fm10k_rxtx_vec.c +++ b/drivers/net/fm10k/fm10k_rxtx_vec.c @@ -10,7 +10,7 @@ #include "fm10k.h" #include "base/fm10k_type.h" -#include +#include #ifndef __INTEL_COMPILER #pragma GCC diagnostic ignored "-Wcast-qual" diff --git a/drivers/net/i40e/i40e_rxtx_vec_sse.c b/drivers/net/i40e/i40e_rxtx_vec_sse.c index 2d4480a765..ad560d2b6b 100644 --- a/drivers/net/i40e/i40e_rxtx_vec_sse.c +++ b/drivers/net/i40e/i40e_rxtx_vec_sse.c @@ -12,7 +12,7 @@ #include "i40e_rxtx.h" #include "i40e_rxtx_vec_common.h" -#include +#include #ifndef __INTEL_COMPILER #pragma GCC diagnostic ignored "-Wcast-qual" diff --git a/drivers/net/iavf/iavf_rxtx_vec_sse.c b/drivers/net/iavf/iavf_rxtx_vec_sse.c index 96f187f511..0db6fa8bd4 100644 --- a/drivers/net/iavf/iavf_rxtx_vec_sse.c +++ b/drivers/net/iavf/iavf_rxtx_vec_sse.c @@ -10,7 +10,7 @@ #include "iavf_rxtx.h" #include "iavf_rxtx_vec_common.h" -#include +#include #ifndef __INTEL_COMPILER #pragma GCC diagnostic ignored "-Wcast-qual" diff --git a/drivers/net/ice/ice_rxtx_vec_sse.c b/drivers/net/ice/ice_rxtx_vec_sse.c index 9a1b7e3e51..c01d8ede29 100644 --- a/drivers/net/ice/ice_rxtx_vec_sse.c +++ b/drivers/net/ice/ice_rxtx_vec_sse.c @@ -4,7 +4,7 @@ #include "ice_rxtx_vec_common.h" -#include +#include #ifndef __INTEL_COMPILER #pragma GCC diagnostic ignored "-Wcast-qual" diff --git a/drivers/net/ixgbe/ixgbe_rxtx_vec_sse.c b/drivers/net/ixgbe/ixgbe_rxtx_vec_sse.c index f60808d576..a77370cdb7 100644 --- a/drivers/net/ixgbe/ixgbe_rxtx_vec_sse.c +++ b/drivers/net/ixgbe/ixgbe_rxtx_vec_sse.c @@ -10,7 +10,7 @@ #include "ixgbe_rxtx.h" #include "ixgbe_rxtx_vec_common.h" -#include +#include #ifndef __INTEL_COMPILER #pragma GCC diagnostic ignored "-Wcast-qual" diff --git a/drivers/net/mlx5/mlx5_rxtx_vec_sse.h b/drivers/net/mlx5/mlx5_rxtx_vec_sse.h index 2bdd1f676d..93d6d1b5f0 100644 --- a/drivers/net/mlx5/mlx5_rxtx_vec_sse.h +++ b/drivers/net/mlx5/mlx5_rxtx_vec_sse.h @@ -9,7 +9,7 @@ #include #include #include -#include +#include #include #include diff --git a/drivers/net/ngbe/ngbe_rxtx_vec_sse.c b/drivers/net/ngbe/ngbe_rxtx_vec_sse.c index f703d0ea15..b128bd3a67 100644 --- a/drivers/net/ngbe/ngbe_rxtx_vec_sse.c +++ b/drivers/net/ngbe/ngbe_rxtx_vec_sse.c @@ -11,7 +11,7 @@ #include "ngbe_rxtx.h" #include "ngbe_rxtx_vec_common.h" -#include +#include static inline void ngbe_rxq_rearm(struct ngbe_rx_queue *rxq) diff --git a/drivers/net/txgbe/txgbe_rxtx_vec_sse.c b/drivers/net/txgbe/txgbe_rxtx_vec_sse.c index 12eb4aeef5..1a3f2ce3cd 100644 --- a/drivers/net/txgbe/txgbe_rxtx_vec_sse.c +++ b/drivers/net/txgbe/txgbe_rxtx_vec_sse.c @@ -10,7 +10,7 @@ #include "txgbe_rxtx.h" #include "txgbe_rxtx_vec_common.h" -#include +#include static inline void txgbe_rxq_rearm(struct txgbe_rx_queue *rxq) diff --git a/drivers/net/virtio/virtio_rxtx_simple_sse.c b/drivers/net/virtio/virtio_rxtx_simple_sse.c index 6a18741b6d..d53acc4fd6 100644 --- a/drivers/net/virtio/virtio_rxtx_simple_sse.c +++ b/drivers/net/virtio/virtio_rxtx_simple_sse.c @@ -8,7 +8,7 @@ #include #include -#include +#include #include #include -- 2.43.0