DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] lib/librte_kni: fix the type for mac address
@ 2019-01-24  3:53 Jie Pan
  2019-04-04 23:27 ` Thomas Monjalon
                   ` (3 more replies)
  0 siblings, 4 replies; 17+ messages in thread
From: Jie Pan @ 2019-01-24  3:53 UTC (permalink / raw)
  To: ferruh.yigit; +Cc: dev, Jie Pan

The type for mac address in struct rte_kni_conf should be unsigned.

Signed-off-by: Jie Pan <panjie5@jd.com>
---
 lib/librte_kni/rte_kni.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/librte_kni/rte_kni.h b/lib/librte_kni/rte_kni.h
index 02ca43b..d44496c 100644
--- a/lib/librte_kni/rte_kni.h
+++ b/lib/librte_kni/rte_kni.h
@@ -68,7 +68,7 @@ struct rte_kni_conf {
 
 	__extension__
 	uint8_t force_bind : 1; /* Flag to bind kernel thread */
-	char mac_addr[ETHER_ADDR_LEN]; /* MAC address assigned to KNI */
+	uint8_t mac_addr[ETHER_ADDR_LEN]; /* MAC address assigned to KNI */
 	uint16_t mtu;
 };
 
-- 
1.8.3.1

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

end of thread, other threads:[~2019-04-19 20:58 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-24  3:53 [dpdk-dev] [PATCH] lib/librte_kni: fix the type for mac address Jie Pan
2019-04-04 23:27 ` Thomas Monjalon
2019-04-04 23:27   ` Thomas Monjalon
2019-04-09 19:47 ` Yigit, Ferruh
2019-04-09 19:47   ` Yigit, Ferruh
2019-04-10  6:20   ` [dpdk-dev] 答复: " 潘杰
2019-04-10  6:20     ` 潘杰
2019-04-10  6:09 ` [dpdk-dev] [PATCH v2] kni: fix the type for MAC address Jie Pan
2019-04-10  6:09   ` Jie Pan
2019-04-10  6:20 ` Jie Pan
2019-04-10  6:20   ` Jie Pan
2019-04-19 12:15   ` [dpdk-dev] [dpdk-stable] " Ferruh Yigit
2019-04-19 12:15     ` Ferruh Yigit
2019-04-19 15:29     ` Rami Rosen
2019-04-19 15:29       ` Rami Rosen
2019-04-19 20:58       ` Thomas Monjalon
2019-04-19 20:58         ` 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).