From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 84745A0093 for ; Thu, 23 Jun 2022 15:59:33 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7F0DA40042; Thu, 23 Jun 2022 15:59:33 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id 0809B40042 for ; Thu, 23 Jun 2022 15:59:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1655992771; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=dfNut6xnU0LG63PvhNpylqJ1G2ll/Vh7J2MJi2wgRVY=; b=b92dPcvJl8LcOkGj44iZx+YdvLBngtChfpKpZzfwPjeAdU7mH/JbmIFAkzAE7qsWAKMlIX 88uJ44v8r2BNuK/8bFnjwJHwmQTvWvQk+DiVTrccFExPxZo3+CV9F7IQms+8qhG2hoZKCM GDmn5hYbuCOTZ2qJ2gUW3su1lnCFj20= Received: from mail-wr1-f72.google.com (mail-wr1-f72.google.com [209.85.221.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-211-UFA77viMP1qDDYnQqkwk9A-1; Thu, 23 Jun 2022 09:59:30 -0400 X-MC-Unique: UFA77viMP1qDDYnQqkwk9A-1 Received: by mail-wr1-f72.google.com with SMTP id j14-20020adfa54e000000b0021b8c8204easo3295179wrb.0 for ; Thu, 23 Jun 2022 06:59:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent :content-language:to:cc:references:from:subject:in-reply-to :content-transfer-encoding; bh=dfNut6xnU0LG63PvhNpylqJ1G2ll/Vh7J2MJi2wgRVY=; b=wdsW7E1hZmtNS3E/DgeFCKHp5M2orK/M/rg4Knkv6hGwyu9i/qqFWjCQAO1UmRcYJN 1eVDcUxLi2W6rIz5JFq5T8Y37jqH04CPQCricmWJb98vAegoBSD16/nlSMAvNReoBFoO VBVCGsF749bD2p27azB9oiJu9W2qhnClXc9tcnjv/nhNz04lPe0o2lZUycIUAQJ4D/BI dx1wCXaxjGXZ4k9QYrylxg8rU+NyO1izCuPR35qjN/YMxKi5wyR0CBehEVgbspcpEzfb FqzL7Pqc4HbFfVhtG10E5gWXGT/MDeMLw5v4WHZTaL2FI2BXocpvggoBhf0C0I8FXYl3 +cZw== X-Gm-Message-State: AJIora/AhrnttLgoovL8UJ4amZmWWsNpAPVSqnX3ySPM9sMr25Oa6+Q5 5NqNytQjqEMF8j9smUjosqaETSHmyCXmOqfTJoqEKVQrPOTeItdR7XMGD23nkSxZEQm6RGBfYhh 8kGquy50= X-Received: by 2002:a05:6000:18ad:b0:21b:a24a:1786 with SMTP id b13-20020a05600018ad00b0021ba24a1786mr7778187wri.115.1655992767500; Thu, 23 Jun 2022 06:59:27 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tHA8amweQH2Swv5+phNQ6OoaNJBJr3WYk+1jwlT6e9hCbGJb8tcFk0lhuVKICJjUuxIKXgEQ== X-Received: by 2002:a05:6000:18ad:b0:21b:a24a:1786 with SMTP id b13-20020a05600018ad00b0021ba24a1786mr7778171wri.115.1655992767339; Thu, 23 Jun 2022 06:59:27 -0700 (PDT) Received: from [192.168.0.36] ([78.17.181.1]) by smtp.gmail.com with ESMTPSA id m18-20020a05600c4f5200b0039748be12dbsm3492320wmq.47.2022.06.23.06.59.26 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 23 Jun 2022 06:59:26 -0700 (PDT) Message-ID: Date: Thu, 23 Jun 2022 14:59:26 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.0 To: Dariusz Sosnowski , Matan Azrad , Viacheslav Ovsiienko Cc: stable@dpdk.org References: <20220622175432.1412085-1-dsosnowski@nvidia.com> From: Kevin Traynor Subject: Re: [PATCH 21.11] net/mlx5: fix RSS hash types adjustment In-Reply-To: <20220622175432.1412085-1-dsosnowski@nvidia.com> Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=ktraynor@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org On 22/06/2022 18:54, Dariusz Sosnowski wrote: > [ upstream commit d2fa2632a4a17b491f9a15834d9e13c6a6e5a1b9 ] > > When an indirect action was created with an RSS action configured to > hash on both source and destination L3 addresses (or L4 ports), it caused > shared hrxq to be configured to hash only on destination address > (or port). > > This patch fixes this behavior by refining RSS types specified in > configuration before calculating hash types used for hrxq. Refining RSS > types removes *_SRC_ONLY and *_DST_ONLY flags if they are both set. > > Fixes: 212d17b6a650 ("net/mlx5: fix missing shared RSS hash types") > Cc:stable@dpdk.org > > Signed-off-by: Dariusz Sosnowski > Acked-by: Viacheslav Ovsiienko Thanks, applied.