From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 80E57A09F6 for ; Thu, 17 Dec 2020 12:41:35 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 72D05CA08; Thu, 17 Dec 2020 12:41:34 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by dpdk.org (Postfix) with ESMTP id C805ACA08 for ; Thu, 17 Dec 2020 12:41:31 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1608205290; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=XNhq2dSIA+oDCNJ1CVKST4XnVNdS//rCtToYOCKp1AU=; b=awk1b2YZihPG/fsNl6youxOfLib9a+hGXgFeaTm4iP9rWsacByuj7Y+xQ2VQyDggIroosu L+J9Sfp0VV6d2ofdId0gIPz3IeaggmzsFzq/mQIcpKSH+YqRokr5GWuggcjXqOQMSBjzGT PIR4Si5IRGbuXUJC6JXnpCvZ965Zpq4= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-331-GFlnkh8WPLmgXbEkZfsvQQ-1; Thu, 17 Dec 2020 06:41:28 -0500 X-MC-Unique: GFlnkh8WPLmgXbEkZfsvQQ-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 5FED9801AC3; Thu, 17 Dec 2020 11:41:27 +0000 (UTC) Received: from [10.36.114.24] (ovpn-114-24.ams2.redhat.com [10.36.114.24]) by smtp.corp.redhat.com (Postfix) with ESMTP id 7AEF35D9C0; Thu, 17 Dec 2020 11:41:26 +0000 (UTC) To: Matan Azrad , stable@dpdk.org, Viacheslav Ovsiienko References: <1607884412-242890-1-git-send-email-matan@nvidia.com> From: Kevin Traynor Message-ID: <490677a6-78e8-fa60-f588-06fca63fbd78@redhat.com> Date: Thu, 17 Dec 2020 11:41:25 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0 MIME-Version: 1.0 In-Reply-To: <1607884412-242890-1-git-send-email-matan@nvidia.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 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-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-stable] [PATCH] net/mlx5: fix tunnel flow prioriity X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 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 Sender: "stable" On 13/12/2020 18:33, Matan Azrad wrote: > [ upstream commit 050bfe033c2dcaff1f6cfb3110aa90bf80071513 ] > > The PMD manages internally the priority of the flows in addition to > the user configured priority. > So, 2 flows with the same user priority may get different priority. > The method: > As much as the flow is more specific it gets higher priority > (higher means first to be matched). > > In addition, When the user creates a RSS flow the PMD splits the flows > according to the flow RSS layers as the HW requests for RSS TIR. > The internal priority for each flow is decided by the flow last layer. > L2, L3 and L4 (L2 low and L4 high). > > The tunnel layer was wrongly decided to be L4 all the time, even when > the flow is configured with inner-RSS. > > Hence, the first RSS split which takes the tunnel layer priority all the > time will be matched before the more specific splits. > > Change the priority of tunnel layer to be L2 when inner-RSS is > configured. > > Fixes: d4a405186b73 ("net/mlx5: support tunnel RSS level") > > Signed-off-by: Matan Azrad > Acked-by: Ori Kam > --- > drivers/net/mlx5/mlx5_flow_dv.c | 10 ++++++++++ > 1 file changed, 10 insertions(+) Applied, thanks.