From patchwork Wed Mar 11 07:25:48 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yu Zhao X-Patchwork-Id: 11059 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n2B7PEV5003141 for ; Wed, 11 Mar 2009 07:25:14 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753412AbZCKHZM (ORCPT ); Wed, 11 Mar 2009 03:25:12 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753096AbZCKHZK (ORCPT ); Wed, 11 Mar 2009 03:25:10 -0400 Received: from mga02.intel.com ([134.134.136.20]:53996 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753028AbZCKHY6 (ORCPT ); Wed, 11 Mar 2009 03:24:58 -0400 Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP; 11 Mar 2009 00:18:58 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.38,340,1233561600"; d="scan'208";a="496827163" Received: from yzhao-otc.sh.intel.com ([10.239.48.58]) by orsmga001.jf.intel.com with ESMTP; 11 Mar 2009 00:24:33 -0700 From: Yu Zhao To: jbarnes@virtuousgeek.org Cc: linux-pci@vger.kernel.org, kvm@vger.kernel.org, linux-kernel@vger.kernel.org, Yu Zhao Subject: [PATCH v11 7/8] PCI: document SR-IOV sysfs entries Date: Wed, 11 Mar 2009 15:25:48 +0800 Message-Id: <1236756349-18892-8-git-send-email-yu.zhao@intel.com> X-Mailer: git-send-email 1.6.1 In-Reply-To: <1236756349-18892-1-git-send-email-yu.zhao@intel.com> References: <1236756349-18892-1-git-send-email-yu.zhao@intel.com> Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org Signed-off-by: Yu Zhao --- Documentation/ABI/testing/sysfs-bus-pci | 27 +++++++++++++++++++++++++++ 1 files changed, 27 insertions(+), 0 deletions(-) diff --git a/Documentation/ABI/testing/sysfs-bus-pci b/Documentation/ABI/testing/sysfs-bus-pci index e638e15..36edf03 100644 --- a/Documentation/ABI/testing/sysfs-bus-pci +++ b/Documentation/ABI/testing/sysfs-bus-pci @@ -52,3 +52,30 @@ Description: that some devices may have malformatted data. If the underlying VPD has a writable section then the corresponding section of this file will be writable. + +What: /sys/bus/pci/devices/.../virtfnN +Date: March 2009 +Contact: Yu Zhao +Description: + This symbolic link appears when hardware supports the SR-IOV + capability and the Physical Function driver has enabled it. + The symbolic link points to the PCI device sysfs entry of the + Virtual Function whose index is N (0...MaxVFs-1). + +What: /sys/bus/pci/devices/.../dep_link +Date: March 2009 +Contact: Yu Zhao +Description: + This symbolic link appears when hardware supports the SR-IOV + capability and the Physical Function driver has enabled it, + and this device has vendor specific dependencies with others. + The symbolic link points to the PCI device sysfs entry of + Physical Function this device depends on. + +What: /sys/bus/pci/devices/.../physfn +Date: March 2009 +Contact: Yu Zhao +Description: + This symbolic link appears when a device is a Virtual Function. + The symbolic link points to the PCI device sysfs entry of the + Physical Function this device associates with.