From owner-freebsd-net@freebsd.org Mon Jun 29 23:34:29 2015 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 DBFB4990EC9 for ; Mon, 29 Jun 2015 23:34:29 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-ig0-x234.google.com (mail-ig0-x234.google.com [IPv6:2607:f8b0:4001:c05::234]) (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 9F28119AE; Mon, 29 Jun 2015 23:34:29 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by igrv9 with SMTP id v9so39978551igr.1; Mon, 29 Jun 2015 16:34:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=L15epDo6F1U6QNn5qu11+4rsvB9IHaAC1wr2PWBdENA=; b=WiKNjwgHlQw0iYhWPwP3X8qkcPPZVuj+lFqNwCkatT81uwkY0XadG6dG3Hpxo9AAH8 IxYCU/Eoo39JOIC2bNsp9VhME+DHWFkQTk4ETjfcJLbCKBIDxue+4H572ELEG61xAzgU FA5W8gwriYPru7nyMdo+3EzTBA1Wsz8kz31qW63r4aIJq8rCaeWAI1D6rlSXU4mqahJA gpaTLyupQNFTkQhCwhdsFyhEPvIQ1rzRq0cl9DPanNkC1Hjx1ptCNjoq9eMyC6oiN93y ziHt1//hCQ6Q/dQ2WLFa7R1aT/h164altlBf7ojLpkOobsWBsPQWj83zlkRlfpXSHuNi VHQA== MIME-Version: 1.0 X-Received: by 10.42.176.8 with SMTP id bc8mr20966434icb.22.1435620868876; Mon, 29 Jun 2015 16:34:28 -0700 (PDT) Received: by 10.36.38.133 with HTTP; Mon, 29 Jun 2015 16:34:28 -0700 (PDT) In-Reply-To: <20150629191110.GK1647@zxy.spb.ru> References: <20150629151750.GD1647@zxy.spb.ru> <55917B43.70904@FreeBSD.org> <20150629171930.GH1647@zxy.spb.ru> <20150629191110.GK1647@zxy.spb.ru> Date: Mon, 29 Jun 2015 16:34:28 -0700 Message-ID: Subject: Re: netmap custom RSS and custom packet info From: Adrian Chadd To: Slawa Olhovchenkov Cc: Navdeep Parhar , FreeBSD Net Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jun 2015 23:34:30 -0000 On 29 June 2015 at 12:11, Slawa Olhovchenkov wrote: > On Mon, Jun 29, 2015 at 10:29:14AM -0700, Adrian Chadd wrote: > >> Hi, >> >> Turns out there are a class of symmetric RSS Toeplitz keys. Use google >> to find the paper. :) > > Do someone work on using different RSS keys and hash fields (selecting > L2/L3/L4 or just L3 hash for example) in FreeBSD? The -HEAD RSS stuff has a global set of (compiled in) config options that say whether L2/L3 RSS hashing is enabled. It's more complicated than that, as the alignment of RSS NIC config, expected RSS hash info and the tcp/udp pcb table hashing has to align, or weird stuff happens. It still needs a bunch more work. Unfortunately it's not in my "would be useful for work" right at the moment, so other things are taking priority. -adrian