From: Bernard Iremonger Date: Fri, 4 Dec 2015 14:05:38 +0000 (+0000) Subject: bonding: fix link state interrupt flag X-Git-Tag: spdx-start~7871 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=3de5105468ead7ff28ceda66e303bb6464c5df2d;p=dpdk.git bonding: fix link state interrupt flag replace RTE_PCI_DRV_INTR_LSC with RTE_ETH_DEV_INTR_LSC Fixes: 71ba84b1ccb2 ("bonding: remove fake pci interface") Signed-off-by: Bernard Iremonger Acked-by: Declan Doherty --- diff --git a/drivers/net/bonding/rte_eth_bond_pmd.c b/drivers/net/bonding/rte_eth_bond_pmd.c index aa985f5df1..8f84ec1f33 100644 --- a/drivers/net/bonding/rte_eth_bond_pmd.c +++ b/drivers/net/bonding/rte_eth_bond_pmd.c @@ -1445,7 +1445,7 @@ slave_add(struct bond_dev_private *internals, /* If slave device doesn't support interrupts then we need to enabled * polling to monitor link status */ - if (!(slave_eth_dev->data->dev_flags & RTE_PCI_DRV_INTR_LSC)) { + if (!(slave_eth_dev->data->dev_flags & RTE_ETH_DEV_INTR_LSC)) { slave_details->link_status_poll_enabled = 1; if (!internals->link_status_polling_enabled) {