From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id E1113A05FE for ; Mon, 18 Mar 2019 14:58:10 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id ECC154C93; Mon, 18 Mar 2019 14:58:09 +0100 (CET) Received: from userp2120.oracle.com (userp2120.oracle.com [156.151.31.85]) by dpdk.org (Postfix) with ESMTP id 4FDA54C91 for ; Mon, 18 Mar 2019 14:58:08 +0100 (CET) Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x2IDn3Yh013468; Mon, 18 Mar 2019 13:58:06 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2018-07-02; bh=LhaKKzFNCdyfb+jhlSDD/bCz1ZNjvrVHyUYbbM1mpVA=; b=mrv8N8oXg7jd6fziancbT7/xyjR4pWuo3IbRzZB06p4oyBlLxrELkvNJ+75botTACzyr OWGBFpt6nmr/faI7hyl6++zmjLaRwjtZhJGcOcONO9knUOI9I/dj4SluEB4VAxTD2Re9 OdVqyXwfoWSro0UveaeGPhrjxKIH3hPZN5vyde2Kd/htFBvPYC79iZyh7jQ8l56Lk6qg Y5IzdbarDBuRzHghxjhSDzT4LNM/pI2VJIM2q5oU+hJRXds3DpJxmjttbxJaWZ1CRpKH p81fmzaU6dMCgDo171KYedtJn1OSLjBsZP1QVLhiWJdLtuYaXQ/DzZ0LH2O700mJoXfH 0Q== Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by userp2120.oracle.com with ESMTP id 2r8ssr6hvp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 18 Mar 2019 13:58:06 +0000 Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id x2IDw5RO026559 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 18 Mar 2019 13:58:05 GMT Received: from abhmp0010.oracle.com (abhmp0010.oracle.com [141.146.116.16]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id x2IDw46t024114; Mon, 18 Mar 2019 13:58:04 GMT MIME-Version: 1.0 Message-ID: <6857622f-701e-47a4-a4d0-ce2f8cd06742@default> Date: Mon, 18 Mar 2019 06:58:03 -0700 (PDT) From: Iain Barker To: Yong Wang , Ferruh Yigit , Jay Miller , users@dpdk.org References: <1e5ecad5-79d4-490f-5c79-f508bd4c1800@oracle.com> <6033fde3-997d-df67-feee-d6a501b9b4be@oracle.com> In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 15.0.5119.0 (x86)] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9198 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1903180104 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: , Errors-To: users-bounces@dpdk.org Sender: "users" On 8/21/2018 6:57 PM, 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 ( \ > ETH_RSS_IPV4 | \ > ETH_RSS_NONFRAG_IPV4_TCP | \ > ETH_RSS_IPV6 | \ > 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? On August 22, 2018 at 2:55 AM, Ferruh Yigit wrote: =20 > Hi Yong, > =20 > Can you please double check if the driver reports all supported hash func= tions > correctly. > =20 > On v18.08, the RSS hf request from application changed from best effort t= o > strict requirement, meaning if an application request a hash function but= driver > doesn't report it as supported API will return an error, that is why it i= s > important for PMD to report supported hf properly. > =20 > Thanks, > ferruh On September 13, 2018 6:44 PM, Yong Wang wrote: > That's pretty much all the hash types supported by vmxnet3 by default up = to version 3. =20 > With version 4, UDP RSS will be supported but it's only supported on cert= ain version of ESX. =20 > Since v4 driver is not out yet, current VMXNET3_RSS_OFFLOAD_ALL should be= good. Ferruh/Yong, I notice that ESXi 6.7 has been released for some months now with support f= or VMXNET3 version 4 including with RSS for UDP https://docs.vmware.com/en/vSphere/6.7/solutions/vSphere-6.7.2cd6d2a77980cc= 623caa6062f3c89362/GUID-C500585C0560D28B71180A40A4767C57.html I'm surprised this wasn't already present in DPDK 19.02 given how long 6.7 = has been available already. Is it just a matter of changing the definition of VMXNET3_RSS_OFFLOAD_ALL = in the PMD to support this, or are other changes required? thanks. Iain