Re: [dpdk-dev] [PATCH] igb_uio: fix compile error

2017-10-16 Thread Thomas Monjalon
16/10/2017 12:10, Tan, Jianfeng: > From: Wu, Jingjing > > > > Compile fails when kernel version is <= 3.17 with error: > > "dereferencing pointer to incomplete type". This is because struct > > uio_device definition is not exposed in kernel earlier than 3.17. > > > > This patch fixes it by using

Re: [dpdk-dev] [PATCH] igb_uio: fix compile error

2017-10-16 Thread Tan, Jianfeng
> -Original Message- > From: Wu, Jingjing > Sent: Monday, October 16, 2017 9:58 AM > To: Tan, Jianfeng > Cc: dev@dpdk.org; Wu, Jingjing > Subject: [PATCH] igb_uio: fix compile error > > Compile fails when kernel version is <= 3.17 with error: > "dereferencing pointer to incomplete type".

[dpdk-dev] [PATCH] igb_uio: fix compile error

2017-10-16 Thread Jingjing Wu
Compile fails when kernel version is <= 3.17 with error: "dereferencing pointer to incomplete type". This is because struct uio_device definition is not exposed in kernel earlier than 3.17. This patch fixes it by using pointer of rte_uio_pci_dev as dev_id instead of uio_device for irq device handl