From owner-freebsd-net@FreeBSD.ORG Wed Aug 13 06:53:53 2014 Return-Path: Delivered-To: freebsd-net@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 006A96E for ; Wed, 13 Aug 2014 06:53:52 +0000 (UTC) Received: from mail-qc0-x231.google.com (mail-qc0-x231.google.com [IPv6:2607:f8b0:400d:c01::231]) (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 B1E9F2807 for ; Wed, 13 Aug 2014 06:53:52 +0000 (UTC) Received: by mail-qc0-f177.google.com with SMTP id x13so3730869qcv.8 for ; Tue, 12 Aug 2014 23:53:51 -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:content-type; bh=iobyXx7ciaytSkmM39tqdARWPKfGz2skBMoCJyL3n/0=; b=tBz+KF6yVCDFF7jWZGfZ3R7rKQ1NAP74T8MusfJuHEl66glipXyzj4+DdplkoXZawu xAhiKk53FHcFE+ziOelFZLuCL3GSLzC21OC/RFdUAjB15hHTcPzljAAySn8TagXSSXlR oYF2EJotgSwALBmdOMv7e0KmL+3AcTqIBAM731R3SdtbZELJc4hB4lGgStC6zB7nTj3/ jQ9p/PGYAbsE/A02Z2u+aUJuqAHOjDLq3UCw4FCsB18hVieFSNQVwG13VimR2vtreJMu SfUnqAxXcij8PXdTpbLnjxR9q1JfbtrSZ/zOY5vq2uwc1v6aqXNlmpqj9uSZlE9IyhvY B1Bg== MIME-Version: 1.0 X-Received: by 10.224.36.4 with SMTP id r4mr3607613qad.69.1407912831912; Tue, 12 Aug 2014 23:53:51 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.224.39.139 with HTTP; Tue, 12 Aug 2014 23:53:51 -0700 (PDT) In-Reply-To: <78ee306703c9492aad278425745032c7@BY1PR0301MB0902.namprd03.prod.outlook.com> References: <184b69414bd246eeacc0d4234a730f2f@BY1PR0301MB0902.namprd03.prod.outlook.com> <78ee306703c9492aad278425745032c7@BY1PR0301MB0902.namprd03.prod.outlook.com> Date: Tue, 12 Aug 2014 23:53:51 -0700 X-Google-Sender-Auth: KRtNOIgaTp782tDRH-uI3h66zmE Message-ID: Subject: Re: vRSS support on FreeBSD From: Adrian Chadd To: Wei Hu Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-net@freebsd.org" , "d@delphij.net" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Aug 2014 06:53:53 -0000 On 12 August 2014 23:27, Wei Hu wrote: > Unfortunately I am not aware of any official spec. Damn! Ok, so when they send the update for the redirect table, what's that look like? How do they send it? > The driver for Linux guest OS does the similar thing for the tx path -- receive the send table update from host, calculate the hash value for each tx packet and use it to find the tx queue from the send table. > > I think the Windows guests do the same. I wonder if there's any possibility for getting that added to the receive packet descriptor if the underlying hardware supports it - or well, if the OS has done it already. -a