|WARNING| pw118673 [v5 18/18] net/mlx5/hws: Enable HWS

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Oct 19 23:01:54 CEST 2022


Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/118673

_coding style issues_


WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#535: FILE: drivers/net/mlx5/hws/mlx5dr.h:515:
+ * ^ICopy the ASO object value into this reg_id, after a packet hits a rule with this ASO object.$

WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#574: FILE: drivers/net/mlx5/hws/mlx5dr.h:574:
+ * ^IThe context to which the queue belong to.$

WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#577: FILE: drivers/net/mlx5/hws/mlx5dr.h:576:
+ * ^IThe id of the queue to perform the action on.$

WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#580: FILE: drivers/net/mlx5/hws/mlx5dr.h:578:
+ * ^IActions to perform on the queue. (enum mlx5dr_send_queue_actions)$

WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#589: FILE: drivers/net/mlx5/hws/mlx5dr.h:590:
+ * ^IThe file to write the dump to.$

CHECK:MACRO_ARG_PRECEDENCE: Macro argument '_value' may be better as '(_value)' to avoid precedence issues
#644: FILE: drivers/net/mlx5/hws/mlx5dr_internal.h:46:
+#define IS_BIT_SET(_value, _bit) (_value & (1ULL << (_bit)))

WARNING:LONG_LINE: line length of 106 exceeds 100 columns
#656: FILE: drivers/net/mlx5/hws/mlx5dr_internal.h:58:
+	DRV_LOG(level, RTE_FMT("[%s]: " RTE_FMT_HEAD(__VA_ARGS__,), __func__, RTE_FMT_TAIL(__VA_ARGS__,)))

ERROR:SPACING: space required after that ',' (ctx:VxB)
#656: FILE: drivers/net/mlx5/hws/mlx5dr_internal.h:58:
+	DRV_LOG(level, RTE_FMT("[%s]: " RTE_FMT_HEAD(__VA_ARGS__,), __func__, RTE_FMT_TAIL(__VA_ARGS__,)))
 	                                                        ^

ERROR:SPACING: space required after that ',' (ctx:VxB)
#656: FILE: drivers/net/mlx5/hws/mlx5dr_internal.h:58:
+	DRV_LOG(level, RTE_FMT("[%s]: " RTE_FMT_HEAD(__VA_ARGS__,), __func__, RTE_FMT_TAIL(__VA_ARGS__,)))
 	                                                                                              ^

total: 2 errors, 6 warnings, 1 checks, 634 lines checked


More information about the test-report mailing list