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 5F842465FD for ; Tue, 22 Apr 2025 16:38:08 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 31DD9402AF; Tue, 22 Apr 2025 16:38:08 +0200 (CEST) Received: from mail-il1-f225.google.com (mail-il1-f225.google.com [209.85.166.225]) by mails.dpdk.org (Postfix) with ESMTP id F1B7640292 for ; Tue, 22 Apr 2025 16:38:06 +0200 (CEST) Received: by mail-il1-f225.google.com with SMTP id e9e14a558f8ab-3d91b55bd39so6915355ab.0 for ; Tue, 22 Apr 2025 07:38:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iol.unh.edu; s=unh-iol; t=1745332686; x=1745937486; 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=kPGxCvQGUjZUOLBvFmGDDnSXYHKZWiBodiV0uZqrs+I=; b=hFh88N7FKgwFWUhwBxgoHlJydMKczg7ANx7QaUop2llpLfmgBlABEJsduyE2+Yjc0v FFjT4YBU6bqVZTXkYQeA9s1xEKO9DeXZ5pH+mXMtd5Fphlp67Us9vU6U6Q4hjBnlQ8kL LNB3LN41c0yJWqWOxhquslIG/4pvmpHfxI3kk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1745332686; x=1745937486; 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=kPGxCvQGUjZUOLBvFmGDDnSXYHKZWiBodiV0uZqrs+I=; b=TDh3YoHb9qi2dNiVaESwesnc6XRlvNaJvz2zg9Rbp8gkjN4aO+klSfxnGkBl8Pv6ZT v4mZ+NCBE00bLoB8Gd+Ybpo1lKejM6sMs361Kk6LNy6D0JlwKdWgXlpySC2w6cwibEC1 63fLdk9TzZsqF2Wc0DBH5OeHlJZrFOO6N3kXgBKXZw3EqLOhruH1oB0Bff5vc/0y6/mT qdy5kYsrI+x5ROxML3FIRyyTpDPLWoW+F/hPRijXsesfu9uvcXzoqOnpiWqD2DcRzuzw qXahgpcJAxwZEvY6FtMR1WrDahsfutxul86biV6gfnzUWsDOjYw/AqeLbIf0AfgQAGUr BK8w== X-Gm-Message-State: AOJu0YwJhjm1TvHKPge4bogesdTJ2jwaCH+P+xCiWRu3d5VwxUNBL/dR 5MPg0r7uqT5XR/RmUCQe0lXVeOXG7gLROXanJvauf+vpHffjNaXfNdDyV3J87Ot6eMVNeWNOkxN O6vZCnEdpziMIht9UgMw+FhNBx/Y2NxeZVPCz1uay X-Gm-Gg: ASbGncvybsuX2bI3/zIZaiDBuV7Mh6R9cpe3mU78wiuDhGBHjDLex4qBwafBFu7I4Ta +Vykg+uaNaj2aqaJWqfNxdPbp6I0KKetijx+G1MjZmJ0JdmlMpVfg5qef5WHjLF4pIDydOdA2F4 7XPj1QaEajlHtJzSRwNFmf5QyRytbIs2dp9lnYEGcgalrpdiKkUkUa+P8Iqt2IlEdY10BtRo7sR 1t1sMbpQMT+1A28L6JAQOYf709toi2CVXYZOw7UpaPjBEYpaHo5MXswD0PvE7+x51dcKDiSxdII 9FUsL1lhE8O94aIbRPU8jdN15YNTmm2MYCyY X-Google-Smtp-Source: AGHT+IFDxNVRqIhymDCN/2n0UGs373AhF3lqy7lTe/VyyV0DACxNcQOWDJ0Y0NpGvoHJbOp/plV944xy3cNO X-Received: by 2002:a05:6e02:17cf:b0:3cf:b87b:8fd4 with SMTP id e9e14a558f8ab-3d88fccc195mr136241605ab.15.1745332686134; Tue, 22 Apr 2025 07:38:06 -0700 (PDT) Received: from postal.iol.unh.edu (postal.iol.unh.edu. [132.177.123.84]) by smtp-relay.gmail.com with ESMTPS id 8926c6da1cb9f-4f6a37d0b10sm375932173.13.2025.04.22.07.38.06 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 22 Apr 2025 07:38:06 -0700 (PDT) X-Relaying-Domain: iol.unh.edu Date: Tue, 22 Apr 2025 07:38:06 -0700 (PDT) Message-ID: <6807a9ce.050a0220.2491a7.51c1SMTPIN_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 B24BC6052471; Tue, 22 Apr 2025 10:38:05 -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#332704 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/