From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f174.google.com (mail-wr0-f174.google.com [209.85.128.174]) by dpdk.org (Postfix) with ESMTP id 0171E2030 for ; Wed, 19 Jul 2017 18:19:08 +0200 (CEST) Received: by mail-wr0-f174.google.com with SMTP id k71so7199758wrc.2 for ; Wed, 19 Jul 2017 09:19:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=weka.io; s=google; h=from:to:cc:subject:date:message-id:organization:in-reply-to :references:mime-version:content-transfer-encoding; bh=0+RATI50VjSeufzSKxwR4BHHRRz8uOj+oIsmkD05P0U=; b=bRYu831XtRdmLYmlnwotfsY9lPsupOtkqxyYi1sp84OQgVJ/PG0a/HhyydLHTOyUG5 4VpVbukc9bJofXTCHUAduNO422/Asp8pDSfjkg/vKQAnAXmfIS2R5AgBxGScxmJlN+n+ lPtr5XjxPfhiIkkgzFBsgie5Cx5pbVMa1qLZc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :in-reply-to:references:mime-version:content-transfer-encoding; bh=0+RATI50VjSeufzSKxwR4BHHRRz8uOj+oIsmkD05P0U=; b=JCGosj8EvAez/fCcEBlE4a0fMLuQysV8rjMAQRq3CvmW+o0GdF8XeBzPp+oB7Sh6Mu V8aTFKwXQ3NK1oK81EJMLAC2nY1ZLFl3OTNLR5mxmII/RQFjNRv1ygCqwVK4cH6gdbaa 06v92koWRC0QlciiE25keoFnbF6/TOGUhmcCj6129u7rfOSoHRXScxS/5lpjgKJAFvwm MBaqBp4aK7QygG2pxlToYgjIbxMctxLYFJiFgI7sNHo5aABkPrjy+ChbFTvEKafgJWuU JY4WypW08Ga9F2qwI+eCvxDonDsJs9gZ5l846UYqhr72KtxDGi1pj4BX78G4fmgrc5Br SZiQ== X-Gm-Message-State: AIVw110bMaQybPBXGaYKe6NhS4/T0o6f4lAb0wFegj3FMN6PLkRCN2Rb MfzHgOmbwGs9NIly X-Received: by 10.223.176.61 with SMTP id f58mr4922079wra.106.1500481148691; Wed, 19 Jul 2017 09:19:08 -0700 (PDT) Received: from polaris.localnet (bzq-84-109-69-99.cablep.bezeqint.net. [84.109.69.99]) by smtp.gmail.com with ESMTPSA id b197sm298436wmb.4.2017.07.19.09.19.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 19 Jul 2017 09:19:07 -0700 (PDT) From: Gregory Etelson To: Ferruh Yigit Cc: "Tan, Jianfeng" , Shijith Thotton , "dev@dpdk.org" , Thomas Monjalon , Stephen Hemminger , "Lu, Wenzhuo" Date: Wed, 19 Jul 2017 19:19:05 +0300 Message-ID: <1723914.rl5aSUidYg@polaris> Organization: Weka.IO In-Reply-To: <43fc4f53-404d-242b-4a6e-508966b236af@intel.com> References: <1497260285-27536-1-git-send-email-shijith.thotton@caviumnetworks.com> <43fc4f53-404d-242b-4a6e-508966b236af@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit X-Content-Filtered-By: Mailman/MimeDel 2.1.15 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: Wed, 19 Jul 2017 16:19:09 -0000 On Wednesday, 19 July 2017 16:32:34 IDT Ferruh Yigit wrote: > On 7/12/2017 4:40 AM, Tan, Jianfeng wrote: > > > > > >> -----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. > >> > >> Bus master enable and disable are added in open and release respectively > >> to take care of device DMA. > >> > >> Signed-off-by: Shijith Thotton > > > > Reviewed-by: Jianfeng Tan > > Acked-by: Ferruh Yigit > Acked-by: Gregory Etelson