DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] kni: fix build with Linux 3.17
@ 2014-08-18 12:44 Aaro Koskinen
  2014-08-19  2:55 ` Zhang, Helin
  2014-08-29 14:37 ` Thomas Monjalon
  0 siblings, 2 replies; 3+ messages in thread
From: Aaro Koskinen @ 2014-08-18 12:44 UTC (permalink / raw)
  To: dev

In the series of ever-lasting ugly #ifdefs trying make out-of-tree
drivers to support latest mainline kernel...

Signed-off-by: Aaro Koskinen <aaro.koskinen@nsn.com>
---
 lib/librte_eal/linuxapp/kni/kni_misc.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lib/librte_eal/linuxapp/kni/kni_misc.c b/lib/librte_eal/linuxapp/kni/kni_misc.c
index 1c085d9..ba77776 100644
--- a/lib/librte_eal/linuxapp/kni/kni_misc.c
+++ b/lib/librte_eal/linuxapp/kni/kni_misc.c
@@ -345,6 +345,9 @@ kni_ioctl_create(unsigned int ioctl_num, unsigned long ioctl_param)
 	up_read(&kni_list_lock);
 
 	net_dev = alloc_netdev(sizeof(struct kni_dev), dev_info.name,
+#ifdef NET_NAME_UNKNOWN
+							NET_NAME_UNKNOWN,
+#endif
 							kni_net_init);
 	if (net_dev == NULL) {
 		KNI_ERR("error allocating device \"%s\"\n", dev_info.name);
-- 
2.0.0

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

end of thread, other threads:[~2014-08-29 14:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-18 12:44 [dpdk-dev] [PATCH] kni: fix build with Linux 3.17 Aaro Koskinen
2014-08-19  2:55 ` Zhang, Helin
2014-08-29 14:37 ` 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).