|WARNING| pw114947 [RFC 1/2] vhost: add ingress API for port mirroring datapath
checkpatch at dpdk.org
checkpatch at dpdk.org
Sun Aug 14 15:21:04 CEST 2022
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
More information about the test-report
mailing list