linux/include/linux/qed/qed_eth_if.h

/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */
/* QLogic qed NIC Driver
 * Copyright (c) 2015-2017  QLogic Corporation
 * Copyright (c) 2019-2020 Marvell International Ltd.
 */

#ifndef _QED_ETH_IF_H
#define _QED_ETH_IF_H

#include <linux/list.h>
#include <linux/if_link.h>
#include <linux/qed/eth_common.h>
#include <linux/qed/qed_if.h>
#include <linux/qed/qed_iov_if.h>

/* 64 max queues * (1 rx + 4 tx-cos + 1 xdp) */
#define QED_MIN_L2_CONS
#define QED_MAX_L2_CONS

struct qed_queue_start_common_params {};

struct qed_rxq_start_ret_params {};

struct qed_txq_start_ret_params {};

enum qed_filter_config_mode {};

struct qed_ntuple_filter_params {};

struct qed_dev_eth_info {};

struct qed_update_vport_rss_params {};

struct qed_update_vport_params {};

struct qed_start_vport_params {};

enum qed_filter_rx_mode_type {};

enum qed_filter_xcast_params_type {};

struct qed_filter_ucast_params {};

struct qed_filter_mcast_params {};

enum qed_filter_type {};

struct qed_tunn_params {};

struct qed_eth_cb_ops {};

#define QED_MAX_PHC_DRIFT_PPB

enum qed_ptp_filter_type {};

enum qed_ptp_hwtstamp_tx_type {};

#ifdef CONFIG_DCB
/* Prototype declaration of qed_eth_dcbnl_ops should match with the declaration
 * of dcbnl_rtnl_ops structure.
 */
struct qed_eth_dcbnl_ops {};
#endif

struct qed_eth_ptp_ops {};

struct qed_eth_ops {};

const struct qed_eth_ops *qed_get_eth_ops(void);
void qed_put_eth_ops(void);

#endif