From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-CO1-obe.outbound.protection.outlook.com (mail-co1nam03on0045.outbound.protection.outlook.com [104.47.40.45]) by dpdk.org (Postfix) with ESMTP id 0A7A27CBB for ; Mon, 10 Jul 2017 09:11:07 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=Fg3iV+ujgk1+lATJ2uaRKG8HCeLY6A3TpJDe9GSmyFQ=; b=KT3zyQyMpLbcSPl71fKqh99e30qARVXmuI30YXw2RuM9aXWTInwMjL1OdOfuGvGuZ5+sCevMpvg4E93BbRnpCPsycs8rOB/pmdMGaVK3pOjA9EoT9/7TrJFpsHN1uU8mevYcWsi27GH0ex88LbFB5HcvsWYpSct5c9imV0qYOR0= Authentication-Results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=caviumnetworks.com; Received: from localhost.localdomain (14.140.2.178) by MWHPR07MB3071.namprd07.prod.outlook.com (10.172.97.13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1240.13; Mon, 10 Jul 2017 07:11:03 +0000 Date: Mon, 10 Jul 2017 12:40:49 +0530 From: Shijith Thotton To: "Tan, Jianfeng" Cc: "dev@dpdk.org" , "Yigit, Ferruh" , Gregory Etelson , Thomas Monjalon , Stephen Hemminger , "Lu, Wenzhuo" Message-ID: <20170710071048.GA5231@localhost.localdomain> References: <1497260285-27536-1-git-send-email-shijith.thotton@caviumnetworks.com> <1499426031-2664-1-git-send-email-shijith.thotton@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Originating-IP: [14.140.2.178] X-ClientProxiedBy: BM1PR01CA0109.INDPRD01.PROD.OUTLOOK.COM (10.174.208.25) To MWHPR07MB3071.namprd07.prod.outlook.com (10.172.97.13) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 499391a2-ff59-49aa-0e58-08d4c762d4a0 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(201703131423075)(201703031133081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:MWHPR07MB3071; X-Microsoft-Exchange-Diagnostics: 1; MWHPR07MB3071; 3:XH373iz7GWn+WWvT1HZ/r/dvPr2fWi1SBWVmTKpbEVbu5rQeHeFay19IkssARnbk5Y0QMP8+3UDWy9Q4X06ZUi/wxTJ1MOWvazH9VXwp20Ng7JbvBA8gBrRAo/ug/Z8GIHT9GXvLkLffqHOVR3mbpfB2GQdvB6fZB+fld/gUr28SQ7+wLOTIMUDh+9r0WkkYdAs7WwSOeJIqyopoUpLlJBUjIf4JNWVCXC0Rb6O36bAmDrROGzSOAw0IEJmhk42gYOiAyIqeF4dhUEFvxmikwgTE+/3mKZ5xm/LemZnqOb824k3mjj5GUqmzWm8LvNOmYuupAB05IUZ0RSdJv166uzKSUOYp5Dw1fhrNFuPi1k8RRVCjYLKZv99csAptEMtMHvZ5a3RCVyLywENcs7TAAWWQmeIm+ytg/Dz4wB2t3kyTKfOtjbqIlQxv9l9HEJmDv6xr/U3eETjX1tjycZV2Q+Wes/E24iYBzabaj0zc2tTE7zLOOp7nAOHj5a/+LlXwBgjBS2AeXK01+Bx+zEcXZMHFDf0a/d4Q7lEG5Qu13eIsbabNo/TuxhQNbpBKbFMeaV0lPsX7RPuT4kIi9hCQyhANpusSpJpQ6HBXFV1rSSzS+BtjewcOBCBZFnzqpx2cJOZPn+4D9gxRss9VDmu02GkCkOOje+UNw9ASIHYDsyssuUwR/VSotfahYvZpHc9rt0rMIyqpK/cePnfd+hXaFYKXgYQkmYUGy3TS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0f/KVbQ1+YxH5dKoIgNbrlrPSqWbSd8Dph2/FNdSJ/GWn5i7XZ6E4acc6Fn1UkNXVQBVxbN+KJEWrUXFp/13lrxosRQY4DSroR1uDdeZLzewg98OavUXq+vDw9fez/PBUjMvkRc6uffvKs0gNpajk7Rz22uQf5ZIeevBgTFLlCpZ5uWD/TDAlkLi8x0pJMJbUM/fcpu/WzqlY5Ju2K8fB0HhbbPjcYWM02Jjw/Lk0gvX2wkH2cFtawBtT4SiGWwolDtpMuYMNoJ8p12qL75UzZUyT+7b0k/9PEI= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(236129657087228)(17755550239193); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(5005006)(8121501046)(2017060910075)(100000703101)(100105400095)(93006095)(10201501046)(3002001)(6041248)(20161123562025)(20161123555025)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123564025)(20161123558100)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:MWHPR07MB3071; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:MWHPR07MB3071; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; MWHPR07MB3071; 4:XEmssJbv03rcMywSw2Unj3W3jvTCn2jrrv8vXYNFm+?= =?us-ascii?Q?86KufUzk6eyRil4DAa7TXnxu0pRUkLAC4yUoRT3vXLlQ/GQe1Cc3R5dlrOhh?= =?us-ascii?Q?IMRG0DqbQWAObfyUIljYEfIWha6vdUUJK+9TM6Au/GTSPvNwpQtGpLBL1NG8?= =?us-ascii?Q?MJcAkNkmI1wS/o6MSzU4lCOJiZv1whv714aRWs5XfmaxqaTFK/2P7p4uBirO?= =?us-ascii?Q?B63LLGDFg/LA2nCg679oqeQ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?= =?us-ascii?Q?9ZH4DgMLP9EYf/Ti6xDgHlh6C7dnxki3EmPVD73ZZUihQ5n+F0sEW0BlOTqI?= =?us-ascii?Q?49l9rAJyWuVDTa44El2Iyw/iz6vXEvEEpXt8EbkzOq7zC2F+az+JRA0Q=3D?= =?us-ascii?Q?=3D?= X-Forefront-PRVS: 03648EFF89 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(7370300001)(4630300001)(6069001)(6009001)(39400400002)(39840400002)(39450400003)(39410400002)(43544003)(24454002)(13464003)(377454003)(6246003)(53376002)(110136004)(38730400002)(42186005)(54906002)(9686003)(2906002)(53936002)(2950100002)(6916009)(55016002)(6666003)(42882006)(105586002)(6306002)(33656002)(966005)(478600001)(4001350100001)(66066001)(72206003)(61506002)(47776003)(7350300001)(53546010)(5009440100003)(23726003)(6116002)(50986999)(76176999)(5660300001)(50466002)(1076002)(3846002)(8676002)(7736002)(4326008)(83506001)(229853002)(54356999)(189998001)(81166006)(25786009)(305945005)(6506006)(110426004)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:MWHPR07MB3071; H:localhost.localdomain; FPR:; SPF:None; MLV:nov; PTR:InfoNoRecords; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; MWHPR07MB3071; 23:t2J8TTzu0Y9dSfiwtVrLphe9A/vDLgnj4fInLT5TF?= =?us-ascii?Q?ciORlpnTOMOPrHWuVLt4mo9lwqQJ1h10ESGwjA4zjiMs6j7I1DMNsgRzgE7W?= =?us-ascii?Q?+UAmwcrMQfR2cHu8+sl4EWO+skR1FJWaaxqKZjG11BKjqR/fUgKVU4qbKAxc?= =?us-ascii?Q?NuU0xNYndnWX4hWRSWZkrnQ/mTxV4r0w6ahzMIXnm8GrraijCtYa1idKngme?= =?us-ascii?Q?GDrxo2Fh6nkLTxuRQnuvocvdkLHN1c5vY3V/aM+7hV56d82upRZsNkinQN77?= =?us-ascii?Q?Pedm07RLX4PdRiVe+U51xn9xoV9RD+vNY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b2XdnBE8BAZU5eJ8iCCxoQhMxq9ATmq94VgGytZTYDzZ?= =?us-ascii?Q?nCEUPEP2scZXq9dCfl+OtKsbOvd0kuUomzromta/PLrmXMdfjZaAyzf5HK9g?= =?us-ascii?Q?aGtWfBWInHCXFxIul1UV0ZdL/YsybyUdO/VGmuQRmDB8lHr7SgJ13JK1o4R0?= =?us-ascii?Q?lMG3X19Swg95vYnNufBfnhfudVcEfW/Ki7mgUyZZy8LBHebkZQe56LQpwd1d?= =?us-ascii?Q?DxdNp3oWTs2OrMBMgu0pZQfrgYpiTgWcXp3UYrId8CjWuEgu3jk?= X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; MWHPR07MB3071; 6:Pgr3bYSnMx0OBLLvvZBK4r/3jKupgZKesVxKoG67o6?= =?us-ascii?Q?REDcwMWcwroJjBV+lU0myG7zwmiBrjKmEqU9/c8XKSl26/6kKdvNXGQOrEkO?= =?us-ascii?Q?KIAedusbVqL+h5ZUCIRTYGVya1SBG1lyGMZhIhIEtBQY2fcmRTVnvhKXtbju?= =?us-ascii?Q?rDQ7DQT+O69+Oy3NIMepnQAtjm0AYhQOP5uVuTd8ZFRUChKwXzNJXgs3SNXl?= =?us-ascii?Q?0I52I3nm1zDWFDBiGiufFKZc1CIQRNzggqR20FoK9M74nITBRCrbqfVGypDM?= =?us-ascii?Q?SNjhzNV+JTJUMmgVYwowZ7NPAYVQhj/X2jyZ/VUb0ggYyPptccet61gW320C?= =?us-ascii?Q?RM37qrXWjx3rVS6YYxtcumDP6dDw2zr+j3nWGvXKd/+Zm4/XptSpmENIzHRj?= =?us-ascii?Q?ezME82h0DCnX2+R4uWcliGmTrp1MbL+KRuuoaii72jdn5QHxQ3kHfA5ri0wE?= =?us-ascii?Q?zXYnc9G2jR972pOrcLKVckfs+zk717dXD+v62r6I6jfYiLeFzUZDoUlBreCf?= =?us-ascii?Q?7Wf1V84j7H4hmMkstVToKjlbdxl+41hseA4mHI+3sX2wYnaOzWgULO4+2e0g?=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nvt2njBmwvzWgUzEOOVV9RskKokVGKcA4Q1P+g/UCryEO5OG8wxNKcDU2P5ErhtKTk4vu3PWskY3boYyqhTJoaWvrn2jft8u0xAeiPRjk= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; MWHPR07MB3071; 7:QbWFfvGfir2ZOiNZiUeWf1YZhE3vsiClXen5tBe6c1YGzxLSNirA8XzJhcDAKr9CHeJ6OtI6JYeJDV2QmUNiXXmK4xnABaDMYT6PA1scIdj5gAFx2RbxUwIdJR1GfFh1A/xXP9bN63mDD4fRsAffbtKyiivGi0b/5gIVX4E2jcg0jeiXPnMiEoqFqfX1Ve2Fh9HHEnI5Jrbg/iBqDzsqV5BM22WVtitnKvZgS3SYbrfwvYJRYQkfjAK2rfodQLT3FjCaz+9EBjsy6nrfRLvaPjc5Kg9BOiX96o1jiBboLlIAozkBNW2vbwlDwsiHCc1w+LqosubThog6MRE8lFrMbW+iFarvGaDYYfLtz32AV8SF5lskikPStTipOrt09lpdU1qUHOSVnwdC5WTyPw/Q43ZjFJE1Fgw9erBgHkeh+2/o/jUNCVuMTrTgDi1SdwpIzjsQkSF2viMvW175/0SKcX2K8A0QAcJ+D4A+j4aJ0WbhNUAlofi8c89T1L32ZbESvITYQGDVuWQe9SSSVHsAwtNv/g7ElVbhp3oIu8EzXfh8+hLOHLvBdKk5eOMR4a5aKiVu4D+uOlilYAjCAfr3rugXJuZ8lCft6b+po7YkZunz45cariGhZ2sAzrU+2R76RXNua4QJNR8tlSgBaxdxYBqB3wtMSrGegH5BIqwuxDYHPKvrEy5CouFkVrH1Nqa1QOqlwGpURdabG0Qfhb7S5Dg4DA/6/+ozEviUJf7IatNah2gDbrmGjal6+6420okXMrT+++BXR+/fv6MXtjfK3WylxIlRofge6YK+3IVuO/c= X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Jul 2017 07:11:03.2346 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR07MB3071 Subject: Re: [dpdk-dev] [PATCH v2] igb_uio: issue FLR during open and release of device file 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: Mon, 10 Jul 2017 07:11:08 -0000 On Mon, Jul 10, 2017 at 03:38:34AM +0000, Tan, Jianfeng wrote: > Hi Thotton, > > > -----Original Message----- > > From: Shijith Thotton [mailto:shijith.thotton@caviumnetworks.com] > > Sent: Friday, July 7, 2017 7:14 PM > > To: dev@dpdk.org > > Cc: Yigit, Ferruh; Gregory Etelson; Thomas Monjalon; Stephen Hemminger; > > Tan, Jianfeng; Lu, Wenzhuo > > Subject: [PATCH v2] igb_uio: issue FLR during open and release of device file > > > > Set UIO info device file operations open and release. Call pci reset > > function inside open and release to clear device state at start and end. > > Copied this behaviour from vfio_pci kernel module code. With this patch, > > it is not mandatory to issue FLR by PMD's during init and close. > > I'm afraid this will not work for restarted DPDK process. In current probe(), we set up the I/O mem and I/O port; and those sys files are used by EAL IGB_UIO initialization code to map I/O mem and port. After reset in release(), we will lose those sys files in next open(). > > Thanks, > Jianfeng > > > > > Bus master enable and disable are added in open and release respectively > > to take care of device DMA. > > > > Signed-off-by: Shijith Thotton > > --- > > v2 changes: > > - Replaced pci_try_reset_function with pci_reset_function as it is not > > available in older kernel versions. > > > > v1 changes: > > - Added pci set master inside open and clear master inside release. > > - Remove obvious comments. > > > > RFC: http://dpdk.org/ml/archives/dev/2017-May/066917.html > > > > lib/librte_eal/linuxapp/igb_uio/igb_uio.c | 33 > > +++++++++++++++++++++++++++++++ > > 1 file changed, 33 insertions(+) > > > > diff --git a/lib/librte_eal/linuxapp/igb_uio/igb_uio.c > > b/lib/librte_eal/linuxapp/igb_uio/igb_uio.c > > index b9d427c..07a19a3 100644 > > --- a/lib/librte_eal/linuxapp/igb_uio/igb_uio.c > > +++ b/lib/librte_eal/linuxapp/igb_uio/igb_uio.c > > @@ -170,6 +170,37 @@ struct rte_uio_pci_dev { > > return IRQ_HANDLED; > > } > > > > +/** > > + * This gets called while opening uio device file. > > + */ > > +static int > > +igbuio_pci_open(struct uio_info *info, struct inode *inode) > > +{ > > + struct rte_uio_pci_dev *udev = info->priv; > > + struct pci_dev *dev = udev->pdev; > > + > > + pci_reset_function(dev); > > + > > + /* set bus master, which was cleared by the reset function */ > > + pci_set_master(dev); > > + > > + return 0; > > +} > > + > > +static int > > +igbuio_pci_release(struct uio_info *info, struct inode *inode) > > +{ > > + struct rte_uio_pci_dev *udev = info->priv; > > + struct pci_dev *dev = udev->pdev; > > + > > + /* stop the device from further DMA */ > > + pci_clear_master(dev); > > + > > + pci_reset_function(dev); > > + > > + return 0; > > +} > > + > > #ifdef CONFIG_XEN_DOM0 > > static int > > igbuio_dom0_mmap_phys(struct uio_info *info, struct vm_area_struct > > *vma) > > @@ -372,6 +403,8 @@ struct rte_uio_pci_dev { > > udev->info.version = "0.1"; > > udev->info.handler = igbuio_pci_irqhandler; > > udev->info.irqcontrol = igbuio_pci_irqcontrol; > > + udev->info.open = igbuio_pci_open; > > + udev->info.release = igbuio_pci_release; > > #ifdef CONFIG_XEN_DOM0 > > /* check if the driver run on Xen Dom0 */ > > if (xen_initial_domain()) > > -- > > 1.8.3.1 > Hi Jianfeng, I have tested the patch with LiquidIO VFs in VM using testpmd and could not see any issue over multiple runs. Thanks, Shijith