From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pl0-f43.google.com (mail-pl0-f43.google.com [209.85.160.43]) by dpdk.org (Postfix) with ESMTP id 4D7F03DC for ; Tue, 21 Aug 2018 20:22:35 +0200 (CEST) Received: by mail-pl0-f43.google.com with SMTP id j8-v6so9146778pll.12 for ; Tue, 21 Aug 2018 11:22:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=KiXS27Gg4OB+pRo7EmIPTAbmS+U5hsYbaTu5gXsJZcg=; b=2Ty0pzNwse1np8NIPIKS/W2IY9v4Zh1BIRHiYCRrfNt7a+l2cp8pDpqet/wRQF8WzS I7SIuXz5H6cS+dRAUFeHlBB9CQye5HA7ZfMMg4aD5xEQN+utXI6mz5Ko0hD06HLKcgN9 +y8I7WpMrXIqGJsVEWgW62fMO2d/CmkhoHb/RRXZUAlrAZEnGM9viEyIpjI2da8ns8Ew XEOKu6nfjPmYm+nD+P7ICTBQkl8hK83qwYj/A5Z5h/N9S7K2w/wz66PjpOPUQ9KdqtSe 7Kxa3rvzDjwQXIp+GO1NJETVizjIJ27of9SxR1op5DurCKemL6TFkrLGrIl+ZybzgktE 7nPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=KiXS27Gg4OB+pRo7EmIPTAbmS+U5hsYbaTu5gXsJZcg=; b=UBuOdvVZxNU5uKkP45Vx34qP6vb9nerPpw+yv/xz6yfliQ9lHYoCGEaz+RfCQjiNo5 pcfFiuEBNr28CLvg5Ry1ep4FL6C1rmx342Y2CTdQzImQYt8SRKhwMYA7L/XHT+aqoqVw MgcvyRuhfLHbShBnHOPSCk7TGNiQn+z/s9EgaDehC/1ST1lm7Cqgqy+Qx9xQrEdIrVoc YjOZvYkKS2fH+F5HX3Y3G/wxm+JzVIEZqKZ2Wb7dcx8OtIJfiYYXC9s6kL8RjxP0wCLh mS42+4rSfAGlpRyPrJkdoboX35MA1tlhqRfRi4RE+3+1p05vmka18n5fPixGDR39JrzD FW9g== X-Gm-Message-State: AOUpUlGAgHnlHxnMjPkYrvamAv0kLEDSVmciiF9Xf6r8P6GV0N4haBvi V2dNi3D4sGLnJtoR9cGU3bF12w== X-Google-Smtp-Source: AA+uWPxUdSTrngbE9P2/pfCu80kB28H/tnSXeyVPAT0gSzk9zoxqkN1Y4hiIwHBVUjYo11fJbl0yYw== X-Received: by 2002:a17:902:f:: with SMTP id 15-v6mr6824927pla.195.1534875754405; Tue, 21 Aug 2018 11:22:34 -0700 (PDT) Received: from xeon-e3 (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id v7-v6sm20087353pgh.57.2018.08.21.11.22.34 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 21 Aug 2018 11:22:34 -0700 (PDT) Date: Tue, 21 Aug 2018 11:22:32 -0700 From: Stephen Hemminger To: Jay Miller Cc: users@dpdk.org Message-ID: <20180821112232.1549773f@xeon-e3> In-Reply-To: <6033fde3-997d-df67-feee-d6a501b9b4be@oracle.com> References: <1e5ecad5-79d4-490f-5c79-f508bd4c1800@oracle.com> <6033fde3-997d-df67-feee-d6a501b9b4be@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [dpdk-users] Support for more RSS hash types in vmxnet3 X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Aug 2018 18:22:35 -0000 On Tue, 21 Aug 2018 13:57:08 -0400 Jay Miller wrote: > It's clear that the vmxnet3 driver (even as of 18.08) supports just a=20 > subset of RSS hash types: >=20 > #define VMXNET3_RSS_OFFLOAD_ALL ( \ > =C2=A0=C2=A0=C2=A0 ETH_RSS_IPV4 | \ > =C2=A0=C2=A0=C2=A0 ETH_RSS_NONFRAG_IPV4_TCP | \ > =C2=A0=C2=A0=C2=A0 ETH_RSS_IPV6 | \ > =C2=A0=C2=A0=C2=A0 ETH_RSS_NONFRAG_IPV6_TCP) >=20 > Are there plans to add support for other hash types (like=20 > ETH_RSS_NONFRAG_IPV4_UDP), or is this an architectural limitation of=20 > vmxnet3? Did you test, I suspect that VMWare supports that already. The values in the API to the host are: /* value of RxCompDesc.rssType */ enum { VMXNET3_RCD_RSS_TYPE_NONE =3D 0, VMXNET3_RCD_RSS_TYPE_IPV4 =3D 1, VMXNET3_RCD_RSS_TYPE_TCPIPV4 =3D 2, VMXNET3_RCD_RSS_TYPE_IPV6 =3D 3, VMXNET3_RCD_RSS_TYPE_TCPIPV6 =3D 4, }; > The documentation could be more explicit about these limitations: >=20 > >> > >> 36.2. Features and Limitations of VMXNET3 PMD > >> > >> In release 1.6.0, the VMXNET3 PMD provides the basic functionality of= =20 > >> packet reception and transmission. There are several options=20 > >> available for filtering packets at VMXNET3 device level including: > >> > >> 1. *MAC Address based filtering*: > >> * Unicast, Broadcast, All Multicast modes - SUPPORTED BY DEFAULT > >> * Multicast with Multicast Filter table - NOT SUPPORTED > >> * Promiscuous mode - SUPPORTED > >> * *RSS based load balancing between queues - SUPPORTED* > >> =20 > > =20 >=20 > Thanks, > J >=20