diff --git a/net/nic/nic_fd/hikp_nic_fd.c b/net/nic/nic_fd/hikp_nic_fd.c index fb9333a26f25d52ec900475f4cd2ff4bc951c9ad..3296ebf4cd58c8371cac0cdc841e73a43f5480ef 100644 --- a/net/nic/nic_fd/hikp_nic_fd.c +++ b/net/nic/nic_fd/hikp_nic_fd.c @@ -661,7 +661,7 @@ static int hikp_nic_query_fd_rules(struct hikp_cmd_header *req_header, const str } if (rsp_head.cur_blk_entry_cnt + entry_cnt > g_fd_hw_info.alloc.stage_entry_num[stage]) { HIKP_ERROR_PRINT("The sum of entry number (%u) after block-%u " - "is over the maximum entry nubmer (%u) of this stage.", + "is over the maximum entry number (%u) of this stage.", rsp_head.cur_blk_entry_cnt + entry_cnt, idx, g_fd_hw_info.alloc.stage_entry_num[stage]); return -EINVAL; @@ -718,7 +718,7 @@ static int hikp_nic_query_fd_counter(struct hikp_cmd_header *req_header, const s } if (rsp_head.cur_blk_entry_cnt + entry_size > g_fd_hw_info.alloc.stage_counter_num[stage]) { HIKP_ERROR_PRINT("The sum of entry number (%u) after block-%u " - "is over the maximum counter nubmer (%u) of this stage.", + "is over the maximum counter number (%u) of this stage.", rsp_head.cur_blk_entry_cnt + entry_size, idx, g_fd_hw_info.alloc.stage_counter_num[stage]); return -EINVAL; diff --git a/net/nic/nic_ppp/hikp_nic_ppp.c b/net/nic/nic_ppp/hikp_nic_ppp.c index aa63f12328100463c9b3a68cecf0c63a2bda986d..c19a5d0f366435a0e82918ab89f11f590e4a2eeb 100644 --- a/net/nic/nic_ppp/hikp_nic_ppp.c +++ b/net/nic/nic_ppp/hikp_nic_ppp.c @@ -546,7 +546,7 @@ static int hikp_nic_ppp_query_uc_mac_addr(struct hikp_cmd_header *req_header, } if (entry_size + rsp_head.cur_blk_entry_cnt > max_hw_entry_size) { HIKP_ERROR_PRINT("The sum of entry number (%u) after block-%u " - "is over the maximum entry nubmer (%u) of unicast MAC table.\n", + "is over the maximum entry number (%u) of unicast MAC table.\n", entry_size + rsp_head.cur_blk_entry_cnt, idx, max_hw_entry_size); return -EINVAL; } @@ -588,7 +588,7 @@ static int hikp_nic_ppp_query_mc_mac_addr(struct hikp_cmd_header *req_header, } if (entry_size + rsp_head.cur_blk_entry_cnt > max_hw_entry_size) { HIKP_ERROR_PRINT("The sum of entry number (%u) after block-%u " - "is over the maximum entry nubmer (%u) of multicast MAC table.\n", + "is over the maximum entry number (%u) of multicast MAC table.\n", entry_size + rsp_head.cur_blk_entry_cnt, idx, max_hw_entry_size); return -EINVAL; } @@ -659,7 +659,7 @@ static int hikp_nic_ppp_query_vf_vlan_tbl(struct hikp_cmd_header *req_header, } if (entry_size + rsp_head.cur_blk_entry_cnt > hw_entry_size) { HIKP_ERROR_PRINT("The sum of entry number (%u) after block-%u " - "is over the maximum entry nubmer (%u) of VF VLAN table.\n", + "is over the maximum entry number (%u) of VF VLAN table.\n", entry_size + rsp_head.cur_blk_entry_cnt, idx, hw_entry_size); return -EINVAL; } @@ -700,7 +700,7 @@ static int hikp_nic_ppp_query_port_vlan_tbl(struct hikp_cmd_header *req_header, } if (entry_size + rsp_head.cur_blk_entry_cnt > hw_entry_size) { HIKP_ERROR_PRINT("The sum of entry number (%u) after block-%u " - "is over the maximum entry nubmer (%u) of port VLAN table.\n", + "is over the maximum entry number (%u) of port VLAN table.\n", entry_size + rsp_head.cur_blk_entry_cnt, idx, hw_entry_size); return -EINVAL; } @@ -762,7 +762,7 @@ static int hikp_nic_query_mng_tbl(struct hikp_cmd_header *req_header, } if (entry_size + rsp_head.cur_blk_entry_cnt > g_ppp_hw_res.mng_tbl_size) { HIKP_ERROR_PRINT("The sum of entry number (%u) after block-%u " - "is over the maximum entry nubmer (%u) of manager table.\n", + "is over the maximum entry number (%u) of manager table.\n", entry_size + rsp_head.cur_blk_entry_cnt, idx, g_ppp_hw_res.mng_tbl_size); return -EINVAL; } diff --git a/net/nic/nic_ppp/hikp_nic_ppp.h b/net/nic/nic_ppp/hikp_nic_ppp.h index 033ca4d5b7bbf266c617b58327dfcdf1f72fbeaa..659ed57db0b9ac332a6711e1123a4762ed3f82c2 100644 --- a/net/nic/nic_ppp/hikp_nic_ppp.h +++ b/net/nic/nic_ppp/hikp_nic_ppp.h @@ -40,7 +40,7 @@ struct hikp_nic_ppp_hw_resources { uint32_t rsv1[10]; }; -/* struct mac_vlan_uc_entry::e_vport field defination: +/* struct mac_vlan_uc_entry::e_vport field definition: * bit[0-2]: pf_id * bit[3-10]: vf_id */ diff --git a/sas/user_cmd/cmd_code/sas_cmd_anacq.c b/sas/user_cmd/cmd_code/sas_cmd_anacq.c index 46bf5aa6cad5361698cd212ff424bc2796f50c62..6e39daec56e2acb9011b0d8406b3b2ab0dd67608 100644 --- a/sas/user_cmd/cmd_code/sas_cmd_anacq.c +++ b/sas/user_cmd/cmd_code/sas_cmd_anacq.c @@ -25,8 +25,8 @@ static int sas_anacq_help(struct major_cmd_ctrl *self, const char *argv) printf(" %s, %-25s %s\n", "-d", "--dieid", "please input die id[x] first\n"); printf("\n Options:\n\n"); printf(" %s, %-25s %s\n", "-h", "--help", "display this help and exit\n"); - printf(" %s, %-25s %s\n", "-p", "--pointer", "dispaly cq queue read/write pointer\n"); - printf(" %s, %-25s %s\n", "-s", "--number", "dispaly cq number\n"); + printf(" %s, %-25s %s\n", "-p", "--pointer", "display cq queue read/write pointer\n"); + printf(" %s, %-25s %s\n", "-s", "--number", "display cq number\n"); printf("\n"); return 0; diff --git a/sas/user_cmd/cmd_code/sas_cmd_dqe.c b/sas/user_cmd/cmd_code/sas_cmd_dqe.c index 26bf0ebee77d9ef079b997a5889ae530c65ab0ff..ba34047fb99ff44b8be8b3fa0194b70c731f4782 100644 --- a/sas/user_cmd/cmd_code/sas_cmd_dqe.c +++ b/sas/user_cmd/cmd_code/sas_cmd_dqe.c @@ -26,7 +26,7 @@ static int sas_dqe_help(struct major_cmd_ctrl *self, const char *argv) printf(" %s, %-25s %s\n", "-q", "--queue", "please input queue id[x] first\n"); printf("\n Options:\n\n"); printf(" %s, %-25s %s\n", "-h", "--help", "display this help and exit\n"); - printf(" %s, %-25s %s\n", "-i", "--info", "dispaly the dqe detail information\n"); + printf(" %s, %-25s %s\n", "-i", "--info", "display the dqe detail information\n"); printf("\n"); return 0;