diff options
author | Jakub Byczkowski <[email protected]> | 2017-02-08 05:27:55 -0800 |
---|---|---|
committer | Doug Ledford <[email protected]> | 2017-02-19 09:18:43 -0500 |
commit | c27aad00d191e8ba88fe755db53b9f2b8cefc0e9 (patch) | |
tree | ca199d27e0089f4e3edc6acda86a1cad4c2a91f3 /lib/netdev-notifier-error-inject.c | |
parent | f9215b5e536b0c598dff4041fc7d6136cd599981 (diff) |
IB/hfi1: Modify logging frequency of DCC errors
Use rate-limit state to limit number of messages logged
to kernel message buffer for DCC errors. Add new macro
dd_dev_info_ratelimited for that propose. Replace all
dd_dev_info calls in handle_dcc_err function with
rate-limited version.
Reviewed-by: Dennis Dalessandro <[email protected]>
Signed-off-by: Jakub Byczkowski <[email protected]>
Signed-off-by: Dennis Dalessandro <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions