From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f178.google.com (mail-pl1-f178.google.com [209.85.214.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 587EC17C68 for ; Thu, 2 Jan 2025 03:53:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.178 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735789992; cv=none; b=nIJZ9iE9cvgtrseKUOU/PglXrX9XgL3rAx9cXY9JNoQwgkOrv2dYvVqtdafz3DQbHuY8fkbMPtpnY8WAtQOqOJN2op6V8Yet4gPLji9yntV7SqrcPe5PJ+6Cr+hbSFlCbFkBv29iKrU5M15+rL2He31hLT8NgfvGiETb//T+Zgw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735789992; c=relaxed/simple; bh=8YxMF41QwQHaeRiSrYMmTlA8z17KjPhUjO+gksK+dlU=; h=Message-ID:Date:MIME-Version:To:Cc:From:Subject:Content-Type; b=pbPixmOjjbzGsowpE99cdVTKOndLXbzSmhJX4fJ+Q2fCDit7wcCpXV1qj7Z/GlcvcCIu649zGAdlLLp9fd/cY8O6NtLxqAazzlkmvfA4hG5Mu5ZJ7MQN6oTXMW1bX6LwS1iDeVmI5WAxHT9aIRh7Jknn2sD+rZQuSsyFlwT982w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=shopee.com; spf=pass smtp.mailfrom=shopee.com; dkim=pass (2048-bit key) header.d=shopee.com header.i=@shopee.com header.b=OBxBxkdA; arc=none smtp.client-ip=209.85.214.178 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=shopee.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=shopee.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=shopee.com header.i=@shopee.com header.b="OBxBxkdA" Received: by mail-pl1-f178.google.com with SMTP id d9443c01a7336-219f8263ae0so106688435ad.0 for ; Wed, 01 Jan 2025 19:53:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=shopee.com; s=shopee.com; t=1735789991; x=1736394791; darn=vger.kernel.org; h=content-transfer-encoding:subject:from:cc:to:user-agent :mime-version:date:message-id:from:to:cc:subject:date:message-id :reply-to; bh=IvaCHiysk/cukfyPyKRBsGPePbIYTzKM+yFnyaXVpHA=; b=OBxBxkdAyVXkm54oXsIZmG3ojKSOIT4CzKLY/kIQz7sdkCQbyPs20Wv5keqPnthCYb yNL6DRj4g2n232GWsPfL6Y1t6c0jDM9xxaLOu3RGzrsoc3ppBTkIDcRxwiOIejjhuP7H fzZrL38oqwxkRC6QSkJeyC/QoAMh43rfL/tfQsQg3Bai2ijAs1eOuLWA5C4s+JprO23B Ep+03JZ+ZQMFsB1PCqXuhaoPchPxZab815u+ABbwp83HUDRas6R7eSgtgcR89Bl8z6qh jkjFQNlfG+9L60rB8WD0icWaTwZAP/VArJ0onoYhRd2pAQ0tugZ8MHqkHOjp+dvZ5HUN ub6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735789991; x=1736394791; h=content-transfer-encoding:subject:from:cc:to:user-agent :mime-version:date:message-id:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=IvaCHiysk/cukfyPyKRBsGPePbIYTzKM+yFnyaXVpHA=; b=f6FDSDlNnNKSoLeZRCRInByeEo1+uWKwLerHYXO2poo1KVQGQeXzuIExiWYRDxN+qV A02P0sm++QgNK5KDS6Cv5dumonrxCAETu/RpF62HEC9d/Qb5mQPQz1RJxkBigA6fj31J EIlpaU1Sv7rUrvJmlQnbb515LUBZL+hDQe9vYN9lYJwD5/Lc+sNBGANEcDIz6Y4lIBOw gwOFfoGmkGqp9THr7CuYjqV0zNgq2JUIKvC7VP7hkPif3getOzMFSUjjq45xqBGpl/us h8qgHKgzPIxk6ya1kDebHWPc1KeMMhbMM3JaV5ak/r2EJIBfceT+HKAVsXZrVCtoDEAj izcg== X-Gm-Message-State: AOJu0YxwpCtR1G/EDhi+puOrWZuEVuMHKRnokLt8Yr4aeijtgIZiz3z7 cWvk0vwMilSKVhxyctsz0o3UOX8kTAM8E86N7qi6B/ihEjk42x6EOO3vQit1b/c= X-Gm-Gg: ASbGncsL+u9/iKTRWWY7H/O+RwVFa8d5SiLHvHvM5gElV78QEcARHTMfZDtrFyJq+jn q3N+mgrxOBTNNGsxmbwwkiJw7P3CZJYYE7WpXnCAaztS5ptH+wM6JYHo/OYwZBMHY/h0xIzv4YD lr9bI36WV4KGWxRS9B2rKKclN34dnRq+PssvDa/FR36DgBe6DKatAY/q8Ys2Y8Ux2kUGrezDhUd b26DkuLSZtsyes9Hv6kCumf/4cwkXpNJAlZQ4wHEhUaetr2RXDawFjxsuzO27FP23FA3bdh/cYm bA0OQTao24oXjFO6xKqlNbyPOk0sB9dnjD4/BMEr X-Google-Smtp-Source: AGHT+IFrrh50rCp6cHG8qhSvTaRfta3Aascv2hZcykC2O0A/TWJBEw1M2DipNVGd8VFMavzOXczOXw== X-Received: by 2002:a05:6a20:7f99:b0:1e0:cfc0:df34 with SMTP id adf61e73a8af0-1e5e0470226mr65407285637.16.1735789990624; Wed, 01 Jan 2025 19:53:10 -0800 (PST) Received: from [10.54.24.59] (static-ip-148-99-134-202.rev.dyxnet.com. [202.134.99.148]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-72aad8dbbf6sm23254920b3a.111.2025.01.01.19.53.07 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 01 Jan 2025 19:53:10 -0800 (PST) Message-ID: Date: Thu, 2 Jan 2025 11:53:05 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: Tony Nguyen , ", Przemek Kitszel" , ", \"David S. Miller\"" , ", Eric Dumazet" , ", Jakub Kicinski" , ", Paolo Abeni" Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org, intel-wired-lan@lists.osuosl.org From: Haifeng Xu Subject: =?UTF-8?Q?=5BQuestion=5D_ixgbe=EF=BC=9AMechanism_of_RSS?= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hi masters, We use the Intel Corporation 82599ES NIC in our production environment. And it has 63 rx queues, every rx queue interrupt is processed by a single cpu. The RSS configuration can be seen as follow: RX flow hash indirection table for eno5 with 63 RX ring(s): 0: 0 1 2 3 4 5 6 7 8: 8 9 10 11 12 13 14 15 16: 0 1 2 3 4 5 6 7 24: 8 9 10 11 12 13 14 15 32: 0 1 2 3 4 5 6 7 40: 8 9 10 11 12 13 14 15 48: 0 1 2 3 4 5 6 7 56: 8 9 10 11 12 13 14 15 64: 0 1 2 3 4 5 6 7 72: 8 9 10 11 12 13 14 15 80: 0 1 2 3 4 5 6 7 88: 8 9 10 11 12 13 14 15 96: 0 1 2 3 4 5 6 7 104: 8 9 10 11 12 13 14 15 112: 0 1 2 3 4 5 6 7 120: 8 9 10 11 12 13 14 15 The maximum number of RSS queues is 16. So I have some questions about this. Will other cpus except 0~15 receive the rx interrupts? In our production environment, cpu 16~62 also receive the rx interrupts. Was our RSS misconfigured?