DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] net/i40e: fix incorrect packet index reference
@ 2017-03-04 12:00 Jerin Jacob
  2017-03-05 17:17 ` Jianbo Liu
  0 siblings, 1 reply; 3+ messages in thread
From: Jerin Jacob @ 2017-03-04 12:00 UTC (permalink / raw)
  To: jianbo.liu
  Cc: dev, helin.zhang, bruce.richardson, Jerin Jacob, stable, Sunil Kulkarni

Fixes: ae0eb310f253 ("net/i40e: implement vector PMD for ARM")

CC: stable@dpdk.org
Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
Signed-off-by: Sunil Kulkarni <sunil.kulkarni@caviumnetworks.com>
---
 drivers/net/i40e/i40e_rxtx_vec_neon.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/i40e/i40e_rxtx_vec_neon.c b/drivers/net/i40e/i40e_rxtx_vec_neon.c
index 011c54e..d235daa 100644
--- a/drivers/net/i40e/i40e_rxtx_vec_neon.c
+++ b/drivers/net/i40e/i40e_rxtx_vec_neon.c
@@ -205,7 +205,7 @@ desc_to_ptype_v(uint64x2_t descs[4], struct rte_mbuf **rx_pkts)
 	for (i = 0; i < 4; i++) {
 		tmp = vreinterpretq_u8_u64(vshrq_n_u64(descs[i], 30));
 		ptype = vgetq_lane_u8(tmp, 8);
-		rx_pkts[0]->packet_type = i40e_rxd_pkt_type_mapping(ptype);
+		rx_pkts[i]->packet_type = i40e_rxd_pkt_type_mapping(ptype);
 	}
 
 }
-- 
2.5.5

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-dev] [PATCH] net/i40e: fix incorrect packet index reference
  2017-03-04 12:00 [dpdk-dev] [PATCH] net/i40e: fix incorrect packet index reference Jerin Jacob
@ 2017-03-05 17:17 ` Jianbo Liu
  2017-03-08 16:28   ` [dpdk-dev] [dpdk-stable] " Ferruh Yigit
  0 siblings, 1 reply; 3+ messages in thread
From: Jianbo Liu @ 2017-03-05 17:17 UTC (permalink / raw)
  To: Jerin Jacob; +Cc: dev, Zhang, Helin, Bruce Richardson, stable, Sunil Kulkarni

On 4 March 2017 at 13:00, Jerin Jacob <jerin.jacob@caviumnetworks.com> wrote:
> Fixes: ae0eb310f253 ("net/i40e: implement vector PMD for ARM")
>
> CC: stable@dpdk.org
> Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
> Signed-off-by: Sunil Kulkarni <sunil.kulkarni@caviumnetworks.com>
> ---
>  drivers/net/i40e/i40e_rxtx_vec_neon.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/net/i40e/i40e_rxtx_vec_neon.c b/drivers/net/i40e/i40e_rxtx_vec_neon.c
> index 011c54e..d235daa 100644
> --- a/drivers/net/i40e/i40e_rxtx_vec_neon.c
> +++ b/drivers/net/i40e/i40e_rxtx_vec_neon.c
> @@ -205,7 +205,7 @@ desc_to_ptype_v(uint64x2_t descs[4], struct rte_mbuf **rx_pkts)
>         for (i = 0; i < 4; i++) {
>                 tmp = vreinterpretq_u8_u64(vshrq_n_u64(descs[i], 30));
>                 ptype = vgetq_lane_u8(tmp, 8);
> -               rx_pkts[0]->packet_type = i40e_rxd_pkt_type_mapping(ptype);
> +               rx_pkts[i]->packet_type = i40e_rxd_pkt_type_mapping(ptype);
>         }
>
>  }

Acked-by: Jianbo Liu <jianbo.liu@linaro.org>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-dev] [dpdk-stable] [PATCH] net/i40e: fix incorrect packet index reference
  2017-03-05 17:17 ` Jianbo Liu
@ 2017-03-08 16:28   ` Ferruh Yigit
  0 siblings, 0 replies; 3+ messages in thread
From: Ferruh Yigit @ 2017-03-08 16:28 UTC (permalink / raw)
  To: Jianbo Liu, Jerin Jacob
  Cc: dev, Zhang, Helin, Bruce Richardson, stable, Sunil Kulkarni

On 3/5/2017 5:17 PM, Jianbo Liu wrote:
> On 4 March 2017 at 13:00, Jerin Jacob <jerin.jacob@caviumnetworks.com> wrote:
>> Fixes: ae0eb310f253 ("net/i40e: implement vector PMD for ARM")
>>
>> CC: stable@dpdk.org
>> Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
>> Signed-off-by: Sunil Kulkarni <sunil.kulkarni@caviumnetworks.com>

> Acked-by: Jianbo Liu <jianbo.liu@linaro.org>

Applied to dpdk-next-net/master, thanks.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-03-08 16:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-04 12:00 [dpdk-dev] [PATCH] net/i40e: fix incorrect packet index reference Jerin Jacob
2017-03-05 17:17 ` Jianbo Liu
2017-03-08 16:28   ` [dpdk-dev] [dpdk-stable] " Ferruh Yigit

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).