1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(c) 2018 Chelsio Communications.
9 void cxgbe_dev_rx_queue_release(void *q);
10 void cxgbe_dev_tx_queue_release(void *q);
11 void cxgbe_dev_stop(struct rte_eth_dev *eth_dev);
12 void cxgbe_dev_close(struct rte_eth_dev *eth_dev);
13 void cxgbe_dev_info_get(struct rte_eth_dev *eth_dev,
14 struct rte_eth_dev_info *device_info);
15 void cxgbe_dev_promiscuous_enable(struct rte_eth_dev *eth_dev);
16 void cxgbe_dev_promiscuous_disable(struct rte_eth_dev *eth_dev);
17 void cxgbe_dev_allmulticast_enable(struct rte_eth_dev *eth_dev);
18 void cxgbe_dev_allmulticast_disable(struct rte_eth_dev *eth_dev);
19 int cxgbe_dev_configure(struct rte_eth_dev *eth_dev);
20 int cxgbe_dev_tx_queue_setup(struct rte_eth_dev *eth_dev, uint16_t queue_idx,
21 uint16_t nb_desc, unsigned int socket_id,
22 const struct rte_eth_txconf *tx_conf);
23 int cxgbe_dev_rx_queue_setup(struct rte_eth_dev *eth_dev, uint16_t queue_idx,
24 uint16_t nb_desc, unsigned int socket_id,
25 const struct rte_eth_rxconf *rx_conf,
26 struct rte_mempool *mp);
27 int cxgbe_dev_tx_queue_start(struct rte_eth_dev *eth_dev,
28 uint16_t tx_queue_id);
29 int cxgbe_dev_rx_queue_start(struct rte_eth_dev *eth_dev,
30 uint16_t tx_queue_id);
31 int cxgbe_dev_tx_queue_stop(struct rte_eth_dev *eth_dev, uint16_t tx_queue_id);
32 int cxgbe_dev_rx_queue_stop(struct rte_eth_dev *eth_dev, uint16_t rx_queue_id);
33 int cxgbe_dev_mtu_set(struct rte_eth_dev *eth_dev, uint16_t mtu);
34 int cxgbe_dev_start(struct rte_eth_dev *eth_dev);
35 int cxgbe_dev_link_update(struct rte_eth_dev *eth_dev,
36 int wait_to_complete);
37 const uint32_t *cxgbe_dev_supported_ptypes_get(struct rte_eth_dev *eth_dev);
38 #endif /* _CXGBE_PFVF_H_ */