From: Feifei Wang <feifei.wang2@arm.com>
To: feifei.wang2@arm.com, ruifeng.wang@arm.com, stable@dpdk.org
Cc: nd@arm.com
Subject: [dpdk-stable] [PATCH 19.11 4/4] net/ixgbe: enable IXGBE NEON vector PMD when CHECKSUM need to checksum
Date: Fri, 19 Feb 2021 14:20:41 +0800 [thread overview]
Message-ID: <20210219062041.2015421-5-feifei.wang2@arm.com> (raw)
In-Reply-To: <20210219062041.2015421-1-feifei.wang2@arm.com>
[ upstream commit cf96160a0a95a8a9b99c14a1bf08ce4a417e6922 ]
IXGBE NEON vector PMD now supports checksum offloading, hence can be used
when DEV_RX_OFFLOAD_CHECKSUM is set.
Fixes: b4f3c136a179 ("net/ixgbe: support checksum flags in SSE vector Rx")
Signed-off-by: Feifei Wang <feifei.wang2@arm.com>
Reviewed-by: Ruifeng Wang <ruifeng.wang@arm.com>
---
drivers/net/ixgbe/ixgbe_rxtx_vec_neon.c | 6 ------
1 file changed, 6 deletions(-)
diff --git a/drivers/net/ixgbe/ixgbe_rxtx_vec_neon.c b/drivers/net/ixgbe/ixgbe_rxtx_vec_neon.c
index 3aa5a1e056..d6d941cbc6 100644
--- a/drivers/net/ixgbe/ixgbe_rxtx_vec_neon.c
+++ b/drivers/net/ixgbe/ixgbe_rxtx_vec_neon.c
@@ -638,11 +638,5 @@ ixgbe_txq_vec_setup(struct ixgbe_tx_queue *txq)
int __attribute__((cold))
ixgbe_rx_vec_dev_conf_condition_check(struct rte_eth_dev *dev)
{
- struct rte_eth_rxmode *rxmode = &dev->data->dev_conf.rxmode;
-
- /* no csum error report support */
- if (rxmode->offloads & DEV_RX_OFFLOAD_CHECKSUM)
- return -1;
-
return ixgbe_rx_vec_dev_conf_condition_check_default(dev);
}
--
2.25.1
next prev parent reply other threads:[~2021-02-19 6:20 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-19 6:20 [dpdk-stable] [PATCH 19.11 0/4] Enable Checksum Offloading for NEON vector Feifei Wang
2021-02-19 6:20 ` [dpdk-stable] [PATCH 19.11 1/4] net/ixgbe: add new flag of stripped VLAN for NEON Feifei Wang
2021-02-19 6:20 ` [dpdk-stable] [PATCH 19.11 2/4] net/ixgbe: support bad checksum flag " Feifei Wang
2021-02-19 6:20 ` [dpdk-stable] [PATCH 19.11 3/4] net/ixgbe: support good " Feifei Wang
2021-02-19 6:20 ` Feifei Wang [this message]
2021-02-22 13:21 ` [dpdk-stable] [PATCH 19.11 0/4] Enable Checksum Offloading for NEON vector Christian Ehrhardt
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=20210219062041.2015421-5-feifei.wang2@arm.com \
--to=feifei.wang2@arm.com \
--cc=nd@arm.com \
--cc=ruifeng.wang@arm.com \
--cc=stable@dpdk.org \
/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).