From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 570FD465FD for ; Tue, 22 Apr 2025 16:39:09 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 50D12402AF; Tue, 22 Apr 2025 16:39:09 +0200 (CEST) Received: from mail-oo1-f99.google.com (mail-oo1-f99.google.com [209.85.161.99]) by mails.dpdk.org (Postfix) with ESMTP id 406B740292 for ; Tue, 22 Apr 2025 16:39:08 +0200 (CEST) Received: by mail-oo1-f99.google.com with SMTP id 006d021491bc7-603be85490bso2302961eaf.2 for ; Tue, 22 Apr 2025 07:39:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iol.unh.edu; s=unh-iol; t=1745332747; x=1745937547; darn=dpdk.org; h=references:in-reply-to:cc:to:from:subject:message-id:date:from:to :cc:subject:date:message-id:reply-to; bh=C23ych1kLyMdbnL+yxfi6F3Yr4ESn9TvXm3MNR/YBQY=; b=a1LBKT7F/6BMt3X4eNaeWAb/b77jP2ruR4EiFusbZsjiXqANpwz8+jNWAhpU+sG0Cd 9/eiYaMGiPrn9N99lI2FvmAgtnepJbOaw4fF025LicsYRfkJFnrpVg5SU5YFiOegkDe3 KJtKl7lwvD0aLOuCjhG3fzm2I7qyyTFjUM5Eg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1745332747; x=1745937547; h=references:in-reply-to:cc:to:from:subject:message-id:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=C23ych1kLyMdbnL+yxfi6F3Yr4ESn9TvXm3MNR/YBQY=; b=mxps4b+ywYpTIIha38Cqv1ONncMDyMZ8i+uzDJGGOdXOS6SC7tQ+n72ux3Q3qHAK0p rZM/exOWaAh4wMAtNjcfXIMrTbXBvLTt5TT7UXx2/GHOHz7jg90qi7Xk0M6IWEn5kngh wZNp16BwcSzQaS9IzsUFVzs3YMqXVGlYRCAK1wAVmVHQsWUJdvZ22waLdUnxUY3MdfPA m4jqS4TzgKtlTwGH7u5CUPAeBd1t+AyzY01iylreLz0ZmdHZE64aMDFK90xERx+A4rx+ /gNMzn8gkw2G2U254NmMI8hJk2HnGyZAd4zH9CghhswirbFd4YjvnJSLkm8BpoZIMoXA KiPg== X-Gm-Message-State: AOJu0YzqtLt/Y6EIW68gBlI0TWuKmWKIz4cLKhKb+BOsV0jUBmkOC2E5 1RU+Gn6wfR7CG8482hz+4jsj1NP+4YZhUXYwAoqcNgoM/wWpEWzaSk0zCDVv9b+VGzaKfvLZW0I 63gUXt9ue1b/hMVnRwLj/8MB5nPfLHSkiSur8uRP+P9F//q+nkiO0Vtmq X-Gm-Gg: ASbGnctM1d9bNBCllZQLTRX8vgZW8lNVz5+B/NhhP1tlvaLvDXRlrHRKbCqoDFgnzcz tWAh8tgZhI48XXNac3n0zceDR31mjt+mWG+L1ZXsye9s49fTlBBwrlapm9RUdxUVn0J5/uDaJzj ZYUistJICFJ/NLjwbPH2mpcsnnU3lmke8xcBmQ3TJnMFqA2K64PdawDP1z0LLZ/R4hvQ0rQCJ58 g2+sWxdudAKPtCmrmGoTecEiZRjt8lIn01OesGjTaFxDpoTRDuKTxD1txaRaePblVDCmlUv1Ctg rryvX3DuqRdBHdhU7HygwtG2BK+J1hXtijkjna0h1+mXgMiW X-Google-Smtp-Source: AGHT+IHNnK5qR/duyndASuA+7p+UUxu2NV7BnHv5AbrxgwfcEZ/A5okQO883OH4yeFuy1TdGI0DnStwjP7dB X-Received: by 2002:a4a:ee19:0:b0:600:29ec:7619 with SMTP id 006d021491bc7-606004e67acmr8638481eaf.2.1745332747461; Tue, 22 Apr 2025 07:39:07 -0700 (PDT) Received: from postal.iol.unh.edu (postal.iol.unh.edu. [2606:4100:3880:1234::84]) by smtp-relay.gmail.com with ESMTPS id 006d021491bc7-605ff5c2c0fsm75107eaf.3.2025.04.22.07.39.07 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 22 Apr 2025 07:39:07 -0700 (PDT) X-Relaying-Domain: iol.unh.edu Date: Tue, 22 Apr 2025 07:39:07 -0700 (PDT) Message-ID: <6807aa0b.050a0220.385ece.4227SMTPIN_ADDED_MISSING@mx.google.com> Received: from [172.17.0.6] (unknown [172.18.0.217]) by postal.iol.unh.edu (Postfix) with ESMTP id D98846052471; Tue, 22 Apr 2025 10:39:06 -0400 (EDT) Subject: |WARNING| pw153071 [PATCH] net/mlx5: fix out-of-bounds write in Rx s From: dpdklab@iol.unh.edu To: Test Report Cc: dpdk-test-reports@iol.unh.edu In-Reply-To: <20250422063754.3429965-1-patrykochal@gmail.com> References: <20250422063754.3429965-1-patrykochal@gmail.com> Content-Type: text/plain X-BeenThere: test-report@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: automatic DPDK test reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: test-report-bounces@dpdk.org Test-Label: iol-unit-amd64-testing Test-Status: WARNING http://dpdk.org/patch/153071 _Testing issues_ Submitter: patryk ochal Date: Tuesday, April 22 2025 06:37:54 DPDK git baseline: Repo:dpdk Branch: master CommitID:edd3f4b1265e6da707c46ca9b6c39d332647baea 153071 --> testing issues Upstream job id: Generic-Unit-Test-DPDK#332713 Test environment and result as below: +-------------------+----------------+ | Environment | dpdk_unit_test | +===================+================+ | Debian 12 | WARN | +-------------------+----------------+ | CentOS Stream 10 | WARN | +-------------------+----------------+ | CentOS Stream 9 | WARN | +-------------------+----------------+ | Fedora 40 (Clang) | PASS | +-------------------+----------------+ | Fedora 40 | WARN | +-------------------+----------------+ | RHEL8 | WARN | +-------------------+----------------+ | RHEL9 | WARN | +-------------------+----------------+ | Ubuntu 20.04 | WARN | +-------------------+----------------+ | Fedora 41 (Clang) | PASS | +-------------------+----------------+ | Fedora 41 | WARN | +-------------------+----------------+ | Ubuntu 22.04 | WARN | +-------------------+----------------+ | Ubuntu 24.04 | WARN | +-------------------+----------------+ ==== 20 line log output for Ubuntu 24.04 (dpdk_unit_test): ==== In file included from ../lib/mbuf/rte_mbuf.h:36, from ../drivers/net/mlx5/mlx5_rxtx_vec.c:10: ../drivers/net/mlx5/mlx5_rxtx_vec.c: In function 'rxq_burst_v': ../lib/eal/include/rte_common.h:765:20: error: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Werror=sign-compare] 765 | _a < _b ? _a : _b; \ | ^ ../drivers/net/mlx5/mlx5_rxtx_vec.c:324:18: note: in expansion of macro 'RTE_MIN' 324 | pkts_n = RTE_MIN(pkts_n - rcvd_pkt, rxq->rq_ci - rxq->rq_pi); | ^~~~~~~ ../lib/eal/include/rte_common.h:765:27: error: operand of '?:' changes signedness from 'int' to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Werror=sign-compare] 765 | _a < _b ? _a : _b; \ | ^~ ../drivers/net/mlx5/mlx5_rxtx_vec.c:324:18: note: in expansion of macro 'RTE_MIN' 324 | pkts_n = RTE_MIN(pkts_n - rcvd_pkt, rxq->rq_ci - rxq->rq_pi); | ^~~~~~~ cc1: all warnings being treated as errors [1832/3191] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_linux_mlx5_ethdev_os.c.o [1833/3191] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_linux_mlx5_os.c.o [1834/3191] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_flow_hw.c.o ninja: build stopped: subcommand failed. ==== End log output ==== Debian 12 Kernel: Depends on container host Compiler: gcc (Debian 12.2.0-14) 12.2.0 CentOS Stream 10 Kernel: Depends on container host Compiler: gcc 14.2.1 20241104 (Red Hat 14.2.1-6) CentOS Stream 9 Kernel: Depends on container host Compiler: gcc 11.5.0 20240719 (Red Hat 11.5.0-2) Fedora 40 (Clang) Kernel: Depends on container host Compiler: clang 18.1.8 (Fedora 18.1.8-1.fc40) Fedora 40 Kernel: Depends on container host Compiler: gcc 14.2.1 20240912 (Red Hat 14.2.1-3) RHEL8 Kernel: Depends on container host Compiler: gcc 8.5.0 20210514 (Red Hat 8.5.0-22) RHEL9 Kernel: Depends on container host Compiler: gcc 11.5.0 20240719 (Red Hat 11.5.0-2) Ubuntu 20.04 Kernel: Depends on container host Compiler: gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0 Fedora 41 (Clang) Kernel: Depends on container host Compiler: clang 19.1.5 (Fedora 19.1.5-1.fc41) Fedora 41 Kernel: Depends on container host Compiler: gcc 14.2.1 20240912 (Red Hat 14.2.1-3) Ubuntu 22.04 Kernel: Depends on container host Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0 Ubuntu 24.04 Kernel: Depends on container host Compiler: gcc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 To view detailed results, visit: https://lab.dpdk.org/results/dashboard/patchsets/33048/ UNH-IOL DPDK Community Lab To manage your email subscriptions, visit: https://lab.dpdk.org/results/dashboard/preferences/subscriptions/