#
2fa1cd3b |
| 21-Sep-2022 |
Zhengchao Shao <shaozhengchao@huawei.com> |
net: hinic: remove unused macro
remove unused macro.
Signed-off-by: Zhengchao Shao <shaozhengchao@huawei.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
|
#
73f25f16 |
| 21-Sep-2022 |
Zhengchao Shao <shaozhengchao@huawei.com> |
net: hinic: change type of function to be static
Functions are called only in one file, change their type to static.
Signed-off-by: Zhengchao Shao <shaozhengchao@huawei.com> Signed-off-by: Jakub Ki
net: hinic: change type of function to be static
Functions are called only in one file, change their type to static.
Signed-off-by: Zhengchao Shao <shaozhengchao@huawei.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
show more ...
|
#
c8c29ec3 |
| 04-Aug-2020 |
Luo bin <luobin9@huawei.com> |
hinic: add check for mailbox msg from VF
PF should check whether the cmd from VF is supported and its content is right before passing it to hw.
Signed-off-by: Luo bin <luobin9@huawei.com> Signed-of
hinic: add check for mailbox msg from VF
PF should check whether the cmd from VF is supported and its content is right before passing it to hw.
Signed-off-by: Luo bin <luobin9@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
show more ...
|
#
088c5f0d |
| 04-Aug-2020 |
Luo bin <luobin9@huawei.com> |
hinic: add generating mailbox random index support
add support to generate mailbox random id of VF to ensure that mailbox messages PF received are from the correct VF.
Signed-off-by: Luo bin <luobi
hinic: add generating mailbox random index support
add support to generate mailbox random id of VF to ensure that mailbox messages PF received are from the correct VF.
Signed-off-by: Luo bin <luobin9@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
show more ...
|
#
90f86b8a |
| 25-Jul-2020 |
Luo bin <luobin9@huawei.com> |
hinic: add log in exception handling processes
improve the error message when functions return failure and dump relevant registers in some exception handling processes
Signed-off-by: Luo bin <luobi
hinic: add log in exception handling processes
improve the error message when functions return failure and dump relevant registers in some exception handling processes
Signed-off-by: Luo bin <luobin9@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
show more ...
|
#
72ef908b |
| 08-May-2020 |
Luo bin <luobin9@huawei.com> |
hinic: add three net_device_ops of vf
adds ndo_set_vf_rate/ndo_set_vf_spoofchk/ndo_set_vf_link_state to configure netdev of virtual function
Signed-off-by: Luo bin <luobin9@huawei.com> Signed-off-b
hinic: add three net_device_ops of vf
adds ndo_set_vf_rate/ndo_set_vf_spoofchk/ndo_set_vf_link_state to configure netdev of virtual function
Signed-off-by: Luo bin <luobin9@huawei.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
show more ...
|
#
37ecb5b8 |
| 29-Apr-2020 |
Zou Wei <zou_wei@huawei.com> |
hinic: Use kmemdup instead of kzalloc and memcpy
Fixes coccicheck warnings:
drivers/net/ethernet/huawei/hinic/hinic_hw_mbox.c:452:17-24: WARNING opportunity for kmemdup drivers/net/ethernet/huawe
hinic: Use kmemdup instead of kzalloc and memcpy
Fixes coccicheck warnings:
drivers/net/ethernet/huawei/hinic/hinic_hw_mbox.c:452:17-24: WARNING opportunity for kmemdup drivers/net/ethernet/huawei/hinic/hinic_hw_mbox.c:458:23-30: WARNING opportunity for kmemdup
Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Zou Wei <zou_wei@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
show more ...
|
#
25979125 |
| 29-Apr-2020 |
Zheng Bin <zhengbin13@huawei.com> |
hinic: make symbol 'dump_mox_reg' static
Fix sparse warnings:
drivers/net/ethernet/huawei/hinic/hinic_hw_mbox.c:601:6: warning: symbol 'dump_mox_reg' was not declared. Should it be static?
Reporte
hinic: make symbol 'dump_mox_reg' static
Fix sparse warnings:
drivers/net/ethernet/huawei/hinic/hinic_hw_mbox.c:601:6: warning: symbol 'dump_mox_reg' was not declared. Should it be static?
Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Zheng Bin <zhengbin13@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
show more ...
|
#
a425b6e1 |
| 25-Apr-2020 |
Luo bin <luobin9@huawei.com> |
hinic: add mailbox function support
virtual function and physical function can communicate with each other through mailbox channel supported by hw
Signed-off-by: Luo bin <luobin9@huawei.com> Signed
hinic: add mailbox function support
virtual function and physical function can communicate with each other through mailbox channel supported by hw
Signed-off-by: Luo bin <luobin9@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
show more ...
|