From owner-freebsd-net@freebsd.org Tue Apr 5 08:20:34 2016 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 07206B037D5 for ; Tue, 5 Apr 2016 08:20:34 +0000 (UTC) (envelope-from rizzo.unipi@gmail.com) Received: from mail-lb0-x22b.google.com (mail-lb0-x22b.google.com [IPv6:2a00:1450:4010:c04::22b]) (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 9BF84132E; Tue, 5 Apr 2016 08:20:33 +0000 (UTC) (envelope-from rizzo.unipi@gmail.com) Received: by mail-lb0-x22b.google.com with SMTP id vo2so4330841lbb.1; Tue, 05 Apr 2016 01:20:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc; bh=2zzrr9ys7dZOApw/LYXgXJ7V5TCBK1usIZVx5EuHRZQ=; b=WLWb3d0v2zZOeawTGav0a4fxP6Pk6QyG9ASARfnvjmZpGAb5vqngM3PtdTVU9cXIIa uSQLwUW2VuIC12MJVYBDEqJGMn/MD40fRpQR9eNCSHmPL207lYM2HEyHxfNmHxBDgyaz 5jc9UVgN8BF/ygFg2YCitnZAUJAJ8kJszMu5b1+HVHPEPZH7fbrFW1+lc0ZQsnDZMpXH KUgGAxvlABp8837jxx190nlVFcsuxoNrrUz3d0Vkiof/FfYhulcsEHHcoXQp5GXU24iI FHEoBT3Xg+1QoRsYmtWIPgniiZsxH+jugjgl08GPHkPQkL1mDfo08q2ZJRXIZSLhABzY RHXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:cc; bh=2zzrr9ys7dZOApw/LYXgXJ7V5TCBK1usIZVx5EuHRZQ=; b=Km8bypa4sbERQ/nESO+VthKMojc0odbaRB3lGZ6TOxKuNfBxci7oDiQ5CEXmLHrQ+e lhLPEDaK4lxMswPZQHI6Xyh1kWg5DRJBlXNK+sYLzX93J+ma894kGfK0FCPOvqKes4D3 ik6mqWQga4iCqBijFPa2U5w41Y/4+AHGPxM8QNG9r0ayna72J8uWT+OUcxFs8W24qFrq lp9g5m52zU8GDB7Sd8i03vC9LMR94RPNjPm7I4+IylIj9eHFDFeKrTXRVhw3ZnGLqj6b tRT+wy/DD+DpfPNqKyAjXoqrSaL9r7Bg/zIvzvnLGZkLlZI2xpC58i9vtg0qvtBRTYvC ruig== X-Gm-Message-State: AD7BkJJi1VcVLTgNtOxhWl8IQlrb9/+hI/i86BdWKBqKXue+w4joCPt1mrDNo0ljEmcC/VvzuEo36jAezWgScA== MIME-Version: 1.0 X-Received: by 10.112.26.172 with SMTP id m12mr6807176lbg.44.1459844431716; Tue, 05 Apr 2016 01:20:31 -0700 (PDT) Sender: rizzo.unipi@gmail.com Received: by 10.114.199.19 with HTTP; Tue, 5 Apr 2016 01:20:31 -0700 (PDT) In-Reply-To: <22d076ee848941ffaa6769019d278bbb@SERVER.ad.usd-group.com> References: <20160404223748.GA25187@spindle.one-eyed-alien.net> <20160404223941.GB25187@spindle.one-eyed-alien.net> <22d076ee848941ffaa6769019d278bbb@SERVER.ad.usd-group.com> Date: Tue, 5 Apr 2016 10:20:31 +0200 X-Google-Sender-Auth: yIm-ZNVk7nS9-F5MA3_7jz5lH88 Message-ID: Subject: Re: Vale port naming From: Luigi Rizzo To: Matt Churchyard Cc: Brooks Davis , "freebsd-net@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Apr 2016 08:20:34 -0000 please fetch the version from github.com/luigirizzo/netmap if you want a more recent version of the code, and email me directly if you have a panic. Both the versioni in HEAD and 10.x are lagging a bit behind. cheers luigi On Tue, Apr 5, 2016 at 9:59 AM, Matt Churchyard via freebsd-net < freebsd-net@freebsd.org> wrote: > > On Mon, Apr 04, 2016 at 10:37:48PM +0000, Brooks Davis wrote: > > > On Mon, Apr 04, 2016 at 11:29:31AM +0000, Matt Churchyard via > freebsd-net wrote: > > > > From the little information I can find on the net it seems that > valeX:Y is the format for a port on a vale switch. > > > > Some examples use vale0:1, others use a letter such as valeA:0. The > only details I can find is a vague reference to a 15/16? character limit, > > > > although I don't know whether that applies to just the first part > of the whole thing. > > > > > > Can anyone clarify the valid format for a vale switch/port? > > > Is there any length or character restriction on X & Y? > > > > According to the vale.4 manpage: > > > > vale ports are named vale[bdg:][port] where vale is the prefix > > indicating a VALE switch rather than a standard interface, bdg > > indicates a specific switch (the colon is a separator), and port > > indicates a port within the switch. Bridge and port names are > > arbitrary strings, the only constraint being that the full name > > must fit within 16 characters. > > > > The manpage is confusing in that the name must be 15 characters plus > > the NUL character. Given the other limits, it looks like bdg can be > > up to 8 characters in practice. > > > Having hit send, I've noticed I'm wrong here. :) In fact, you have 10 > characters to split betwen bdg and port. > > > -- Brooks > > Ok, so I can assume using port names like "vale9d9af:66aa9" isn't the > reason that my test machine is panicing. > I might give 10.3 a go instead of head and see how I get on with that. > > Matt > _______________________________________________ > freebsd-net@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > -- -----------------------------------------+------------------------------- Prof. Luigi RIZZO, rizzo@iet.unipi.it . Dip. di Ing. dell'Informazione http://www.iet.unipi.it/~luigi/ . Universita` di Pisa TEL +39-050-2217533 . via Diotisalvi 2 Mobile +39-338-6809875 . 56122 PISA (Italy) -----------------------------------------+-------------------------------