|WARNING| pw136677 [PATCH v3] mbuf: deprecate GCC marker in rte mbuf struct
checkpatch at dpdk.org
checkpatch at dpdk.org
Wed Feb 14 00:34:39 CET 2024
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/136677
_coding style issues_
ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#80: FILE: lib/eal/include/rte_common.h:585:
+#define __rte_marker(type, name) type name /* __rte_deprecated */
WARNING:LONG_LINE_COMMENT: line length of 104 exceeds 100 columns
#184: FILE: lib/mbuf/rte_mbuf_core.h:502:
+ * Reference counter. Its size should at least equal to the size
WARNING:LONG_LINE_COMMENT: line length of 111 exceeds 100 columns
#188: FILE: lib/mbuf/rte_mbuf_core.h:506:
+ * rte_mbuf_refcnt_set(). The functionality of these functions (atomic,
WARNING:LONG_LINE_COMMENT: line length of 107 exceeds 100 columns
#189: FILE: lib/mbuf/rte_mbuf_core.h:507:
+ * or non-atomic) is controlled by the RTE_MBUF_REFCNT_ATOMIC flag.
WARNING:LONG_LINE_COMMENT: line length of 106 exceeds 100 columns
#194: FILE: lib/mbuf/rte_mbuf_core.h:512:
+ * Number of segments. Only valid for the first segment of an mbuf
WARNING:LONG_LINE_COMMENT: line length of 104 exceeds 100 columns
#199: FILE: lib/mbuf/rte_mbuf_core.h:517:
+ /** Input port (16 bits to support more than 256 virtual ports).
WARNING:LONG_LINE_COMMENT: line length of 111 exceeds 100 columns
#200: FILE: lib/mbuf/rte_mbuf_core.h:518:
+ * The event eth Tx adapter uses this field to specify the output port.
WARNING:LONG_LINE_COMMENT: line length of 110 exceeds 100 columns
#241: FILE: lib/mbuf/rte_mbuf_core.h:532:
+ * The packet type, which is the combination of outer/inner L2, L3, L4
WARNING:LONG_LINE_COMMENT: line length of 112 exceeds 100 columns
#242: FILE: lib/mbuf/rte_mbuf_core.h:533:
+ * and tunnel types. The packet_type is about data really present in the
WARNING:LONG_LINE_COMMENT: line length of 110 exceeds 100 columns
#243: FILE: lib/mbuf/rte_mbuf_core.h:534:
+ * mbuf. Example: if vlan stripping is enabled, a received vlan packet
WARNING:LONG_LINE_COMMENT: line length of 110 exceeds 100 columns
#244: FILE: lib/mbuf/rte_mbuf_core.h:535:
+ * would have RTE_PTYPE_L2_ETHER and not RTE_PTYPE_L2_VLAN because the
WARNING:LONG_LINE_COMMENT: line length of 110 exceeds 100 columns
#248: FILE: lib/mbuf/rte_mbuf_core.h:539:
+ uint32_t packet_type; /**< L2/L3/L4 and tunnel information. */
WARNING:LONG_LINE_COMMENT: line length of 101 exceeds 100 columns
#251: FILE: lib/mbuf/rte_mbuf_core.h:542:
+ uint8_t l2_type:4; /**< (Outer) L2 type. */
WARNING:LONG_LINE_COMMENT: line length of 101 exceeds 100 columns
#252: FILE: lib/mbuf/rte_mbuf_core.h:543:
+ uint8_t l3_type:4; /**< (Outer) L3 type. */
WARNING:LONG_LINE_COMMENT: line length of 101 exceeds 100 columns
#253: FILE: lib/mbuf/rte_mbuf_core.h:544:
+ uint8_t l4_type:4; /**< (Outer) L4 type. */
WARNING:LONG_LINE_COMMENT: line length of 101 exceeds 100 columns
#257: FILE: lib/mbuf/rte_mbuf_core.h:548:
+ /**< ESP next protocol type, valid if
WARNING:LONG_LINE_COMMENT: line length of 106 exceeds 100 columns
#258: FILE: lib/mbuf/rte_mbuf_core.h:549:
+ * RTE_PTYPE_TUNNEL_ESP tunnel type is set
WARNING:LONG_LINE_COMMENT: line length of 103 exceeds 100 columns
#269: FILE: lib/mbuf/rte_mbuf_core.h:560:
+ uint8_t inner_l4_type:4; /**< Inner L4 type. */
WARNING:LONG_LINE_COMMENT: line length of 109 exceeds 100 columns
#272: FILE: lib/mbuf/rte_mbuf_core.h:563:
+ uint32_t pkt_len; /**< Total pkt len: sum of all segments. */
WARNING:LONG_LINE_COMMENT: line length of 101 exceeds 100 columns
#417: FILE: lib/mbuf/rte_mbuf_core.h:627:
+ * when the next pointer is in first cache line (i.e. RTE_IOVA_IN_MBUF is 0).
total: 1 errors, 19 warnings, 420 lines checked
More information about the test-report
mailing list