From patchwork Wed Sep 25 18:00:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joe Damato X-Patchwork-Id: 13812381 Received: from mail-pg1-f179.google.com (mail-pg1-f179.google.com [209.85.215.179]) (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 8ACAA15AC4 for ; Wed, 25 Sep 2024 18:00:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.179 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727287226; cv=none; b=czfR27wPgiTPYyRDMYoPyT7Jo5mDNxPBsukAJr9kydmkErEGvaQSyjDsyRnpd8zLURSOPsux6KopSiNIGqZQ49VGZ7aZL1vU5/330fArN7KvEt1TShjU4n4GLTc/bVRemokcpxojYo97GikSm6exY3FimBT0EKMcNxzEmlPP56s= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727287226; c=relaxed/simple; bh=ml7Lf8R+3X+VkfxghOUGl4HkedqDwORC7CzGX9bOHwM=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=dbKHkGJZRsEIGmidt3swIMCbc/vUIWoe3zL3qyAfpkAtXsu0MRBg+ooSiK7I/lX/FG3qZXP1XncplArcpdIqFfCI2UoBj360aZRsV2nD72ZNj4yoAxv27xa3oL2vxnNiYhfxZp2mHL0N/yAJRlRIF+k2K45/tahlFLI2y3YeEAM= 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=OG4ptymS; arc=none smtp.client-ip=209.85.215.179 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="OG4ptymS" Received: by mail-pg1-f179.google.com with SMTP id 41be03b00d2f7-7db4c1a54easo62432a12.1 for ; Wed, 25 Sep 2024 11:00:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastly.com; s=google; t=1727287223; x=1727892023; 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=80NsANXDl6afdpJyUxRTROzlpMEuv9TyTDUFDqoq4HI=; b=OG4ptymSYvriSg796+FKu67afq1ipv9Z7zKmEoz0oF0qnMMM7PQIn/ZwEcJ24nbSq8 ggnxn7ilVGFLfgHBnXoR9HqvylYLbj/IdYVzS2cZcEMKKxCiZsbSVxcMsCDIQKpanrhx /hhiiMlijMaf1uJCAgSRBT1EZLgDeC073SbR0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727287223; x=1727892023; 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=80NsANXDl6afdpJyUxRTROzlpMEuv9TyTDUFDqoq4HI=; b=d43zSExJ+0Cgkxp0Z7stpaOSecrxn3V6AMEPI8uzuyC9eQ8CNA/u/KIlJWxfAFJSnD UQt9JgZV0bMc6gz2hWdxSWRufLJ/ZtG+tQ+FYDC4yuRjvzI60vq5W6qnjAqUhR8TNa2j n19QECAi1IUfFeWg1+9Il5DSmNZmnxbkG6zl6q3ErlIB/aM98YeWLPMwY+TaWm8YfsDT ad8V5XP9GWV/npZ3EL3oycOruncMnk/NVgsir7aXqexHNYCuzLUFuKjdNiHTimdxKI4H EXkskqmcUDe4vpFIW4ZKgu2DsNmAF2eKIxuambJXrsz9FMlqouR2rZCRMyLefRo1ovPG 47Qw== X-Gm-Message-State: AOJu0YwWC7OesusFGJOofdMict2vuV8CS5lJCCVvddfmCs3OZQ9BlvbJ clO09ct0JhTdht2BjqDJnEwlgMTFsW3N8N7LDW5a10iVIKKRe5gdrmDVJ5ZmBINpgKuTfQAdlJL vqbeznDVA/543xD/GsygS4TG4U86LUCVfjwa4pUDvQFei24GsfEBw3gavG7KAJ/zvcKdyGJi9Es 5Kvb/y+Vr97VUc2WKXqRWcHMNVFiwRvIOJYWk= X-Google-Smtp-Source: AGHT+IHuEEr9A4jmt4t0IDsNG4JI3VKgSWVYhK1yjS6ZBQdIfGIEb27Yn7hFv1mpig5rQWcSs3VyZQ== X-Received: by 2002:a05:6a20:cfa3:b0:1d2:e888:3982 with SMTP id adf61e73a8af0-1d4d4aaf7fdmr4336724637.19.1727287223334; Wed, 25 Sep 2024 11:00:23 -0700 (PDT) Received: from localhost.localdomain ([2620:11a:c019:0:65e:3115:2f58:c5fd]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7e6b7c73092sm2980539a12.64.2024.09.25.11.00.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Sep 2024 11:00:22 -0700 (PDT) From: Joe Damato To: netdev@vger.kernel.org Cc: Joe Damato , Alexander Lobakin , "David S. Miller" , Eric Dumazet , intel-wired-lan@lists.osuosl.org (moderated list:INTEL ETHERNET DRIVERS), Jakub Kicinski , linux-kernel@vger.kernel.org (open list), Paolo Abeni , Przemek Kitszel , Tony Nguyen Subject: [RFC net-next 0/1] idpf: Don't hardcode napi_struct size Date: Wed, 25 Sep 2024 18:00:16 +0000 Message-Id: <20240925180017.82891-1-jdamato@fastly.com> X-Mailer: git-send-email 2.25.1 Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Patchwork-Delegate: kuba@kernel.org X-Patchwork-State: RFC Greetings: While working on an RFC which adds fields to napi_struct [1], I got a warning from the kernel test robot about tripping an assertion in idpf which seems to hardcode the size of napi_struct. The assertion was triggered after applying patch 3 from the RFC [2]. I'm submitting this as an RFC so the Intel folks have time to take a look and request changes, but I plan to submit this next week when net-next reopens. I did not want to the include this change in my RFC v4 because I wanted to keep the review of that RFC focused on the in core work instead, so I was hoping Intel would be OK to merge this (or a change which accomplishes the same thing). Please note: I do not have this hardware and thus have only compile tested this. Thanks, Joe [1]: https://lore.kernel.org/netdev/20240912100738.16567-1-jdamato@fastly.com/ [2]: https://lore.kernel.org/netdev/20240912100738.16567-6-jdamato@fastly.com/ Joe Damato (1): idpf: Don't hard code napi_struct size drivers/net/ethernet/intel/idpf/idpf_txrx.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-)