1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* Copyright (c) 2019 - 2022 Beijing WangXun Technology Co., Ltd. */ 3 4 #ifndef _NGBE_H_ 5 #define _NGBE_H_ 6 7 #include "ngbe_type.h" 8 9 #define NGBE_MAX_FDIR_INDICES 7 10 11 #define NGBE_MAX_RX_QUEUES (NGBE_MAX_FDIR_INDICES + 1) 12 #define NGBE_MAX_TX_QUEUES (NGBE_MAX_FDIR_INDICES + 1) 13 14 /* board specific private data structure */ 15 struct ngbe_adapter { 16 u8 __iomem *io_addr; /* Mainly for iounmap use */ 17 /* OS defined structs */ 18 struct net_device *netdev; 19 struct pci_dev *pdev; 20 }; 21 22 extern char ngbe_driver_name[]; 23 24 #endif /* _NGBE_H_ */ 25