git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
net/memif: relax load of ring head for M2S zc ring
[dpdk.git]
/
drivers
/
net
/
hinic
/
base
/
hinic_pmd_mgmt.c
diff --git
a/drivers/net/hinic/base/hinic_pmd_mgmt.c
b/drivers/net/hinic/base/hinic_pmd_mgmt.c
index
06c9b68
..
babb93a
100644
(file)
--- a/
drivers/net/hinic/base/hinic_pmd_mgmt.c
+++ b/
drivers/net/hinic/base/hinic_pmd_mgmt.c
@@
-470,7
+470,7
@@
hinic_pf_to_mgmt_sync(struct hinic_hwdev *hwdev,
recv_msg->msg_len);
*out_size = recv_msg->msg_len;
} else {
recv_msg->msg_len);
*out_size = recv_msg->msg_len;
} else {
- PMD_DRV_LOG(ERR, "Mgmt rsp's msg len:%u overflow.",
+ PMD_DRV_LOG(ERR, "Mgmt rsp's msg len:
%u overflow.",
recv_msg->msg_len);
err = -ERANGE;
}
recv_msg->msg_len);
err = -ERANGE;
}
@@
-504,8
+504,7
@@
int hinic_msg_to_mgmt_sync(void *hwdev, enum hinic_mod_type mod, u8 cmd,
}
int hinic_msg_to_mgmt_no_ack(void *hwdev, enum hinic_mod_type mod, u8 cmd,
}
int hinic_msg_to_mgmt_no_ack(void *hwdev, enum hinic_mod_type mod, u8 cmd,
- void *buf_in, u16 in_size, __rte_unused void *buf_out,
- __rte_unused u16 *out_size)
+ void *buf_in, u16 in_size)
{
struct hinic_msg_pf_to_mgmt *pf_to_mgmt =
((struct hinic_hwdev *)hwdev)->pf_to_mgmt;
{
struct hinic_msg_pf_to_mgmt *pf_to_mgmt =
((struct hinic_hwdev *)hwdev)->pf_to_mgmt;