xref: /dpdk/drivers/net/hns3/hns3_dump.h (revision fbb7a43a3632a0b10404180f1a14c525d217d7da)
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright(C) 2022 HiSilicon Limited
3  */
4 
5 #ifndef HNS3_DUMP_H
6 #define HNS3_DUMP_H
7 
8 #include <stdio.h>
9 
10 #include <ethdev_driver.h>
11 
12 int hns3_eth_dev_priv_dump(struct rte_eth_dev *dev, FILE *file);
13 
14 int hns3_rx_descriptor_dump(const struct rte_eth_dev *dev, uint16_t queue_id,
15 			    uint16_t offset, uint16_t num, FILE *file);
16 int hns3_tx_descriptor_dump(const struct rte_eth_dev *dev, uint16_t queue_id,
17 			    uint16_t offset, uint16_t num, FILE *file);
18 #endif /* HNS3_DUMP_H */
19