[dpdk-dev] [PATCH] set eventfd_link_misc.minor=MISC_DYNAMIC_MINOR

2015-08-04 Thread chixiaobo
For miscdevices, the major device_no is same, so the minor device_no should be set to ditinguish different misc devices; if not set the minor, it may fail while insmod due to the default minor value, 0, has been used by other miscdevice. MISC_DYNAMIC_MINOR means to let Linux kernel dynamically

[dpdk-dev] [PATCH] set eventfd_link_misc.minor=MISC_DYNAMIC_MINOR

2015-08-04 Thread chixiaobo
For miscdevices, the major device_no is same, so the minor device_no should be set to ditinguish different misc devices; if not set the minor, it may fail while insmod due to the default minor value, 0, has been used by other miscdevice. MISC_DYNAMIC_MINOR means to let Linux kernel dynamically