From: David Marchand <david.marchand@redhat.com>
To: dev@dpdk.org
Cc: ferruh.yigit@intel.com, Beilei Xing <beilei.xing@intel.com>,
Jeff Guo <jia.guo@intel.com>
Subject: [dpdk-dev] [PATCH 2/3] net/i40e: remove vector config
Date: Fri, 15 Jan 2021 14:40:20 +0100 [thread overview]
Message-ID: <20210115134021.7391-3-david.marchand@redhat.com> (raw)
In-Reply-To: <20210115134021.7391-1-david.marchand@redhat.com>
This config item is not exposed anymore now that we removed make
support.
Note: all architectures provide vectorised functions.
Signed-off-by: David Marchand <david.marchand@redhat.com>
---
drivers/net/i40e/i40e_rxtx.c | 52 ------------------------------------
drivers/net/i40e/meson.build | 3 ---
2 files changed, 55 deletions(-)
diff --git a/drivers/net/i40e/i40e_rxtx.c b/drivers/net/i40e/i40e_rxtx.c
index 5df9a9df56..ff21db6b09 100644
--- a/drivers/net/i40e/i40e_rxtx.c
+++ b/drivers/net/i40e/i40e_rxtx.c
@@ -3444,58 +3444,6 @@ i40e_set_default_pctype_table(struct rte_eth_dev *dev)
}
}
-#ifndef RTE_LIBRTE_I40E_INC_VECTOR
-int
-i40e_rx_vec_dev_conf_condition_check(struct rte_eth_dev __rte_unused *dev)
-{
- return -1;
-}
-
-uint16_t
-i40e_recv_pkts_vec(
- void __rte_unused *rx_queue,
- struct rte_mbuf __rte_unused **rx_pkts,
- uint16_t __rte_unused nb_pkts)
-{
- return 0;
-}
-
-uint16_t
-i40e_recv_scattered_pkts_vec(
- void __rte_unused *rx_queue,
- struct rte_mbuf __rte_unused **rx_pkts,
- uint16_t __rte_unused nb_pkts)
-{
- return 0;
-}
-
-int
-i40e_rxq_vec_setup(struct i40e_rx_queue __rte_unused *rxq)
-{
- return -1;
-}
-
-int
-i40e_txq_vec_setup(struct i40e_tx_queue __rte_unused *txq)
-{
- return -1;
-}
-
-void
-i40e_rx_queue_release_mbufs_vec(struct i40e_rx_queue __rte_unused*rxq)
-{
- return;
-}
-
-uint16_t
-i40e_xmit_fixed_burst_vec(void __rte_unused * tx_queue,
- struct rte_mbuf __rte_unused **tx_pkts,
- uint16_t __rte_unused nb_pkts)
-{
- return 0;
-}
-#endif /* ifndef RTE_LIBRTE_I40E_INC_VECTOR */
-
#ifndef CC_AVX2_SUPPORT
uint16_t
i40e_recv_pkts_vec_avx2(void __rte_unused *rx_queue,
diff --git a/drivers/net/i40e/meson.build b/drivers/net/i40e/meson.build
index 882168c256..bea4b18e3c 100644
--- a/drivers/net/i40e/meson.build
+++ b/drivers/net/i40e/meson.build
@@ -26,7 +26,6 @@ deps += ['hash']
includes += include_directories('base')
if arch_subdir == 'x86'
- dpdk_conf.set('RTE_LIBRTE_I40E_INC_VECTOR', 1)
sources += files('i40e_rxtx_vec_sse.c')
# compile AVX2 version if either:
@@ -46,10 +45,8 @@ if arch_subdir == 'x86'
objs += i40e_avx2_lib.extract_objects('i40e_rxtx_vec_avx2.c')
endif
elif arch_subdir == 'ppc'
- dpdk_conf.set('RTE_LIBRTE_I40E_INC_VECTOR', 1)
sources += files('i40e_rxtx_vec_altivec.c')
elif arch_subdir == 'arm'
- dpdk_conf.set('RTE_LIBRTE_I40E_INC_VECTOR', 1)
sources += files('i40e_rxtx_vec_neon.c')
endif
--
2.23.0
next prev parent reply other threads:[~2021-01-15 13:41 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-15 13:40 [dpdk-dev] [PATCH 0/3] net build fixes David Marchand
2021-01-15 13:40 ` [dpdk-dev] [PATCH 1/3] net/hinic: restore vectorised code David Marchand
2021-01-16 14:38 ` Ruifeng Wang
2021-01-18 8:18 ` David Marchand
2021-01-18 8:26 ` Ruifeng Wang
2021-01-15 13:40 ` David Marchand [this message]
2021-01-15 15:36 ` [dpdk-dev] [PATCH 2/3] net/i40e: remove vector config Ferruh Yigit
2021-01-15 13:40 ` [dpdk-dev] [PATCH 3/3] net/fm10k: " David Marchand
2021-01-15 15:36 ` Ferruh Yigit
2021-01-18 14:40 ` [dpdk-dev] [PATCH 0/3] net build fixes Ferruh Yigit
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=20210115134021.7391-3-david.marchand@redhat.com \
--to=david.marchand@redhat.com \
--cc=beilei.xing@intel.com \
--cc=dev@dpdk.org \
--cc=ferruh.yigit@intel.com \
--cc=jia.guo@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).