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/nfp: remove compile time log
[dpdk.git]
/
drivers
/
net
/
hns3
/
hns3_intr.c
diff --git
a/drivers/net/hns3/hns3_intr.c
b/drivers/net/hns3/hns3_intr.c
index
6bdb17f
..
0b307fd
100644
(file)
--- a/
drivers/net/hns3/hns3_intr.c
+++ b/
drivers/net/hns3/hns3_intr.c
@@
-2582,7
+2582,7
@@
hns3_clear_reset_level(struct hns3_hw *hw, uint64_t *levels)
static bool
hns3_reset_err_handle(struct hns3_adapter *hns)
{
static bool
hns3_reset_err_handle(struct hns3_adapter *hns)
{
-#define MAX_RESET_FAIL_CNT
5
+#define MAX_RESET_FAIL_CNT
30
struct hns3_hw *hw = &hns->hw;
struct hns3_hw *hw = &hns->hw;
@@
-2676,7
+2676,7
@@
hns3_reset_pre(struct hns3_adapter *hns)
static int
hns3_reset_post(struct hns3_adapter *hns)
{
static int
hns3_reset_post(struct hns3_adapter *hns)
{
-#define TIMEOUT_RETRIES_CNT
5
+#define TIMEOUT_RETRIES_CNT
30
struct hns3_hw *hw = &hns->hw;
struct timeval tv_delta;
struct timeval tv;
struct hns3_hw *hw = &hns->hw;
struct timeval tv_delta;
struct timeval tv;