Re: [dpdk-dev] [PATCH] eal: disable IOVA mode detection by default

2017-11-01 Thread Ferruh Yigit
On 11/1/2017 1:53 AM, Tan, Jianfeng wrote: > > >> -Original Message- > ... >>> Regarding the KNI crash, it can be avoid by first checking the exiting mode(rte_eal_iova_mode()). i.e since legacy driver like KNI need real physical address to work "now", it can grace full exit

Re: [dpdk-dev] [PATCH] eal: disable IOVA mode detection by default

2017-11-01 Thread Ferruh Yigit
On 11/1/2017 4:06 AM, santosh wrote: > > On Wednesday 01 November 2017 04:01 PM, Thomas Monjalon wrote: >> 01/11/2017 02:07, Ferruh Yigit: >>> Fix kernel crash with KNI because KNI requires physical addresses. >>> >>> A config option introduced to disable IOVA mode detection and to set it >>> to p

Re: [dpdk-dev] [PATCH] eal: disable IOVA mode detection by default

2017-11-01 Thread Ferruh Yigit
On 11/1/2017 3:31 AM, Thomas Monjalon wrote: > 01/11/2017 02:07, Ferruh Yigit: >> Fix kernel crash with KNI because KNI requires physical addresses. >> >> A config option introduced to disable IOVA mode detection and to set it >> to physical address by default. Disabling config option will enable I

Re: [dpdk-dev] [PATCH] eal: disable IOVA mode detection by default

2017-11-01 Thread santosh
On Wednesday 01 November 2017 04:01 PM, Thomas Monjalon wrote: > 01/11/2017 02:07, Ferruh Yigit: >> Fix kernel crash with KNI because KNI requires physical addresses. >> >> A config option introduced to disable IOVA mode detection and to set it >> to physical address by default. Disabling config o

Re: [dpdk-dev] [PATCH] eal: disable IOVA mode detection by default

2017-11-01 Thread Thomas Monjalon
01/11/2017 02:07, Ferruh Yigit: > Fix kernel crash with KNI because KNI requires physical addresses. > > A config option introduced to disable IOVA mode detection and to set it > to physical address by default. Disabling config option will enable IOVA > mode detection. > > When there is no intens

Re: [dpdk-dev] [PATCH] eal: disable IOVA mode detection by default

2017-11-01 Thread Tan, Jianfeng
> -Original Message- ... > > > > > Regarding the KNI crash, it can be avoid by first checking the exiting > > > mode(rte_eal_iova_mode()). i.e since legacy driver like KNI need real > > > physical address to work "now", it can grace full exit on the init time if > > > mode == IOVA_VA; > >

Re: [dpdk-dev] [PATCH] eal: disable IOVA mode detection by default

2017-11-01 Thread Jerin Jacob
:21:18 -0700 > > > From: Ferruh Yigit > > > To: Jerin Jacob > > > CC: Thomas Monjalon , Bruce Richardson > > > , Sergio Gonzalez Monroy > > > , dev@dpdk.org, Jianfeng Tan > > > , Santosh Shukla > > > > > > Subject: R

Re: [dpdk-dev] [PATCH] eal: disable IOVA mode detection by default

2017-11-01 Thread Ferruh Yigit
an >> , Santosh Shukla >> >> Subject: Re: [dpdk-dev] [PATCH] eal: disable IOVA mode detection by default >> User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 >> Thunderbird/52.4.0 >> >> On 10/31/2017 9:02 PM, Jerin Jacob wrote: &

Re: [dpdk-dev] [PATCH] eal: disable IOVA mode detection by default

2017-11-01 Thread Tan, Jianfeng
> -Original Message- > From: Yigit, Ferruh > Sent: Wednesday, November 1, 2017 3:29 PM > To: Tan, Jianfeng; Thomas Monjalon; Richardson, Bruce; Gonzalez Monroy, > Sergio > Cc: dev@dpdk.org; Santosh Shukla > Subject: Re: [PATCH] eal: disable IOVA mode detection by default > > On 10/31/201

Re: [dpdk-dev] [PATCH] eal: disable IOVA mode detection by default

2017-11-01 Thread Tan, Jianfeng
Richardson , Sergio Gonzalez Monroy CC: dev@dpdk.org, Ferruh Yigit , Jianfeng Tan , Santosh Shukla Subject: [dpdk-dev] [PATCH] eal: disable IOVA mode detection by default X-Mailer: git-send-email 2.13.6 Fix kernel crash with KNI because KNI requires physical addresses. The actual fix would

