DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] net/i40e: fix compilation error in ppc64le
@ 2017-04-20  7:39 Gowrishankar
  2017-04-20  8:21 ` Thomas Monjalon
  0 siblings, 1 reply; 2+ messages in thread
From: Gowrishankar @ 2017-04-20  7:39 UTC (permalink / raw)
  To: dev
  Cc: Chao Zhu, Helin Zhang, Jingjing Wu, Ferruh Yigit,
	Gowrishankar Muthukrishnan

From: Gowrishankar Muthukrishnan <gowrishankar.m@linux.vnet.ibm.com>

A typo introduced in i40e_rxtx_vec_altivec.c from commit 67f038076657
("net/i40e: enable per-device packet type mapping"). This patch is to
address compilation error in ppc64le.

Signed-off-by: Gowrishankar Muthukrishnan <gowrishankar.m@linux.vnet.ibm.com>
---
 drivers/net/i40e/i40e_rxtx_vec_altivec.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/net/i40e/i40e_rxtx_vec_altivec.c b/drivers/net/i40e/i40e_rxtx_vec_altivec.c
index 07de31b..f4036ea 100644
--- a/drivers/net/i40e/i40e_rxtx_vec_altivec.c
+++ b/drivers/net/i40e/i40e_rxtx_vec_altivec.c
@@ -208,13 +208,13 @@
 	ptype1 = vec_sr(ptype1, (vector unsigned long){30, 30});
 
 	rx_pkts[0]->packet_type =
-		ptype_tbl[(*(vector unsigned char *)&ptype0)[0])];
+		ptype_tbl[(*(vector unsigned char *)&ptype0)[0]];
 	rx_pkts[1]->packet_type =
-		ptype_tbl[(*(vector unsigned char *)&ptype0)[8])];
+		ptype_tbl[(*(vector unsigned char *)&ptype0)[8]];
 	rx_pkts[2]->packet_type =
-		ptype_tbl[(*(vector unsigned char *)&ptype1)[0])];
+		ptype_tbl[(*(vector unsigned char *)&ptype1)[0]];
 	rx_pkts[3]->packet_type =
-		ptype_tbl[(*(vector unsigned char *)&ptype1)[8])];
+		ptype_tbl[(*(vector unsigned char *)&ptype1)[8]];
 }
 
  /* Notice:
-- 
1.9.1

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

* Re: [dpdk-dev] [PATCH] net/i40e: fix compilation error in ppc64le
  2017-04-20  7:39 [dpdk-dev] [PATCH] net/i40e: fix compilation error in ppc64le Gowrishankar
@ 2017-04-20  8:21 ` Thomas Monjalon
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Monjalon @ 2017-04-20  8:21 UTC (permalink / raw)
  To: Gowrishankar, Chao Zhu; +Cc: dev, Helin Zhang, Jingjing Wu, Ferruh Yigit

20/04/2017 09:39, Gowrishankar:
> From: Gowrishankar Muthukrishnan <gowrishankar.m@linux.vnet.ibm.com>
> 
> A typo introduced in i40e_rxtx_vec_altivec.c from commit 67f038076657
> ("net/i40e: enable per-device packet type mapping"). This patch is to
> address compilation error in ppc64le.
> 
> Signed-off-by: Gowrishankar Muthukrishnan
> <gowrishankar.m@linux.vnet.ibm.com>

Applied, thanks

Please try to avoid such compilation issue by reviewing/testing patches
before they are applied.

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

end of thread, other threads:[~2017-04-20  8:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-20  7:39 [dpdk-dev] [PATCH] net/i40e: fix compilation error in ppc64le Gowrishankar
2017-04-20  8:21 ` Thomas Monjalon

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