From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 111F41B665 for ; Wed, 31 Jan 2018 03:15:47 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 30 Jan 2018 18:15:46 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,437,1511856000"; d="scan'208";a="14326028" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by fmsmga008.fm.intel.com with ESMTP; 30 Jan 2018 18:15:46 -0800 Received: from fmsmsx115.amr.corp.intel.com (10.18.116.19) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 30 Jan 2018 18:15:46 -0800 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by fmsmsx115.amr.corp.intel.com (10.18.116.19) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 30 Jan 2018 18:15:46 -0800 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.145]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.116]) with mapi id 14.03.0319.002; Wed, 31 Jan 2018 10:15:03 +0800 From: "Wu, Jingjing" To: "Guo, Jia" , "Yigit, Ferruh" , "Tan, Jianfeng" CC: "thomas@monjalon.net" , "dev@dpdk.org" Thread-Topic: [PATCH] igb_uio: fix uevent montior issue Thread-Index: AQHTmbFkQXqP7av7mEeOkNar4Y7BBqONPmog Date: Wed, 31 Jan 2018 02:15:03 +0000 Message-ID: <9BB6961774997848B5B42BEC655768F810F3BF4C@SHSMSX103.ccr.corp.intel.com> References: <1517306475-2153-1-git-send-email-jia.guo@intel.com> In-Reply-To: <1517306475-2153-1-git-send-email-jia.guo@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYTMzMzI5ZWMtZjJmZi00YWNhLWI4YmItZmFmZmU1Zjk2NzNmIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE2LjUuOS4zIiwiVHJ1c3RlZExhYmVsSGFzaCI6Ik9ZNnhKYkQyaTIyUEpDR2oxbDZcL2RsdXFVbWptWUtlZ0VsSXV6cFFJNHFzPSJ9 x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.0.116 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] igb_uio: fix uevent montior issue X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Jan 2018 02:15:48 -0000 > -----Original Message----- > From: Guo, Jia > Sent: Tuesday, January 30, 2018 6:01 PM > To: Yigit, Ferruh ; Wu, Jingjing ; Tan, > Jianfeng > Cc: thomas@monjalon.net; dev@dpdk.org; Guo, Jia > Subject: [PATCH] igb_uio: fix uevent montior issue >=20 > 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. >=20 > Fixes: 6b9ed026a870 ("igb_uio: fix build with kernel <=3D 3.17") > Signed-off-by: Jeff Guo Reviewed-by: Jingjing Wu