From owner-freebsd-arch@FreeBSD.ORG Thu Jan 30 18:49:07 2014 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1591BD64 for ; Thu, 30 Jan 2014 18:49:07 +0000 (UTC) Received: from mail-ie0-f179.google.com (mail-ie0-f179.google.com [209.85.223.179]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D23861960 for ; Thu, 30 Jan 2014 18:49:06 +0000 (UTC) Received: by mail-ie0-f179.google.com with SMTP id ar20so3669989iec.10 for ; Thu, 30 Jan 2014 10:49:00 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:mime-version:content-type:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to; bh=G6zJZbKaq2ujxL42jBzDatR2Zr2Mcq4ojANg6Msl+JY=; b=SiOQYouAtaWeWa997mYo7oQirvGOBmaxUYFAPxRzOo8uy8fif/hO/hluJ6pu7gD9/g byS8H7bzmqZF8S23vVpSOW0UT4NOCuDjMvVWw2H4t1RNMj++gSRJ7Dtxtj/0h2miJrIV 6xG4F1dtXgnv7BHXQur2UL/Y0Md6Vc9bsLH/fA9wZ3ZmYHafy/A4+kEQtBARA0QDMC8f /YkImMuDYHQ52lvh0Fht7QLh4Nl6kzUWBLHFAemKTrJ0TAmIhzY+diAramidvDaerdB5 0LX7dP1X9PBbprMQWiX33ECqdZuVw6+lPZ/A4bB0J3LvteXel/Nbel/NPg6EWqNsrlSe AWbA== X-Gm-Message-State: ALoCoQmILiMlyCNlPlLCclnGdcI8QW8uf1jR1y42TtPyhZDwPzHYwuB6W6KZFkF6NkMUgloA6AwE X-Received: by 10.50.138.37 with SMTP id qn5mr18540543igb.36.1391107740401; Thu, 30 Jan 2014 10:49:00 -0800 (PST) Received: from fusionlt2834a.int.fusionio.com ([209.117.142.2]) by mx.google.com with ESMTPSA id t4sm81981674igm.10.2014.01.30.10.48.59 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 30 Jan 2014 10:48:59 -0800 (PST) Sender: Warner Losh Subject: Re: (removing mbuf flowid setup in flowtable.c) Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: Warner Losh In-Reply-To: Date: Thu, 30 Jan 2014 11:48:57 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <87746AA8-4759-4302-883C-25CDAC95C322@bsdimp.com> References: To: Adrian Chadd X-Mailer: Apple Mail (2.1085) Cc: FreeBSD Net , "freebsd-arch@freebsd.org" X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Jan 2014 18:49:07 -0000 On Jan 30, 2014, at 11:40 AM, Adrian Chadd wrote: > On 30 January 2014 07:18, Adrian Chadd wrote: >> Hi, >>=20 >> I'd like to disable the code in flowtable.c that assigns the mbuf = flowid. >>=20 >> I'd like to ensure that any mbuf flowid that's set is (eventually) >> going to be consistently toeplitz in the future (to match what NICs >> are doing on the RX side) and this may cause the flowid to be set to >> something completely different. >>=20 >> I've only done some light production testing with this so far, to no >> visible ill effects. >>=20 >> What do people think? >=20 > Someone pointed out privately that doing this would mean that UDP > flows without flow ids would suddenly not have flowids any longer and > thus wouldn't use multiple output queues. >=20 > So, I'll leave this alone for now until I can import the toeplitz hash > code into -HEAD and add an option to tag outbound udp frames with this > particular flowid hash. toeplitz is a funky kind of matrix, according to google. What does that = have to do with mbufs? :) Warner