From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 758E4606A31C for ; Mon, 30 Nov 2026 00:30:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=networkplumber-org.20260707.gappssmtp.com header.i=@networkplumber-org.20260707.gappssmtp.com header.a=rsa-sha256 header.s=20260707 header.b=BAcH5m/R Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2B11D40DDA; Mon, 30 Nov 2026 01:28:24 +0100 (CET) Received: from mail-pf1-f175.google.com (mail-pf1-f175.google.com [209.85.210.175]) by mails.dpdk.org (Postfix) with ESMTPS id DAE0240BA6 for ; Mon, 30 Nov 2026 01:28:18 +0100 (CET) Received: by mail-pf1-f175.google.com with SMTP id d2e1a72fcca58-8a05b210703so4554836b3a.0 for ; Sun, 29 Nov 2026 16:28:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20260707.gappssmtp.com; s=20260707; t=1795998497; x=1796603297; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=lbjzNYIAk7xNTXsXjmNY0Muyw/Rlupdoe74q5U/5AR4=; b=BAcH5m/R9Nqn4tKkv/ee0vq3VpIYHm+JTT+DNg5DKeOQkmq7Y/wvXxf80O0RDbfFNa lTGUj9oyam0lDOaoD1pgE5r8v0HOC86TCImZziJjpCFC2SnfQ2dNdz2sg0hHgS5EG7Qu Z+kLCupu6Y2cU7BXVBrcco/SvTmkyz/jup0KkRWHpcpq0ShESzSnOAwiYub0viqflR+6 ldKSLkBLAidiGodhX46zQd/RdL1j+aJnrySicH5kmlKi0/P4OFc4T7b4xLmVOAvCxPfV gIDmkhyO8L3UpCIcnL3P+rqxsZ3eDiLSs5yxSnmpE72hTeWDAMoOKUo3o8QHMOR4+uZ7 RWGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795998497; x=1796603297; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=lbjzNYIAk7xNTXsXjmNY0Muyw/Rlupdoe74q5U/5AR4=; b=KEeGlePvRlJFRXsj6IPRGw7Wh1grN7jwI5N77aUfCVydq+0MygxMIzZBuGkYFrLFrQ sp06nGZLwWzv2Bu/tDT9Df+ZrCTkkyxbFZiDXfiROkVSBODyDGuGsb73aPhWyyDsK2Ue f1j2ar6h9Glff5b9S/agSfYofofghn6DKufz7o2l/yQGhfj8WlUvexlqORNtHKWZ9Vhq aQrsLXLLFMv3x4EVb5mJKzTpEKOGQzquD2w2kP3qBo5pAngE0ebsQpZcWGKQerscRE9l IEkbGeMfB/tsCuXNLzOk0jJfOmo9u0ucSbO2jVKMxx/jP3aLmBHm4rmhSN0SXPBxpEpt nNcQ== X-Gm-Message-State: APuU4Z+eMf7NLhEa7Q50bcFamlFaE+vzqEOopw13SLXisSWWxml64c/H qY+SBB4iPWdttNECVbwnLHEcVVsMoMNJ7p4ekcINMPXbFWSdIThmG2sGesJNiJIbvoCDcyHGXrL ltNcwEZM= X-Gm-Gg: AZFdTZdtBaAWUm2BSkIHdQsQSanZ6C/H8LdSCWWjix1613IhiLEO73ERYZa8z8SLcFc rq+ZSJgNfkQIRc7GD/Sn1H2Ijo2D3kBQvawDIRselnPEGMm37Q8SLRoD48dTaWe6HPqVPCMWoQu qxyekVvGqEBT4qNx+yuDsxm70BWjODJOUpxh8605AUIlZY8burMfGKT0aSF1R2eIb1gq1HNE+fu RlaDH4T0YBw08HSggKmbUjyB158jX73EY85F+rDtKuKEnpMHQWgXCmEeh0JGyHJSR6GZnk8LCLo F4DmuqK85nYKRgXcgpJMQycIJN88yi1lJW5KGpW2i+G5LtV/PNDn3WtjFFcOeP0MpYUQFkWbAEJ i5cf7VBkiVtjXcLnD3wKeqF9LqKT8jWvUVDB1clPEh/cL1zlkCYGz5NENHIOMKWmASN9Xx/h1fm y6oXlZnp8b43b/n0UnBvGALP5n7xgm6U7I/1KOm7Mss/FCcRd4ZXgNZZOSRTByNice2c2Y6upf7 3xj6dt8N3CIAjtb+G5dJC2uSg6ZvI8e665Clptxa+aVJqYPnMPnCWaVi5dENhyHwKVTqgal8J9k oed+ov2AYvI2Giay8UxnKnQQclyKruh5eaxeJJ8s0mx0EU1G0bBdJd1B7SJkTn6niaoXaGbUVGb cZ8rwC6vr/r7GoQ== X-Received: by 2002:a17:90b:5346:b0:3b3:b61f:52a0 with SMTP id 98e67ed59e1d1-3b41c8d483emr30486167a91.22.1795998497298; Sun, 29 Nov 2026 16:28:17 -0800 (PST) Received: from phoenix.lan (204-195-112-43.wavecable.com. [204.195.112.43]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-3b44b21e19fsm19455840a91.0.2026.11.29.16.28.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Nov 2026 16:28:17 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Anatoly Burakov , Vladimir Medvedkin Subject: [PATCH 21/37] net/ixgbe: disable unreachable code check Date: Sun, 29 Nov 2026 16:27:06 -0800 Message-ID: <20261130002752.2342213-22-stephen@networkplumber.org> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20261130002752.2342213-1-stephen@networkplumber.org> References: <20261130002752.2342213-1-stephen@networkplumber.org> X-Archived-By: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Archive: List-Post: List-Help: List-Subscribe: , X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 There is unreachable code in the base/ files imported from the vendor. Disable the check for the base code only, using base_cflags, so the driver's own sources are still checked. Signed-off-by: Stephen Hemminger --- drivers/net/intel/ixgbe/meson.build | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/net/intel/ixgbe/meson.build b/drivers/net/intel/ixgbe/meson.build index 7e26700835..a3d6979b2b 100644 --- a/drivers/net/intel/ixgbe/meson.build +++ b/drivers/net/intel/ixgbe/meson.build @@ -20,6 +20,9 @@ base_sources = files( 'base/ixgbe_x550.c', ) +# base code has unreachable code +base_cflags += no_unreachable_cflag + sources += files( 'ixgbe_82599_bypass.c', 'ixgbe_bypass.c', -- 2.53.0