From owner-freebsd-net@freebsd.org Fri Jan 20 03:58:07 2017 Return-Path: Delivered-To: freebsd-net@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 A019BCB8AF0 for ; Fri, 20 Jan 2017 03:58:07 +0000 (UTC) (envelope-from kevin.bowling@kev009.com) Received: from mail-ot0-x22e.google.com (mail-ot0-x22e.google.com [IPv6:2607:f8b0:4003:c0f::22e]) (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 4E7B31969 for ; Fri, 20 Jan 2017 03:58:07 +0000 (UTC) (envelope-from kevin.bowling@kev009.com) Received: by mail-ot0-x22e.google.com with SMTP id 73so47632532otj.0 for ; Thu, 19 Jan 2017 19:58:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kev009.com; s=google; h=mime-version:from:date:message-id:subject:to:cc; bh=OCUQlWBfDXyMnOgCl5QZuI+vUoDSet88uvTc59ttVak=; b=KjWI9n+n+iEh63Gd6dhjF91UU+x5eHc4aFqmsZZr5A/RB9VOTmCOpiAboN6UOIhgBq RUkB8NeNcXdkLfuMdII926fsIsE7WyhgJ33hz5UHJWur4xAiefgefzKvluOHEbxA7WpB birYY0Ek0D8W5ROTQWPhMlnsr4jb30iVEUp8I= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=OCUQlWBfDXyMnOgCl5QZuI+vUoDSet88uvTc59ttVak=; b=CANh5lyJ5BS8DgebotQilVsVieHpniV7Q0565uBjGYa1FGTg8iUKikoanxhmOZSYDw TGqYjhWXvSkh9u8OCF6W5Kww5Rci7l7M/khB+J1bU7u34zgoUkyVUyB7/c1/1Rp+PHep VoidcJpjta1AtB1d42c5eODgHvUN7uk1QgB7+8jVwxOD8X/IXcQ8v8KaFZupIgefxN2W wmkpU66Gl5nyeQRRJmuv/G02ISbjyYoNBsFcqeBEmMPkMk25ndixr95IqNOZnS8koUBo ZefZEMl18BOBJNGKkvOGoR8haEf13JOroQO1RZZqm7Ma3FVdL5cSxFIRXkRAm+9ocT0Y svAg== X-Gm-Message-State: AIkVDXJBJuUNqG6dH/t9JlselvGT0zwxc9/9WQVQz291k6XhkMorpTPObqNRMtTANFVKgYg0cFG824t8DFtnpw== X-Received: by 10.157.54.206 with SMTP id s14mr5572574otd.59.1484884686576; Thu, 19 Jan 2017 19:58:06 -0800 (PST) MIME-Version: 1.0 Received: by 10.157.23.208 with HTTP; Thu, 19 Jan 2017 19:58:05 -0800 (PST) From: Kevin Bowling Date: Thu, 19 Jan 2017 20:58:05 -0700 Message-ID: Subject: RFC: ethctl To: freebsd-net@freebsd.org Cc: Scott Long , Drew Gallatin , Navdeep Parhar , Oded Shanoon , hps@freebsd.org, Matthew Macy , jeb.j.cramer@intel.com, eric.joyner@intel.com, arybchik@freebsd.org, shurd@freebsd.org, Sean Bruno , George Neville-Neil X-Mailman-Approved-At: Fri, 20 Jan 2017 04:07:40 +0000 Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Jan 2017 03:58:07 -0000 Greetings, I'm casting a wide net in cc, try to keep the noise minimal but we need some input from a variety of HW vendors. I have heard from several vendors the need for a NIC configuration tool. Chelsio ships a cxgb/cxgbetool in FreeBSD as one example. There is precedence for some nod toward a basic unified tool in Linux ethtool. >From your perspective, 1) What are the common requirements? 2) What are specialized requirements? For instance as a full TCP offload card Chelsio needs things others wont 3) What should it _not_ do? Several of you have experience doing Ethernet driver dev on many platforms so we should attempt to avoid repeating past design mistakes. I expect we can achieve some level of inversion so the device specific code can live close to the driver and plug into the ethctl framework. It should be general enough to add completely new top level commands, so vendors can implement HW specific features. On the other hand, we should attempt to hook into common core for features every NIC provides, with a focus on iflib. I will fund Matt Macy to do the overall design and implementation. Regards, Kevin Bowling, on behalf of Limelight Networks for this effort