Currently bnxt driver does not return error in case setting link up fails.
Fixes:
5c206086feaa ("net/bnxt: add link state operations")
Cc: stable@dpdk.org
Signed-off-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Reviewed-by: Somnath Kotur <somnath.kotur@broadcom.com>
eth_dev->data->dev_link.link_status = 1;
bnxt_print_link_info(eth_dev);
eth_dev->data->dev_link.link_status = 1;
bnxt_print_link_info(eth_dev);
}
static int bnxt_dev_set_link_down_op(struct rte_eth_dev *eth_dev)
}
static int bnxt_dev_set_link_down_op(struct rte_eth_dev *eth_dev)