Skip to content

Commit

Permalink
net/bnxt: fix Rx interrupt setting
Browse files Browse the repository at this point in the history
[ upstream commit 5ba7c65 ]

Don't set rxq interrupt config
Applications can set the rxq interrupt config to 1 or 0 as needed.
If an application is not interested in handling Rx interrupts and
prefers to poll Rx rings, there is no need for the PMD to set this
config option to 1.

Fixes: 1fe427f ("net/bnxt: support enable/disable interrupt")

Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
Reviewed-by: Lance Richardson <lance.richardson@broadcom.com>
  • Loading branch information
ajitkhaparde authored and cpaelzer committed Aug 9, 2021
1 parent b2af7f5 commit 38821d3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/net/bnxt/bnxt_ethdev.c
Expand Up @@ -569,7 +569,6 @@ static int bnxt_dev_info_get_op(struct rte_eth_dev *eth_dev,
};
eth_dev->data->dev_conf.intr_conf.lsc = 1;

eth_dev->data->dev_conf.intr_conf.rxq = 1;
dev_info->rx_desc_lim.nb_min = BNXT_MIN_RING_DESC;
dev_info->rx_desc_lim.nb_max = BNXT_MAX_RX_RING_DESC;
dev_info->tx_desc_lim.nb_min = BNXT_MIN_RING_DESC;
Expand Down

0 comments on commit 38821d3

Please sign in to comment.