[dpdk-dev] [PATCH] igb_uio: fix uevent montior issue

Wu, Jingjing jingjing.wu at intel.com
Wed Jan 31 03:15:03 CET 2018



> -----Original Message-----
> From: Guo, Jia
> Sent: Tuesday, January 30, 2018 6:01 PM
> To: Yigit, Ferruh <ferruh.yigit at intel.com>; Wu, Jingjing <jingjing.wu at intel.com>; Tan,
> Jianfeng <jianfeng.tan at intel.com>
> Cc: thomas at monjalon.net; dev at dpdk.org; Guo, Jia <jia.guo at intel.com>
> Subject: [PATCH] igb_uio: fix uevent montior issue
> 
> udev could not detect remove and add event of device when hotplug in
> and out devices, that related with the fix about using pointer of
> rte_uio_pci_dev as dev_id instead of uio_device for irq device handler,
> that would result igb uio irq failure when kernel version after than 3.17.
> so this patch correct it by use kernel version check before handle the
> pci interrupt.
> 
> Fixes: 6b9ed026a870 ("igb_uio: fix build with kernel <= 3.17")
> Signed-off-by: Jeff Guo <jia.guo at intel.com>

Reviewed-by: Jingjing Wu <jingjing.wu at intel.com>


More information about the dev mailing list