X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fnet%2Fbnxt%2Fbnxt_reps.h;h=01e57ee5b50985dace0cfb13939dbdefa782ed5c;hb=9fda31c3229ca6e036cae80392578ed6e5a51119;hp=3159f68de943ae907798293cb01e524681784ce0;hpb=ce9875d7492ea2b290e57c618eddbddce832f73d;p=dpdk.git diff --git a/drivers/net/bnxt/bnxt_reps.h b/drivers/net/bnxt/bnxt_reps.h index 3159f68de9..01e57ee5b5 100644 --- a/drivers/net/bnxt/bnxt_reps.h +++ b/drivers/net/bnxt/bnxt_reps.h @@ -1,5 +1,5 @@ /* SPDX-License-Identifier: BSD-3-Clause - * Copyright(c) 2014-2020 Broadcom + * Copyright(c) 2014-2021 Broadcom * All rights reserved. */ @@ -42,12 +42,12 @@ int bnxt_rep_tx_queue_setup_op(struct rte_eth_dev *eth_dev, __rte_unused unsigned int socket_id, __rte_unused const struct rte_eth_txconf * tx_conf); -void bnxt_rep_rx_queue_release_op(void *rx_queue); -void bnxt_rep_tx_queue_release_op(void *tx_queue); -void bnxt_rep_dev_stop_op(struct rte_eth_dev *eth_dev); -void bnxt_rep_dev_close_op(struct rte_eth_dev *eth_dev); +void bnxt_rep_rx_queue_release_op(struct rte_eth_dev *dev, uint16_t queue_idx); +void bnxt_rep_tx_queue_release_op(struct rte_eth_dev *dev, uint16_t queue_idx); +int bnxt_rep_dev_stop_op(struct rte_eth_dev *eth_dev); +int bnxt_rep_dev_close_op(struct rte_eth_dev *eth_dev); int bnxt_rep_stats_get_op(struct rte_eth_dev *eth_dev, struct rte_eth_stats *stats); int bnxt_rep_stats_reset_op(struct rte_eth_dev *eth_dev); -void bnxt_rep_stop_all(struct bnxt *bp); +int bnxt_rep_stop_all(struct bnxt *bp); #endif /* _BNXT_REPS_H_ */