git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a05e5dc
)
net/bnxt: remove unnecessary interrupt disable
author
Kalesh AP
<kalesh-anakkur.purayil@broadcom.com>
Wed, 2 Oct 2019 17:17:40 +0000
(10:17 -0700)
committer
Ferruh Yigit
<ferruh.yigit@intel.com>
Tue, 8 Oct 2019 10:14:30 +0000
(12:14 +0200)
Since bnxt_enable_int() is called at start time,
invoke bnxt_disable_int() during stop only.
Remove it from device uninit function.
Signed-off-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
Reviewed-by: Lance Richardson <lance.richardson@broadcom.com>
drivers/net/bnxt/bnxt_ethdev.c
patch
|
blob
|
history
diff --git
a/drivers/net/bnxt/bnxt_ethdev.c
b/drivers/net/bnxt/bnxt_ethdev.c
index
4d15ba5
..
74ded77
100644
(file)
--- a/
drivers/net/bnxt/bnxt_ethdev.c
+++ b/
drivers/net/bnxt/bnxt_ethdev.c
@@
-4576,7
+4576,6
@@
bnxt_uninit_resources(struct bnxt *bp, bool reconfig_dev)
{
int rc;
- bnxt_disable_int(bp);
bnxt_free_int(bp);
bnxt_free_mem(bp, reconfig_dev);
bnxt_hwrm_func_buf_unrgtr(bp);