* [PATCH] net/i40e: fix comments
@ 2023-07-12 10:07 Jieqiang Wang
2023-07-13 9:00 ` Zhang, Qi Z
0 siblings, 1 reply; 2+ messages in thread
From: Jieqiang Wang @ 2023-07-12 10:07 UTC (permalink / raw)
To: Thomas Monjalon, Yuying Zhang, Beilei Xing, David Christensen,
Ruifeng Wang, Bruce Richardson, Konstantin Ananyev, Jeff Guo,
Morten Brørup, Qi Zhang
Cc: dev, nd, Jieqiang Wang, stable
The limitation of burst size in i40e vector rx has been removed, but the
comment lines have not been updated to reflect the code changes. Remove
those lines to avoid confusion. Additionally, fix a typo in
i40e_tx_queue.
Fixes: 9e27f00f3a61 ("net/i40e: fix vector Rx")
Cc: jia.guo@intel.com
Cc: stable@dpdk.org
Signed-off-by: Jieqiang Wang <jieqiang.wang@arm.com>
Reviewed-by: Ruifeng Wang <ruifeng.wang@arm.com>
---
.mailmap | 1 +
drivers/net/i40e/i40e_rxtx.h | 2 +-
drivers/net/i40e/i40e_rxtx_vec_altivec.c | 2 --
drivers/net/i40e/i40e_rxtx_vec_neon.c | 2 --
drivers/net/i40e/i40e_rxtx_vec_sse.c | 2 --
5 files changed, 2 insertions(+), 7 deletions(-)
diff --git a/.mailmap b/.mailmap
index 6eccf0c555..670d312f84 100644
--- a/.mailmap
+++ b/.mailmap
@@ -628,6 +628,7 @@ Jie Liu <jie2.liu@hxt-semitech.com>
Jie Pan <panjie5@jd.com>
Jie Wang <jie1x.wang@intel.com>
Jie Zhou <jizh@linux.microsoft.com> <jizh@microsoft.com>
+Jieqiang Wang <jieqiang.wang@arm.com>
Jijiang Liu <jijiang.liu@intel.com>
Jilei Chen <chenjilei@cmss.chinamobile.com>
Jim Harris <james.r.harris@intel.com>
diff --git a/drivers/net/i40e/i40e_rxtx.h b/drivers/net/i40e/i40e_rxtx.h
index 0376c219be..a8686224e5 100644
--- a/drivers/net/i40e/i40e_rxtx.h
+++ b/drivers/net/i40e/i40e_rxtx.h
@@ -169,7 +169,7 @@ struct i40e_tx_queue {
bool q_set; /**< indicate if tx queue has been configured */
bool tx_deferred_start; /**< don't start this queue in dev start */
uint8_t dcb_tc; /**< Traffic class of tx queue */
- uint64_t offloads; /**< Tx offload flags of RTE_ETH_RX_OFFLOAD_* */
+ uint64_t offloads; /**< Tx offload flags of RTE_ETH_TX_OFFLOAD_* */
const struct rte_memzone *mz;
};
diff --git a/drivers/net/i40e/i40e_rxtx_vec_altivec.c b/drivers/net/i40e/i40e_rxtx_vec_altivec.c
index 8672ad1c41..4cd78f4e58 100644
--- a/drivers/net/i40e/i40e_rxtx_vec_altivec.c
+++ b/drivers/net/i40e/i40e_rxtx_vec_altivec.c
@@ -449,8 +449,6 @@ _recv_raw_pkts_vec(struct i40e_rx_queue *rxq, struct rte_mbuf **rx_pkts,
/* Notice:
* - nb_pkts < RTE_I40E_DESCS_PER_LOOP, just return no packet
- * - nb_pkts > RTE_I40E_VPMD_RX_BURST, only scan RTE_I40E_VPMD_RX_BURST
- * numbers of DD bits
*/
uint16_t
i40e_recv_pkts_vec(void *rx_queue, struct rte_mbuf **rx_pkts,
diff --git a/drivers/net/i40e/i40e_rxtx_vec_neon.c b/drivers/net/i40e/i40e_rxtx_vec_neon.c
index 49391fe4c7..d873e30972 100644
--- a/drivers/net/i40e/i40e_rxtx_vec_neon.c
+++ b/drivers/net/i40e/i40e_rxtx_vec_neon.c
@@ -574,8 +574,6 @@ _recv_raw_pkts_vec(struct i40e_rx_queue *__rte_restrict rxq,
/*
* Notice:
* - nb_pkts < RTE_I40E_DESCS_PER_LOOP, just return no packet
- * - nb_pkts > RTE_I40E_VPMD_RX_BURST, only scan RTE_I40E_VPMD_RX_BURST
- * numbers of DD bits
*/
uint16_t
i40e_recv_pkts_vec(void *__rte_restrict rx_queue,
diff --git a/drivers/net/i40e/i40e_rxtx_vec_sse.c b/drivers/net/i40e/i40e_rxtx_vec_sse.c
index baf83cb3df..b94c37cbb8 100644
--- a/drivers/net/i40e/i40e_rxtx_vec_sse.c
+++ b/drivers/net/i40e/i40e_rxtx_vec_sse.c
@@ -596,8 +596,6 @@ _recv_raw_pkts_vec(struct i40e_rx_queue *rxq, struct rte_mbuf **rx_pkts,
/*
* Notice:
* - nb_pkts < RTE_I40E_DESCS_PER_LOOP, just return no packet
- * - nb_pkts > RTE_I40E_VPMD_RX_BURST, only scan RTE_I40E_VPMD_RX_BURST
- * numbers of DD bits
*/
uint16_t
i40e_recv_pkts_vec(void *rx_queue, struct rte_mbuf **rx_pkts,
--
2.25.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* RE: [PATCH] net/i40e: fix comments
2023-07-12 10:07 [PATCH] net/i40e: fix comments Jieqiang Wang
@ 2023-07-13 9:00 ` Zhang, Qi Z
0 siblings, 0 replies; 2+ messages in thread
From: Zhang, Qi Z @ 2023-07-13 9:00 UTC (permalink / raw)
To: Jieqiang Wang, Thomas Monjalon, Zhang, Yuying, Xing, Beilei,
David Christensen, Ruifeng Wang, Richardson, Bruce,
Konstantin Ananyev, Jeff Guo, Morten Brørup
Cc: dev, nd, stable
> -----Original Message-----
> From: Jieqiang Wang <jieqiang.wang@arm.com>
> Sent: Wednesday, July 12, 2023 6:08 PM
> To: Thomas Monjalon <thomas@monjalon.net>; Zhang, Yuying
> <yuying.zhang@intel.com>; Xing, Beilei <beilei.xing@intel.com>; David
> Christensen <drc@linux.vnet.ibm.com>; Ruifeng Wang
> <ruifeng.wang@arm.com>; Richardson, Bruce <bruce.richardson@intel.com>;
> Konstantin Ananyev <konstantin.v.ananyev@yandex.ru>; Jeff Guo
> <jia.guo@intel.com>; Morten Brørup <mb@smartsharesystems.com>; Zhang,
> Qi Z <qi.z.zhang@intel.com>
> Cc: dev@dpdk.org; nd@arm.com; Jieqiang Wang <jieqiang.wang@arm.com>;
> stable@dpdk.org
> Subject: [PATCH] net/i40e: fix comments
>
> The limitation of burst size in i40e vector rx has been removed, but the
> comment lines have not been updated to reflect the code changes. Remove
> those lines to avoid confusion. Additionally, fix a typo in i40e_tx_queue.
>
> Fixes: 9e27f00f3a61 ("net/i40e: fix vector Rx")
> Cc: jia.guo@intel.com
> Cc: stable@dpdk.org
>
> Signed-off-by: Jieqiang Wang <jieqiang.wang@arm.com>
> Reviewed-by: Ruifeng Wang <ruifeng.wang@arm.com>
Applied to dpdk-next-net-intel.
Thanks
Qi
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-07-13 9:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-12 10:07 [PATCH] net/i40e: fix comments Jieqiang Wang
2023-07-13 9:00 ` Zhang, Qi Z
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).