From owner-freebsd-questions@freebsd.org Wed Dec 14 08:01:06 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0D6FDC77082 for ; Wed, 14 Dec 2016 08:01:06 +0000 (UTC) (envelope-from venkatkumar.duvvuru@broadcom.com) Received: from mail-io0-x22d.google.com (mail-io0-x22d.google.com [IPv6:2607:f8b0:4001:c06::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D86E0136E for ; Wed, 14 Dec 2016 08:01:05 +0000 (UTC) (envelope-from venkatkumar.duvvuru@broadcom.com) Received: by mail-io0-x22d.google.com with SMTP id p42so27426431ioo.1 for ; Wed, 14 Dec 2016 00:01:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:mime-version:thread-index:date:message-id:subject:to; bh=5GpSb2anwbxkCdjJ9gVlf/CbujzjvMHqmWf2K9tHuQI=; b=D/H7cduN1hYjKf7O6kvYsUQLnNa8LjDSOCycSnEj5a+AMoIli0kO6/NpzOQN1r522C VDRaTUog/ia8LZNIl7/uXVcbTqeYstFRPEJhu8B11rsHTt0fp1C2DbErXA+VnKHn9nvI UKqAK4F2IK7N6lVBrMRmw6FnihyC4IGRRsaU4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:thread-index:date:message-id :subject:to; bh=5GpSb2anwbxkCdjJ9gVlf/CbujzjvMHqmWf2K9tHuQI=; b=GdlU56/yY/oveipcuAsuSp14UbDGkwU/DsS+/LePTJHqt3aCrm7snhGm3fwSVA4Dp7 uJ/pIC8V4f8fo+dHY4yzmrxyXb6Xq6HsDp76rpcHIhoqcwNAsm2apglOJ0F88chlQRPZ 8vSr4feIF4intC+h/yu3+o71LxZ9D2rWg5tlP1AzxI3ZypAdAB2W0sUvqSFM84wztKan yGUkDMMukh9j+1JFZLvm83fUJVwuCW4eiEaa78XQAyJCGKOjlpYe+8IEcyooStgIALX1 73pOr/xq8ZU6KGDoU26oEcxOb2PQMGN/ETyqJyMrymQzDEbez+Q62fLezhjBSnCEcLm1 0VaQ== X-Gm-Message-State: AKaTC03U1QsvlHIK0byF3FD2Qw1XD8Bi+jcnXVmTK3IU5GwZJrdy+GrIKfgPw7yUHmOMSHxXhqgLdd6NnGOh58/q X-Received: by 10.107.150.138 with SMTP id y132mr12568738iod.27.1481702463856; Wed, 14 Dec 2016 00:01:03 -0800 (PST) From: Venkat Duvvuru MIME-Version: 1.0 X-Mailer: Microsoft Outlook 14.0 Thread-Index: AdJV4B7CdHXs80xgRpqABDD6e1FPxw== Date: Wed, 14 Dec 2016 13:31:02 +0530 Message-ID: Subject: Configuring Virtual Functions. To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Dec 2016 08:01:06 -0000 I=E2=80=99m new to PCI virtualization in FreeBSD. Have a basic question. How do I create VFs on a PCI device with SR-IOV support? For example, in Linux, the below command creates two VFs # echo 2 > /sys/bus/pci/devices/0000\:0e\:00.0/sriov_numvfs Thanks, Venkat.