linux/drivers/net/ethernet/marvell/octeontx2/af/rvu_sdp.c

// SPDX-License-Identifier: GPL-2.0
/* Marvell RVU Admin Function driver
 *
 * Copyright (C) 2021 Marvell.
 *
 */

#include <linux/pci.h>
#include "rvu.h"

/* SDP PF device id */
#define PCI_DEVID_OTX2_SDP_PF

/* Maximum SDP blocks in a chip */
#define MAX_SDP

/* SDP PF number */
static int sdp_pf_num[MAX_SDP] =;

bool is_sdp_pfvf(u16 pcifunc)
{}

bool is_sdp_pf(u16 pcifunc)
{}

#define RVU_SDP_VF_DEVID
bool is_sdp_vf(struct rvu *rvu, u16 pcifunc)
{}

int rvu_sdp_init(struct rvu *rvu)
{}

int
rvu_mbox_handler_set_sdp_chan_info(struct rvu *rvu,
				   struct sdp_chan_info_msg *req,
				   struct msg_rsp *rsp)
{}

int
rvu_mbox_handler_get_sdp_chan_info(struct rvu *rvu, struct msg_req *req,
				   struct sdp_get_chan_info_msg *rsp)
{}