All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/3] net/octeontx: fix 32bit build with driver debug enabled
@ 2017-10-11 11:30 Jerin Jacob
  2017-10-11 11:30 ` [PATCH 2/3] " Jerin Jacob
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Jerin Jacob @ 2017-10-11 11:30 UTC (permalink / raw)
  To: dev; +Cc: ferruh.yigit, thomas, Jerin Jacob

squash this to next-next

Fixes: 7c025f92e9f4 ("net/octeontx/base: add base PKO operations")

Reported-by: Thomas Monjalon <thomas@monjalon.net>
Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
---
 drivers/net/octeontx/base/octeontx_pkovf.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/net/octeontx/base/octeontx_pkovf.c b/drivers/net/octeontx/base/octeontx_pkovf.c
index f0fb930c5..fdfe05ae1 100644
--- a/drivers/net/octeontx/base/octeontx_pkovf.c
+++ b/drivers/net/octeontx/base/octeontx_pkovf.c
@@ -242,7 +242,8 @@ octeontx_pko_dq_range_assign(struct octeontx_pko_vf_ctl_s *ctl, uint64_t chanid,
 	while (dq_cnt < dq_num) {
 		dq = dq_base + dq_cnt;
 
-		octeontx_log_dbg("DQ# %u assigned to CHAN# %lx", dq, chanid);
+		octeontx_log_dbg("DQ# %u assigned to CHAN# %" PRIx64 "", dq,
+			chanid);
 
 		ctl->dq_map[dq].chanid = ~chanid;
 		dq_cnt++;
-- 
2.14.2

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

* [PATCH 2/3] net/octeontx: fix 32bit build with driver debug enabled
  2017-10-11 11:30 [PATCH 1/3] net/octeontx: fix 32bit build with driver debug enabled Jerin Jacob
@ 2017-10-11 11:30 ` Jerin Jacob
  2017-10-11 11:30 ` [PATCH 3/3] " Jerin Jacob
  2017-10-11 17:17 ` [PATCH 1/3] " Ferruh Yigit
  2 siblings, 0 replies; 4+ messages in thread
From: Jerin Jacob @ 2017-10-11 11:30 UTC (permalink / raw)
  To: dev; +Cc: ferruh.yigit, thomas, Jerin Jacob

squash this to next-next

Fixes: 57b01943ae4f ("net/octeontx/base: add remaining PKO operations")

Reported-by: Thomas Monjalon <thomas@monjalon.net>
Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
---
 drivers/net/octeontx/base/octeontx_pkovf.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/net/octeontx/base/octeontx_pkovf.c b/drivers/net/octeontx/base/octeontx_pkovf.c
index fdfe05ae1..a8f6e5d36 100644
--- a/drivers/net/octeontx/base/octeontx_pkovf.c
+++ b/drivers/net/octeontx/base/octeontx_pkovf.c
@@ -507,8 +507,8 @@ octeontx_pko_init_fc(const size_t pko_vf_count)
 
 		octeontx_write64(reg, vf_bar0 + PKO_VF_DQ_FC_CONFIG);
 
-		octeontx_log_dbg("PKO: bar0 %p VF_idx %d DQ_FC_CONFIG= 0x%lx"
-				 , vf_bar0, (int)vf_idx, reg);
+		octeontx_log_dbg("PKO: bar0 %p VF_idx %d DQ_FC_CFG=%" PRIx64 "",
+				 vf_bar0, (int)vf_idx, reg);
 	}
 	return 0;
 }
-- 
2.14.2

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

* [PATCH 3/3] net/octeontx: fix 32bit build with driver debug enabled
  2017-10-11 11:30 [PATCH 1/3] net/octeontx: fix 32bit build with driver debug enabled Jerin Jacob
  2017-10-11 11:30 ` [PATCH 2/3] " Jerin Jacob
@ 2017-10-11 11:30 ` Jerin Jacob
  2017-10-11 17:17 ` [PATCH 1/3] " Ferruh Yigit
  2 siblings, 0 replies; 4+ messages in thread
From: Jerin Jacob @ 2017-10-11 11:30 UTC (permalink / raw)
  To: dev; +Cc: ferruh.yigit, thomas, Jerin Jacob

squash this to next-next

Fixes: 9198e27bca84 ("net/octeontx: add basic stats support")

Reported-by: Thomas Monjalon <thomas@monjalon.net>
Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
---
 drivers/net/octeontx/octeontx_ethdev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/octeontx/octeontx_ethdev.c b/drivers/net/octeontx/octeontx_ethdev.c
index 9889bfffb..82e38c20a 100644
--- a/drivers/net/octeontx/octeontx_ethdev.c
+++ b/drivers/net/octeontx/octeontx_ethdev.c
@@ -221,7 +221,7 @@ octeontx_port_stats(struct octeontx_nic *nic, struct rte_eth_stats *stats)
 	stats->obytes = bgx_stats.tx_bytes;
 	stats->oerrors = bgx_stats.tx_errors;
 
-	octeontx_log_dbg("port %d get stats done inpkts=%ld outpkts=%ld",
+	octeontx_log_dbg("port%d stats inpkts=%" PRIx64 " outpkts=%" PRIx64 "",
 			nic->port_id, stats->ipackets, stats->opackets);
 
 	return 0;
-- 
2.14.2

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

* Re: [PATCH 1/3] net/octeontx: fix 32bit build with driver debug enabled
  2017-10-11 11:30 [PATCH 1/3] net/octeontx: fix 32bit build with driver debug enabled Jerin Jacob
  2017-10-11 11:30 ` [PATCH 2/3] " Jerin Jacob
  2017-10-11 11:30 ` [PATCH 3/3] " Jerin Jacob
@ 2017-10-11 17:17 ` Ferruh Yigit
  2 siblings, 0 replies; 4+ messages in thread
From: Ferruh Yigit @ 2017-10-11 17:17 UTC (permalink / raw)
  To: Jerin Jacob, dev; +Cc: thomas

On 10/11/2017 12:30 PM, Jerin Jacob wrote:
> squash this to next-next
> 
> Fixes: 7c025f92e9f4 ("net/octeontx/base: add base PKO operations")
> 
> Reported-by: Thomas Monjalon <thomas@monjalon.net>
> Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>

Series squashed into relevant commits in next-net, thanks.

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

end of thread, other threads:[~2017-10-11 17:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-11 11:30 [PATCH 1/3] net/octeontx: fix 32bit build with driver debug enabled Jerin Jacob
2017-10-11 11:30 ` [PATCH 2/3] " Jerin Jacob
2017-10-11 11:30 ` [PATCH 3/3] " Jerin Jacob
2017-10-11 17:17 ` [PATCH 1/3] " Ferruh Yigit

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.