automatic DPDK test reports
 help / color / mirror / Atom feed
* |WARNING| pw114947 [RFC 1/2] vhost: add ingress API for port mirroring datapath
       [not found] <20220814124920.14338-2-cheng1.jiang@intel.com>
@ 2022-08-14 13:21 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2022-08-14 13:21 UTC (permalink / raw)
  To: test-report; +Cc: Cheng Jiang

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-08-14 13:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20220814124920.14338-2-cheng1.jiang@intel.com>
2022-08-14 13:21 ` |WARNING| pw114947 [RFC 1/2] vhost: add ingress API for port mirroring datapath checkpatch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).