f-stack/dpdk/drivers/net/sfc/base/medford2_impl.h

40 lines
669 B
C
Raw Normal View History

2019-06-25 11:12:58 +00:00
/* SPDX-License-Identifier: BSD-3-Clause
*
* Copyright (c) 2015-2018 Solarflare Communications Inc.
* All rights reserved.
*/
#ifndef _SYS_MEDFORD2_IMPL_H
#define _SYS_MEDFORD2_IMPL_H
#ifdef __cplusplus
extern "C" {
#endif
2020-06-18 16:55:50 +00:00
#define MEDFORD2_TXQ_MAXNDESCS 2048
#define MEDFORD2_EVQ_MAXNBUFS (64)
2019-06-25 11:12:58 +00:00
#ifndef ER_EZ_TX_PIOBUF_SIZE
#define ER_EZ_TX_PIOBUF_SIZE 4096
#endif
#define MEDFORD2_PIOBUF_NBUFS (16)
#define MEDFORD2_PIOBUF_SIZE (ER_EZ_TX_PIOBUF_SIZE)
#define MEDFORD2_MIN_PIO_ALLOC_SIZE (MEDFORD2_PIOBUF_SIZE / 32)
extern __checkReturn efx_rc_t
medford2_board_cfg(
__in efx_nic_t *enp);
#ifdef __cplusplus
}
#endif
#endif /* _SYS_MEDFORD2_IMPL_H */