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 3DC0D432DA for ; Wed, 8 Nov 2023 20:03:54 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 36FA140A80; Wed, 8 Nov 2023 20:03:54 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id 7FFAF406A2 for ; Wed, 8 Nov 2023 20:03:52 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1699470232; 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=TRMdB3CHA4A+84rd164NDsMEft9WqFAlOoPfq7m8VeY=; b=LVJyn9MoFMQED1vXD1FpzXV2Mhay4VYZrUqfn2QE/ydG+x5g7iUlqrFMFmrX3JiKeTK3sK xn1K3GNaeCAmq4ISpRfcltC4OQ7z4AkHZm9S39D8xEYeCe19dTxskUqWSQnP3ax84R0Z3y JvlulWNQQN9q1sxtOHVtJc/kU9lB5fw= Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-654-nJrGQpgaM_2CiRNgepv7yA-1; Wed, 08 Nov 2023 14:03:50 -0500 X-MC-Unique: nJrGQpgaM_2CiRNgepv7yA-1 Received: by mail-wm1-f70.google.com with SMTP id 5b1f17b1804b1-4084d08235fso46834835e9.3 for ; Wed, 08 Nov 2023 11:03:50 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699470229; x=1700075029; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=TRMdB3CHA4A+84rd164NDsMEft9WqFAlOoPfq7m8VeY=; b=n7u6b9HSeDQXK5HuAaOk/vhCdp2qGTQ3h04BrE/5VwkX+M7QBfk7pUkBoasTF445zw OUJZLy8nMeckNQpqmd91LuYcUQ+um+abcFNow59NdYWX8FHNEVBBUQipoBzk7VeV08yD cEYvVLKDSzVEFJskkZSs1TFUKtkPltuSLnb7oYNqFi07j9rLgZ70UceQhZOHaKEtWwk/ rva3pZPVKqU8qL1TTLCexMdVY6zO3zUVeMK3Smpmr8fKF+LA9jqo+8HeBIDBbTbD0/XN 1gSjgUAslo+2m0Yju3AJbrv3qlUTYItqSzwusJ9ktOSkhQUBoNDgaNphkEIsjZkqk3Jh NU4w== X-Gm-Message-State: AOJu0YztNts6OiKQzqp9LM1IJAQCQKsZPvgPQ/BH/wWytXSz2g5w6JCw Kzfz5NW3ourz4cBUfxjpbz1RTyEUNMD22CLvztS+mAZ6JmiqP9t8KcjPTyNZ0x9GqniOwtHQ8QS gBLbNN1pnesvE0hs= X-Received: by 2002:a5d:46c6:0:b0:32f:7db1:22fe with SMTP id g6-20020a5d46c6000000b0032f7db122femr2360177wrs.15.1699470228992; Wed, 08 Nov 2023 11:03:48 -0800 (PST) X-Google-Smtp-Source: AGHT+IElrQhUt8Ys2nvu0DUqgv4QsZRwCOmvQHidTQSIw3rwAQkP5EcToje7xtM+ivVXTBb+5ofeaA== X-Received: by 2002:a5d:46c6:0:b0:32f:7db1:22fe with SMTP id g6-20020a5d46c6000000b0032f7db122femr2360140wrs.15.1699470228023; Wed, 08 Nov 2023 11:03:48 -0800 (PST) Received: from [192.168.0.36] ([78.16.130.39]) by smtp.gmail.com with ESMTPSA id a15-20020a5d456f000000b0032fab28e9c9sm5571332wrc.73.2023.11.08.11.03.47 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 08 Nov 2023 11:03:47 -0800 (PST) Message-ID: <7c51d590-bf3a-303e-c762-81c1e8cbb192@redhat.com> Date: Wed, 8 Nov 2023 19:03:46 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: [PATCH 21.11] net/mlx5: fix MPRQ stride size to accommodate the headroom To: Alexander Kozyrev , stable@dpdk.org References: <20231102160814.2513733-1-akozyrev@nvidia.com> From: Kevin Traynor In-Reply-To: <20231102160814.2513733-1-akozyrev@nvidia.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 02/11/2023 16:08, Alexander Kozyrev wrote: > [ upstream commit e6479f009fbd9c8e873807cc928dcf91a151aba9 ] > > The space for the headroom is reserved at the end of every MPRQ stride > for the next packet. The Rx burst logic is to copy any overlapping > packet data if there is an overlap with this reserved headroom space. > But it is not possible if the headroom size is bigger than the whole > stride. Adjust the stride size to make sure the stride size is greater > than the headroom size. > > Fixes: 34776af600 ("net/mlx5: fix MPRQ stride devargs adjustment") > > Signed-off-by: Alexander Kozyrev > Acked-by: Viacheslav Ovsiienko > --- > drivers/net/mlx5/linux/mlx5_os.c | 2 ++ > drivers/net/mlx5/mlx5_rxq.c | 26 ++++++++++++++++++++++---- > 2 files changed, 24 insertions(+), 4 deletions(-) Applied to 21.11 branch, thanks.