DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] test/eventdev: update the port id to 16 bit
@ 2018-05-15 15:48 Vipin Varghese
  2018-05-15 10:23 ` Rao, Nikhil
  2018-05-15 18:06 ` [dpdk-dev] [PATCH v2] " Vipin Varghese
  0 siblings, 2 replies; 5+ messages in thread
From: Vipin Varghese @ 2018-05-15 15:48 UTC (permalink / raw)
  To: dev, nikhil.rao, deepak.k.jain; +Cc: Vipin Varghese

port id in test case is update to unsigned int 16 bit, to
prvent compilation faulure when RTE_ETH_MAX port is set more
than 255.

Signed-off-by: Vipin Varghese <vipin.varghese@intel.com>
---
 test/test/test_event_eth_rx_adapter.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/test/test_event_eth_rx_adapter.c b/test/test/test_event_eth_rx_adapter.c
index ab55398..dee632b 100644
--- a/test/test/test_event_eth_rx_adapter.c
+++ b/test/test/test_event_eth_rx_adapter.c
@@ -107,7 +107,7 @@ port_init(uint8_t port, struct rte_mempool *mp)
 static int
 init_ports(int num_ports)
 {
-	uint8_t portid;
+	uint16_t portid;
 	int retval;
 
 	default_params.mp = rte_pktmbuf_pool_create("packet_pool",
-- 
2.7.4

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

end of thread, other threads:[~2018-05-20 23:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-15 15:48 [dpdk-dev] [PATCH] test/eventdev: update the port id to 16 bit Vipin Varghese
2018-05-15 10:23 ` Rao, Nikhil
2018-05-15 12:24   ` Varghese, Vipin
2018-05-15 18:06 ` [dpdk-dev] [PATCH v2] " Vipin Varghese
2018-05-20 23:17   ` 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).