Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp413818lqp; Thu, 21 Mar 2024 05:26:26 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVqtV0i+SPgQzD8ftRIMnf2Oq0VIzfDxTCu9/7RRg0OlaaFRXQtIxfnTOCNpCDeJ0b/spDbcqenDSSwKsbU02pGrGMEJjVvI+MZZJ5Mlw== X-Google-Smtp-Source: AGHT+IGIX2Ie1fO26CsUUYXbigjFeieinatTHpmQpmIzguLmVAVOVvaKzL782cPP2ZmZCnz9yg9V X-Received: by 2002:a05:620a:89d:b0:789:f563:c91 with SMTP id b29-20020a05620a089d00b00789f5630c91mr13716408qka.40.1711023986104; Thu, 21 Mar 2024 05:26:26 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711023986; cv=pass; d=google.com; s=arc-20160816; b=k7k6nmR/6JPxY6mAEV/QQwwrEdzVuZn8rkEnCLvQ/Vsm6KTtSfmtlDKLEr7v80yW9s +MFnMPLvzHaoBfSeVyKJAZBqI4En8Fi8Kb7+ZKrBu1Yg6m9paZmzvE8SJp1him8wkRY3 luS0hwu3OmlFjT0ZO7dLSQa6YZDvfMgWq1bagmfxi1YrG/u7gMrrUvtMPMu4P0lMcDhc mWja1D9FxQrhnVJf9ouimQYL0Ukw19UxP0o07s5LBi9i27Fvp+bvgyllgHVoXo6xkjH8 JX6P9xOm/cPaykNL4V2cjrxedtW7cLIfth1r/LwIV4g0mf1IwHnW/m1XfODoo7+/s1vD DSKA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:content-transfer-encoding:autocrypt:references :in-reply-to:date:cc:to:from:subject:message-id:dkim-signature; bh=asNxUABtcbFsSQGHR2XvI5++jNl/Wy6Tq921v8Lu2V4=; fh=AW7skFlJc/N78F149rYZG1cgAZHkhaBJLq+RPBs2chU=; b=c26t6BNu2e4QnQZt/B4rLoGA6Qz5Z0vTMaTISfNesGgYTi7k1KnRgrEsx+XLkmmmHX 3C7/o2ZbcgzfrfDMxR4WXGFnWe4w6aIimmagHzg67nzwYWMlZ/D5Zb/Fa+d1Ojz6HggF Z/KrZ23LGlj2SvZxerFEfpQJOT7ZnOjggrt6cZJUh7UkS1AF1NAQlOaV5cuMcsaR4EXd iUKZxt5jQDsBpM1AXajo2cS4Du7iGA4a8288We6xVnuu9drzXtxekTRbrB/DoAjfFD+9 fCcmep0Zk1EoKDkVn3ocWswASiN9Ipz/piWuGtr6cPHL00lOb2oL9/8uIqDWUaIDIqF4 KI7w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=dJNkMPoy; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-110028-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-110028-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id d6-20020a37c406000000b0078a154f7371si5255237qki.528.2024.03.21.05.26.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Mar 2024 05:26:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-110028-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=dJNkMPoy; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-110028-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-110028-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id C368E1C21922 for ; Thu, 21 Mar 2024 12:26:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D618C762E8; Thu, 21 Mar 2024 12:26:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="dJNkMPoy" Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 637E57603F for ; Thu, 21 Mar 2024 12:26:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711023976; cv=none; b=q9vDt/P8VeVYcywhTUwGduEOSqZ0EbLJ5DO2nNiT1jOw2qLVihXDiSSyqN4zmA2jcqAn0pBJ9IWrWyeQ6894n8xbvNBtzCP3e3ebZd2Qaf8wK1XL/FAjGTMcmmCjGHEKgMmgaYh3GYIqgByiUDx0eoxOBkuncrqIq5ywk0pcXlQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711023976; c=relaxed/simple; bh=asNxUABtcbFsSQGHR2XvI5++jNl/Wy6Tq921v8Lu2V4=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=paxonIZuA9iPQez7Ms7JV1f4wmq0c0pH+b3qqdPf9Dh2QW+zDg/AXuNN12WVyrrFThgDX6KB8XByOmRqYJx6r65xNzE8x43BvbtpT0StMDBobqvH3gEJxELmFJcsC+Y4VZZuRdSXkd5dHZ/CIS9bIIuktZJ0BAHphv5Bq4tqphQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=dJNkMPoy; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1711023974; 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:autocrypt:autocrypt; bh=asNxUABtcbFsSQGHR2XvI5++jNl/Wy6Tq921v8Lu2V4=; b=dJNkMPoy2wq7DqQnbUHLKl+vbeE2SbKedGBw7kkVoalyxwTx4w6pQFO5TjkYyoXAj1Y6g/ wMZm1xM7yc0AMaDHxoF8Vhvni1/dJlV4zZqDgoQH6GQ3HL2aQtYYrRJqc7RajkYi0rwvsQ YjShggqgFhn5P/OmTbw94IrnjHgJyvU= Received: from mail-wm1-f69.google.com (mail-wm1-f69.google.com [209.85.128.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-462-tGLL4fJ5PXipi1VitwFcUQ-1; Thu, 21 Mar 2024 08:26:12 -0400 X-MC-Unique: tGLL4fJ5PXipi1VitwFcUQ-1 Received: by mail-wm1-f69.google.com with SMTP id 5b1f17b1804b1-41472b798a2so1809585e9.1 for ; Thu, 21 Mar 2024 05:26:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711023971; x=1711628771; h=mime-version:user-agent:content-transfer-encoding:autocrypt :references:in-reply-to:date:cc:to:from:subject:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=asNxUABtcbFsSQGHR2XvI5++jNl/Wy6Tq921v8Lu2V4=; b=YX2xDjXa63MCGECvbjW8o8NQkdHaftEnbC3M1qy5vxD6BimIXy3d8M4M9q4KkuT5D2 cfzrfvzqFX87FtIkhXp+x/cPlCTZP6vbLZf0v7qC4HOFGXs4ESemkA44Sfos686zJufI 9pCnUu3NbPzhoWo12WcXIedemdYoNlzp3qdO62BNWTeZwHX3PYZCTVw7uz6OzS9Nolnb vrxJAOARH0bDqNtjKMwmXrzOay5T8aBv0ADyMY7pzkIad+IDglzWQZdpXb9Y+vhxAiDJ j3mBNn7SP+vH8LwAF3K7NY1rZ+GkjK8QeyDubFbnRKa55SYrdNYiRji82PlkObIubzf7 I1Ww== X-Forwarded-Encrypted: i=1; AJvYcCUfA3Ydpz81EF1XUsq6LOnRxDU6keQGSLLJGe8cJ4qlLHw5n6F20x/Xty/4vxV5icIHMGy33ZlB2dRkyEPb8c7SWV7IRjGaf9wFAKbN X-Gm-Message-State: AOJu0YxumxaNXS1qK/qE9BctDcAAV5TXq1ZNZHj4rQaL46j9vGu004j1 Y+v3qCDCY7VkIT9j2Y/uR1CQ0H+g5xw/+nRVrNoVOplQ/hwS5jFqBWWQh+oAQDp7JE6nMm4zvmq NzbwclLnRt6pcJP/8C2Hh+6HSQTh4Tt8JsJpR60xtLTR0Rd3QPW15sWs5yEwNsw== X-Received: by 2002:a05:600c:1c9b:b0:414:2894:d446 with SMTP id k27-20020a05600c1c9b00b004142894d446mr7311192wms.4.1711023971578; Thu, 21 Mar 2024 05:26:11 -0700 (PDT) X-Received: by 2002:a05:600c:1c9b:b0:414:2894:d446 with SMTP id k27-20020a05600c1c9b00b004142894d446mr7311170wms.4.1711023971209; Thu, 21 Mar 2024 05:26:11 -0700 (PDT) Received: from gerbillo.redhat.com (146-241-249-130.dyn.eolo.it. [146.241.249.130]) by smtp.gmail.com with ESMTPSA id fs7-20020a05600c3f8700b00414038162e1sm5334655wmb.23.2024.03.21.05.26.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Mar 2024 05:26:10 -0700 (PDT) Message-ID: <8edda7aa8ff27cee1b3fa60421734e508d319481.camel@redhat.com> Subject: Re: [PATCH net v3] dpaa_eth: fix XDP queue index From: Paolo Abeni To: David Gouarin Cc: david.gouarin@thalesgroup.com, Madalin Bucur , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Alexei Starovoitov , Daniel Borkmann , Jesper Dangaard Brouer , John Fastabend , Camelia Groza , Maciej Fijalkowski , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, bpf@vger.kernel.org Date: Thu, 21 Mar 2024 13:26:09 +0100 In-Reply-To: <20240320112519.5311-1-dgouarin@gmail.com> References: <20240320112519.5311-1-dgouarin@gmail.com> Autocrypt: addr=pabeni@redhat.com; prefer-encrypt=mutual; keydata=mQINBGISiDUBEAC5uMdJicjm3ZlWQJG4u2EU1EhWUSx8IZLUTmEE8zmjPJFSYDcjtfGcbzLPb63BvX7FADmTOkO7gwtDgm501XnQaZgBUnCOUT8qv5MkKsFH20h1XJyqjPeGM55YFAXc+a4WD0YyO5M0+KhDeRLoildeRna1ey944VlZ6Inf67zMYw9vfE5XozBtytFIrRyGEWkQwkjaYhr1cGM8ia24QQVQid3P7SPkR78kJmrT32sGk+TdR4YnZzBvVaojX4AroZrrAQVdOLQWR+w4w1mONfJvahNdjq73tKv51nIpu4SAC1Zmnm3x4u9r22mbMDr0uWqDqwhsvkanYmn4umDKc1ZkBnDIbbumd40x9CKgG6ogVlLYeJ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kHD9WF+m7dPlRVY7soqEYXylyCOXr5516upH8vVBmqweCIxXSWqPAhQq8d3hB/Ww2A0H0PBTN1REVw8pRLNApEA7C2nX6RW0XmA53PIQvAP0EAakWsqHoKZ5WdpeOcH9iVlUQhRgemQSkhfNaP9LqR1XKujlTuUTpoyT3xwAzkmSxN1nABoutHEO/N87fpIbpbZaIdinF7b9srwUvDOKsywfs5HMiUZhLKoZzCcU/AEFjQsPTATACGsWf3JYPnWxL9 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.50.4 (3.50.4-1.fc39) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 On Wed, 2024-03-20 at 12:25 +0100, David Gouarin wrote: > Make it possible to bind a XDP socket to a queue id. > The DPAA FQ Id was passed to the XDP program in the > xdp_rxq_info->queue_index instead of the Ethernet device queue number, > which made it unusable with bpf_map_redirect. > Instead of the DPAA FQ Id, initialise the XDP rx queue with the queue num= ber. >=20 > Fixes: d57e57d0cd04 ("dpaa_eth: add XDP_TX support") >=20 > Signed-off-by: David Gouarin The patch LGTM, but you must avoid empty lines in after the 'Fixes' tag. Please have an accurate reading of the process documentation. Thanks, Paolo