From owner-freebsd-rc@FreeBSD.ORG Tue May 27 02:22:29 2014 Return-Path: Delivered-To: freebsd-rc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0074BF95 for ; Tue, 27 May 2014 02:22:28 +0000 (UTC) Received: from mail-oa0-x22c.google.com (mail-oa0-x22c.google.com [IPv6:2607:f8b0:4003:c02::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C3F0621FE for ; Tue, 27 May 2014 02:22:28 +0000 (UTC) Received: by mail-oa0-f44.google.com with SMTP id o6so8939712oag.3 for ; Mon, 26 May 2014 19:22:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=SgT0+JI9V4dis0eWhs+xYuDbYlhQgd4dx5zqJQxpR88=; b=H9QtPeW75rjql9P3ROQw0eNniQNABcxF4u3NLvOzGgfZqE3iDWEw4Nk5CzEsWwsytP 7ulQWfwFjgyCFwH57Qnc5C6AhEa7NXb7bnuD4sj9dm8F6sFXpI0e2KW4GLlqadveFqds 8DF+1EdsoTYXsWRj4yhj/tvV82Kt/F0Czgxn6SEioDUZCQQ1nTdKuPBJeDNq8vNaXY9b 4eFsmMpr3DzWzFZQirULo0POvLIPHj/9vkqNCgFhN+mwyrTFYNDyJyvmlN2za4YPw9zH sBGQl/R576e7QeZYACdYtKA0tc15mMmDHLiuGRaZB0Bf5QQAarPTi0W/2q+7XRnDK4rI 7sKw== MIME-Version: 1.0 X-Received: by 10.60.62.235 with SMTP id b11mr13859889oes.57.1401157348193; Mon, 26 May 2014 19:22:28 -0700 (PDT) Received: by 10.76.23.130 with HTTP; Mon, 26 May 2014 19:22:28 -0700 (PDT) Date: Mon, 26 May 2014 22:22:28 -0400 Message-ID: Subject: SR-IOV Patch Series 7/7: rc.d script to invoke iovctl(8) From: Ryan Stone To: freebsd-rc@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 May 2014 02:22:29 -0000 iovctl(8) is a new tool that I have written to configure PCI SR-IOV on drivers that support the feature. This patch adds a new rc.d script that will invoke iovctl during boot on a user-configurable set of configuration files (one config file per device). The script runs pretty early during boot because enabling SR-IOV might, for example cause new network interfaces to be created (hence netif running after iovctl). http://people.freebsd.org/~rstone/patches/iov/0019-Add-an-rc.d-script-to-invoke-iovctl-8-during-boot.patch [PATCH 19/21] Add an rc.d script to invoke iovctl(8) during boot --- etc/defaults/rc.conf | 2 ++ etc/rc.d/Makefile | 1 + etc/rc.d/iovctl | 39 +++++++++++++++++++++++++++++++++++++++ etc/rc.d/netif | 2 +- share/man/man5/rc.conf.5 | 7 +++++++ 5 files changed, 50 insertions(+), 1 deletion(-)