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 EF106465FD for ; Tue, 22 Apr 2025 17:30:35 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C6CCC40156; Tue, 22 Apr 2025 17:30:35 +0200 (CEST) Received: from mail-oa1-f100.google.com (mail-oa1-f100.google.com [209.85.160.100]) by mails.dpdk.org (Postfix) with ESMTP id 248D740151 for ; Tue, 22 Apr 2025 17:30:34 +0200 (CEST) Received: by mail-oa1-f100.google.com with SMTP id 586e51a60fabf-2d4e7797d59so2406578fac.0 for ; Tue, 22 Apr 2025 08:30:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iol.unh.edu; s=unh-iol; t=1745335833; x=1745940633; 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=ezQ/PryaxdkX8X6heUFGPjV5rVskeqJRxyWJ718Lx+E=; b=OiHsWfQQOcMNSZ166gf/3Co/YygNggmAjEILXn/soZSy+mCSc0Tzmyj6pEQyU+D7B8 rpmGR043Pkx3ac+CUWrcXd7+1sl+ro3mO0a68fCh3xZO2UzjSeAnkQicTxhblGrx6l2s Gx6hygiK69A0gVfIwqMT8244r4AtoWNZysL+A= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1745335833; x=1745940633; 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=ezQ/PryaxdkX8X6heUFGPjV5rVskeqJRxyWJ718Lx+E=; b=TVSa2Z+G9fMfFUCIGBCZ+6K5K1tq6r+HZLLdPrDVY1WJ28xSzFbADLbToGxlRHoaQp J3osbJD3qyQ8JJ81g3zZRqDyyphIRMBfc6r7+J9ePxGa83UvMgbhbHV5I6aIFRLFWPR0 i/8Git5PipfubNYkuAPhQqGlIGbWvjnKM3PQ74qCRimx6y/ikl/Sqfhcybtm/0lFR3et sCSGEuYrf2XV5JCUYgAujvvS+x2RmUFJ+8mYk7PEq9DvInmRltq9GbTX2mz1oPUwY2RC mBrvRWm6Ssya4zqZzOeb+hbi69mMEC4iRXm+jWyPu+FdyZFd9HTsy+UxYaX+cxzvHOhC kFMQ== X-Gm-Message-State: AOJu0Yz7V1eJJcAe7jYn5e4raDqzoIJFGTq71Od8ztvrk0Vtp3xzY/Eg SjT8bGsdZiciZ0mSue+l/d6Ns20jqnd2mrjuGIls/jMGorqrCo02+P6+ChplcUu3D90LY6IRYHf iET5yyk4xmwKKVOJgQ85phVM2lwcukz7vCmQ7ZKyM X-Gm-Gg: ASbGnctr4m2WlH8huh3u0daZ9w8TXlLqPSSPWGfNnRRHCwMGHiHLMETIco3sROynNy9 Bk1bDHnO8sWRBCxK9aKWnYA7u1RPi4pB2800HF1umNQLQQLE3RODh+X6gT6IVGn47BxCkz6DC/E 69s/JVy1ZARu75p0TAst8E3ClAYDY2H5jE293TCemx8uh9v7FvV/QqbAKmoTa4V8kWoR4ivnUUx RnzOTFzyF/gLWe9ykien2fxNg8HvcbMzOyik8Jm4mRixDpF7rfF1A6HZkPLKXR54nv/7xnv/X80 tLHVtNgTUjdSFR/N/8hH3py5I+CmJKyzg0uD X-Google-Smtp-Source: AGHT+IEgAc5DRVru3etakv3ThiHI/NtaXCWC7zrIlwQRjpBbhJJSbGJen0zGQiWQLnQQEqVTSJ0qtFTXVZYl X-Received: by 2002:a05:6870:c993:b0:2c1:7289:d62a with SMTP id 586e51a60fabf-2d526ea8e8cmr10713981fac.36.1745335833321; Tue, 22 Apr 2025 08:30:33 -0700 (PDT) Received: from postal.iol.unh.edu (postal.iol.unh.edu. [132.177.123.84]) by smtp-relay.gmail.com with ESMTPS id 586e51a60fabf-2d5217d0e32sm338783fac.34.2025.04.22.08.30.33 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 22 Apr 2025 08:30:33 -0700 (PDT) X-Relaying-Domain: iol.unh.edu Date: Tue, 22 Apr 2025 08:30:33 -0700 (PDT) Message-ID: <6807b619.050a0220.179f8a.22f8SMTPIN_ADDED_MISSING@mx.google.com> Received: from [172.17.0.3] (unknown [172.18.0.217]) by postal.iol.unh.edu (Postfix) with ESMTP id B9C996052471; Tue, 22 Apr 2025 11:30:32 -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-VM-Unit-Test-DPDK#28113 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 | +---------------------+----------------+ | Windows Server 2022 | PASS | +---------------------+----------------+ ==== 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 Windows Server 2022 Kernel: 10.0.20348.2031 Compiler: clang 15.0.7, gcc 14.1.0 (MinGW), and MSVC VS 19.39.33521 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/