|WARNING| pw122725 [v1 04/16] net/mlx5/hws: add capability query for gen wqe command

checkpatch at dpdk.org checkpatch at dpdk.org
Tue Jan 31 10:37:57 CET 2023


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

_coding style issues_


WARNING:TYPO_SPELLING: 'fromat' may be misspelled - perhaps 'format'?
#145: FILE: drivers/common/mlx5/mlx5_prm.h:2213:
+	u8 ste_fromat_gen_wqe[0x10];

WARNING:MULTILINE_DEREFERENCE: Avoid multiple line dereference - prefer 'capability.cmd_hca_cap_2.generate_wqe_type'
#159: FILE: drivers/net/mlx5/hws/mlx5dr_cmd.c:933:
+					   capability.cmd_hca_cap_2.
+					   generate_wqe_type);

WARNING:MULTILINE_DEREFERENCE: Avoid multiple line dereference - prefer 'capability.wqe_based_flow_table_cap.rtc_max_num_hash_definer_gen_wqe'
#171: FILE: drivers/net/mlx5/hws/mlx5dr_cmd.c:1043:
+							  capability.wqe_based_flow_table_cap.
+							  rtc_max_num_hash_definer_gen_wqe);

WARNING:TYPO_SPELLING: 'fromat' may be misspelled - perhaps 'format'?
#173: FILE: drivers/net/mlx5/hws/mlx5dr_cmd.c:1045:
+		caps->supp_ste_fromat_gen_wqe = MLX5_GET(query_hca_cap_out, out,

WARNING:TYPO_SPELLING: 'fromat' may be misspelled - perhaps 'format'?
#175: FILE: drivers/net/mlx5/hws/mlx5dr_cmd.c:1047:
+							 ste_fromat_gen_wqe);

WARNING:MULTILINE_DEREFERENCE: Avoid multiple line dereference - prefer 'capability.wqe_based_flow_table_cap.ste_fromat_gen_wqe'
#175: FILE: drivers/net/mlx5/hws/mlx5dr_cmd.c:1047:
+							 capability.wqe_based_flow_table_cap.
+							 ste_fromat_gen_wqe);

WARNING:TYPO_SPELLING: 'fromat' may be misspelled - perhaps 'format'?
#189: FILE: drivers/net/mlx5/hws/mlx5dr_cmd.h:188:
+	uint16_t supp_ste_fromat_gen_wqe;

total: 0 errors, 7 warnings, 0 checks, 47 lines checked


More information about the test-report mailing list