net/ice: add DCF hardware initialization
[dpdk.git] / drivers / net / ice / ice_dcf_ethdev.h
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright(c) 2020 Intel Corporation
3  */
4
5 #ifndef _ICE_DCF_ETHDEV_H_
6 #define _ICE_DCF_ETHDEV_H_
7
8 #include "ice_ethdev.h"
9 #include "ice_dcf.h"
10
11 #define ICE_DCF_MAX_RINGS  1
12
13 struct ice_dcf_queue {
14         uint64_t dummy;
15 };
16
17 struct ice_dcf_adapter {
18         struct ice_dcf_hw real_hw;
19         struct rte_ether_addr mac_addr;
20         struct ice_dcf_queue rxqs[ICE_DCF_MAX_RINGS];
21         struct ice_dcf_queue txqs[ICE_DCF_MAX_RINGS];
22 };
23
24 #endif /* _ICE_DCF_ETHDEV_H_ */