From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by dpdk.org (Postfix) with ESMTP id C31AD2A58 for ; Thu, 6 Jul 2017 01:42:30 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 45DC320853; Wed, 5 Jul 2017 19:42:30 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Wed, 05 Jul 2017 19:42:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=DljUEqSCe2pbhYB VnpnQgAOuen2O9O7VLiE7vWlVdc8=; b=lIe29OptAfoUtSifgJcUd3nRbLWoDTB g//7QI/lnlcTtcsnhmDyvL/PWWH63kR2KUbNlmi9kXVVyNn5xszK91e2lc7Njx8m aFefVZluNWzJS4zJ/Fie/QJCh+YHVjfMiP5nWa8PIh+/HKF0ltMm+SwDIP/JR452 eFdqwfuSyeVU= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= fm1; bh=DljUEqSCe2pbhYBVnpnQgAOuen2O9O7VLiE7vWlVdc8=; b=kn6CQES9 Y4KTY6FU0rGosqj/t2ZxbKN1YOs4YfB0kRbalaWnMstrH6wELF1F4NcHF28WTqWk Rq6/80EPHHMcr40Sk6D02rTnf2YDcI+M+W0p3vo4N1chIQ4vmrkTGEIHezY2pKlm ATqdUKyie+65PjCML4yFxLEFeOg20cj7H4g1ZSFKA3bY+IE193ooCLU3l7mVz7l8 cwqNf4a79wOIW6awLBg2gVD/bT/UmoqH1Y3EITKq4gqE80nFKG96BQ0yu/VEJ8y8 3xA9h5clzmOcrQZhS5lTQNtMTerYUEF0se1p9GRTlph9Gu+1PvUTQfFCrMUWT8QK ARoybQZohSgY3w== X-ME-Sender: X-Sasl-enc: 0YkARPEIXLyHq4H1KbHhNgtYYzrRE8djZ3RorsqZcfYk 1499298149 Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id EF0B2240AF; Wed, 5 Jul 2017 19:42:29 -0400 (EDT) From: Thomas Monjalon To: Stephen Hemminger , Ferruh Yigit , Gregory Etelson Cc: dev@dpdk.org, Shijith Thotton , Qi Zhang , Wenzhuo Lu , Jianfeng Tan Date: Thu, 06 Jul 2017 01:42:29 +0200 Message-ID: <3108857.NoFJ8oehMn@xps> In-Reply-To: <1497260285-27536-1-git-send-email-shijith.thotton@caviumnetworks.com> References: <1496228966-18573-1-git-send-email-shijith.thotton@caviumnetworks.com> <1497260285-27536-1-git-send-email-shijith.thotton@caviumnetworks.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] 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, 05 Jul 2017 23:42:31 -0000 Any comment, please? 12/06/2017 11:38, Shijith Thotton: > 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 > --- > 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