From: Ajit Khaparde Date: Fri, 19 Jul 2019 06:19:05 +0000 (+0530) Subject: net/bnxt: remove unnecessary interrupt disable X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=a8cbae89da782997631ed27160dd61686664ea00;p=dpdk.git net/bnxt: remove unnecessary interrupt disable Remove an unnecessary rte_intr_disable() call to disable interrupt during device init. Fixes: c09f57b49c13 ("net/bnxt: add start/stop/link update operations") Cc: stable@dpdk.org Signed-off-by: Kalesh AP Signed-off-by: Ajit Khaparde --- diff --git a/drivers/net/bnxt/bnxt_ethdev.c b/drivers/net/bnxt/bnxt_ethdev.c index ccec9684a8..ded970644d 100644 --- a/drivers/net/bnxt/bnxt_ethdev.c +++ b/drivers/net/bnxt/bnxt_ethdev.c @@ -239,9 +239,6 @@ static int bnxt_init_chip(struct bnxt *bp) unsigned int i, j; int rc; - /* disable uio/vfio intr/eventfd mapping */ - rte_intr_disable(intr_handle); - if (bp->eth_dev->data->mtu > RTE_ETHER_MTU) { bp->eth_dev->data->dev_conf.rxmode.offloads |= DEV_RX_OFFLOAD_JUMBO_FRAME;