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 ED225A034C for ; Sun, 14 Aug 2022 15:21:05 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E924A41155; Sun, 14 Aug 2022 15:21:05 +0200 (CEST) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id B3C2740698 for ; Sun, 14 Aug 2022 15:21:04 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 65534) id AC683120775; Sun, 14 Aug 2022 15:21:04 +0200 (CEST) Subject: |WARNING| pw114947 [RFC 1/2] vhost: add ingress API for port mirroring datapath In-Reply-To: <20220814124920.14338-2-cheng1.jiang@intel.com> References: <20220814124920.14338-2-cheng1.jiang@intel.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Cheng Jiang Message-Id: <20220814132104.AC683120775@dpdk.org> Date: Sun, 14 Aug 2022 15:21:04 +0200 (CEST) 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: checkpatch Test-Status: WARNING http://dpdk.org/patch/114947 _coding style issues_ WARNING:LONG_LINE: line length of 104 exceeds 100 columns #174: FILE: lib/vhost/virtio_net.c:1609: + n_xfer = vq->async_ops.transfer_data(dev->vid, queue_id, tdes, 0, pkt_burst_idx, false); WARNING:LONG_LINE: line length of 104 exceeds 100 columns #192: FILE: lib/vhost/virtio_net.c:1906: + n_xfer = vq->async_ops.transfer_data(dev->vid, queue_id, tdes, 0, pkt_burst_idx, false); ERROR:INITIALISED_STATIC: do not initialise statics to 0 #431: FILE: lib/vhost/virtio_net.c:2440: + static uint64_t total = 0; ERROR:OPEN_BRACE: that open brace { should be on the previous line #534: FILE: lib/vhost/virtio_net.c:2543: + if ((((uint64_t)hpa1 & 0xFFF) ^ ((uint64_t)hpa2 & 0xFFF)) != 0 && flag == 0) + { WARNING:LONG_LINE: line length of 120 exceeds 100 columns #537: FILE: lib/vhost/virtio_net.c:2546: + VHOST_LOG_DATA(ERR, "%lu....................... hpa1=%p hpa2=%p. ", total, hpa1, hpa2); WARNING:LONG_LINE: line length of 103 exceeds 100 columns #714: FILE: lib/vhost/virtio_net.c:2723: + n_xfer = vq->async_ops.transfer_data(dev->vid, queue_id, tdes, 0, pkt_burst_idx, true); WARNING:LONG_LINE: line length of 104 exceeds 100 columns #778: FILE: lib/vhost/virtio_net.c:2787: + struct virtio_net *mirror_dev, uint16_t mirror_queue_id, struct rte_mbuf **pkts, uint32_t count) total: 2 errors, 5 warnings, 751 lines checked Warning in lib/vhost/virtio_net.c: Using %l format, prefer %PRI*64 if type is [u]int64_t