Re: [dpdk-dev] [PATCH] eal: disable IOVA mode detection by default

2017-11-01 Thread Ferruh Yigit
On 10/31/2017 11:37 PM, Tan, Jianfeng wrote: > > >> -Original Message- >> From: Yigit, Ferruh >> Sent: Wednesday, November 1, 2017 2:33 PM >> To: Tan, Jianfeng; Thomas Monjalon; Richardson, Bruce; Gonzalez Monroy, >> Sergio >> Cc: dev@dpdk.org; Santosh Shukla >> Subject: Re: [PATCH] eal:

Re: [dpdk-dev] [PATCH] eal: disable IOVA mode detection by default

2017-10-31 Thread Jerin Jacob
From: Ferruh Yigit > >> To: Thomas Monjalon , Bruce Richardson > >> , Sergio Gonzalez Monroy > >> > >> CC: dev@dpdk.org, Ferruh Yigit , Jianfeng Tan > >> , Santosh Shukla > >> > >> Subject: [dpdk-dev] [PATCH] eal: disable IOVA mo

Re: [dpdk-dev] [PATCH] eal: disable IOVA mode detection by default

2017-10-31 Thread Tan, Jianfeng
> -Original Message- > From: Yigit, Ferruh > Sent: Wednesday, November 1, 2017 2:33 PM > To: Tan, Jianfeng; Thomas Monjalon; Richardson, Bruce; Gonzalez Monroy, > Sergio > Cc: dev@dpdk.org; Santosh Shukla > Subject: Re: [PATCH] eal: disable IOVA mode detection by default > > On 10/31/201

Re: [dpdk-dev] [PATCH] eal: disable IOVA mode detection by default

2017-10-31 Thread Ferruh Yigit
On 10/31/2017 7:17 PM, Tan, Jianfeng wrote: > > >> -Original Message- >> From: Yigit, Ferruh >> Sent: Wednesday, November 1, 2017 9:07 AM >> To: Thomas Monjalon; Richardson, Bruce; Gonzalez Monroy, Sergio >> Cc: dev@dpdk.org; Yigit, Ferruh; Tan, Jianfeng; Santosh Shukla >> Subject: [PATCH

Re: [dpdk-dev] [PATCH] eal: disable IOVA mode detection by default

2017-10-31 Thread Ferruh Yigit
an >> , Santosh Shukla >> >> Subject: [dpdk-dev] [PATCH] eal: disable IOVA mode detection by default >> X-Mailer: git-send-email 2.13.6 >> >> Fix kernel crash with KNI because KNI requires physical addresses. > > The actual fix would be to make KNI IOMMU

Re: [dpdk-dev] [PATCH] eal: disable IOVA mode detection by default

2017-10-31 Thread Jerin Jacob
-Original Message- > Date: Wed, 1 Nov 2017 01:07:26 + > From: Ferruh Yigit > To: Thomas Monjalon , Bruce Richardson > , Sergio Gonzalez Monroy > > CC: dev@dpdk.org, Ferruh Yigit , Jianfeng Tan > , Santosh Shukla > > Subject: [dpdk-dev] [PATCH] eal: dis

Re: [dpdk-dev] [PATCH] eal: disable IOVA mode detection by default

2017-10-31 Thread santosh
On Wednesday 01 November 2017 06:37 AM, Ferruh Yigit wrote: > Fix kernel crash with KNI because KNI requires physical addresses. > > A config option introduced to disable IOVA mode detection and to set it > to physical address by default. Disabling config option will enable IOVA > mode detection.

Re: [dpdk-dev] [PATCH] eal: disable IOVA mode detection by default

2017-10-31 Thread Tan, Jianfeng
> -Original Message- > From: Yigit, Ferruh > Sent: Wednesday, November 1, 2017 9:07 AM > To: Thomas Monjalon; Richardson, Bruce; Gonzalez Monroy, Sergio > Cc: dev@dpdk.org; Yigit, Ferruh; Tan, Jianfeng; Santosh Shukla > Subject: [PATCH] eal: disable IOVA mode detection by default > > Fix

[dpdk-dev] [PATCH] eal: disable IOVA mode detection by default

2017-10-31 Thread Ferruh Yigit
Fix kernel crash with KNI because KNI requires physical addresses. A config option introduced to disable IOVA mode detection and to set it to physical address by default. Disabling config option will enable IOVA mode detection. When there is no intension to use KNI, it is safe to enable detection