From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f176.google.com (mail-pl1-f176.google.com [209.85.214.176]) (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 B8F05134D1 for ; Wed, 25 Sep 2024 16:30:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.176 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727281858; cv=none; b=TevG6QE62MrW5KRadB50zxZS1dZDAuVAYmxDP6EAXANeU7peTIckiKFmLVmAYl/U43JZgbKEp8OWYRltTm9q4C+LBKDr8MNBZqmx9VLJvO2wiJOI9gqDRvq3eteDhNVND6Krz1KKnOSxDeOK2FkAD89A3xyGM7nMZi9BDRPUZFk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727281858; c=relaxed/simple; bh=EAbxcK+s42kHz3mBMZKweFlRJzPZRhdYDnssi80OOXY=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=GdTzcFntAwC1pv2hFxHJbKsVHIwRPXele/7elyIk0pj6qKNIX2kKx3w9mWVBB9XEECWDNuTHUK9B/1gYRCFsJysndNYyFR7XPJGErl4HgJObpoj2Ok/PWrUmdgX2eKPvxkGQ/oh14DXTRrz1g7m5Cnw9f5SW52ePo7ES24UPSqk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=fastly.com; spf=pass smtp.mailfrom=fastly.com; dkim=pass (1024-bit key) header.d=fastly.com header.i=@fastly.com header.b=tQXHdRP5; arc=none smtp.client-ip=209.85.214.176 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=fastly.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fastly.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=fastly.com header.i=@fastly.com header.b="tQXHdRP5" Received: by mail-pl1-f176.google.com with SMTP id d9443c01a7336-2068acc8b98so68466155ad.3 for ; Wed, 25 Sep 2024 09:30:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastly.com; s=google; t=1727281856; x=1727886656; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=kK7pukRuGPZ/J5N4BTKEwTPZ9aTZGIEZLBkRRr7miMU=; b=tQXHdRP5L567bozBknKxpG6CsTpMEFqecB7il2l6CBSV/TsNOriYnXZMgiwjFQ2zpl X41RUCpDtxdMLPTDXffMxIN/EXY4uz9MCbLz8EfiyDkrAdHmbMwtxQg6+p3c3780jrW0 DUK3GwWX5tfknV0qKCaG9N0RJwU88E+n2kDJ0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727281856; x=1727886656; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=kK7pukRuGPZ/J5N4BTKEwTPZ9aTZGIEZLBkRRr7miMU=; b=vPRIS4G3DCv75Lu+7zBnyxv07EE+hrfyVhO3USxRZE3N/VP70JJDrqQ3HR5awI7d9C 0dkdkAYCK04fNtQDAffSHck1QoBYADrfVljVCU83hXkZjZtjjH2Jp1+U7L2qNwNtkAJ2 7EHV+LcJtQCkguu3+8URROP1PQtUjmILjYVRLjCTVpgr4uYtEQorSWFNwvkFneLeGXg/ iGJl7TgV3OVT3OSMP9SK2dZXwGTn26JudxmMt+jlrgd4VVMniQ6eNcleX6ngTfvAGOI7 UgWvQ7csxZwsSd20hG103WBXA2ioePRkF9UGHQHAed5J7iItsKaYUtit2hKPlWcX6S2+ yOVQ== X-Forwarded-Encrypted: i=1; AJvYcCXQEWE5Jm5zZ13Dg9em+CLTenI1RZM/ckShJpjir/HR8BW1RjWrIcCjztRYZeiskBQ+ybChcE9HsCgzO3w=@vger.kernel.org X-Gm-Message-State: AOJu0Yx7B78GMJMVGYARq4dcIrlVcTTtnApM7jS44/bwSI3a9H91PyZY jbG2TI3J2WZvuFJKHf9rYMevsKab9F/zmhqSdJKwUskGELTBpaplrfJfAF/3kl0= X-Google-Smtp-Source: AGHT+IEHp2ua/y2JhHEUQmnJDaScDzANw0skOHs+EK5VHrFMUdYBMLnr1D2U0v2jjV1OmAT8NFCtbg== X-Received: by 2002:a17:902:e5d1:b0:205:755c:dde6 with SMTP id d9443c01a7336-20afc4b4847mr44173255ad.30.1727281855985; Wed, 25 Sep 2024 09:30:55 -0700 (PDT) Received: from localhost.localdomain (c-24-6-151-244.hsd1.ca.comcast.net. [24.6.151.244]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-20af16e0702sm26345585ad.28.2024.09.25.09.30.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Sep 2024 09:30:55 -0700 (PDT) From: Joe Damato To: netdev@vger.kernel.org Cc: Joe Damato , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Przemek Kitszel , Tony Nguyen , intel-wired-lan@lists.osuosl.org (moderated list:INTEL ETHERNET DRIVERS), linux-kernel@vger.kernel.org (open list) Subject: [RFC v2 net-next 0/2] e1000/e1000e: Link IRQs, NAPIs, and queues Date: Wed, 25 Sep 2024 16:29:35 +0000 Message-Id: <20240925162937.2218-1-jdamato@fastly.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Greetings: This RFC v2 follows from an RFC submission I sent [1] for e1000e. The original RFC added netdev-genl support for e1000e, but this new RFC includes a patch to add support for e1000, as well. Supporting this API in these drivers is very useful as commonly used virtualization software, like VMWare Fusion and VirtualBox, expose e1000e and e1000 NICs to VMs. Developers who work on user apps in VMs may find themselves in need of access to this API to build, test, or run CI on their apps. This is especially true for apps which use epoll based busy poll and rely on userland mapping NAPI IDs to queues. I plan to send this series as an official patch series next week when net-next reopens, but wanted to give the Intel folks a head's up incase they had any comments or feedback I could address before then. I've tested both patches; please see the commit messages for more details. Thanks, Joe [1]: https://lore.kernel.org/lkml/20240918135726.1330-1-jdamato@fastly.com/ rfcv2: - Added patch 2 which includes netdev-genl support for e1000 Joe Damato (2): e1000e: link NAPI instances to queues and IRQs e1000: Link IRQs and queues to NAPIs drivers/net/ethernet/intel/e1000/e1000_main.c | 5 +++++ drivers/net/ethernet/intel/e1000e/netdev.c | 11 +++++++++++ 2 files changed, 16 insertions(+) -- 2.34.1