linux/drivers/net/ethernet/marvell/octeontx2/nic/otx2_vf.c

// SPDX-License-Identifier: GPL-2.0
/* Marvell RVU Virtual Function ethernet driver
 *
 * Copyright (C) 2020 Marvell.
 *
 */

#include <linux/etherdevice.h>
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/net_tstamp.h>

#include "otx2_common.h"
#include "otx2_reg.h"
#include "otx2_ptp.h"
#include "cn10k.h"

#define DRV_NAME
#define DRV_STRING

static const struct pci_device_id otx2_vf_id_table[] =;

MODULE_AUTHOR();
MODULE_DESCRIPTION();
MODULE_LICENSE();
MODULE_DEVICE_TABLE(pci, otx2_vf_id_table);

/* RVU VF Interrupt Vector Enumeration */
enum {};

static void otx2vf_process_vfaf_mbox_msg(struct otx2_nic *vf,
					 struct mbox_msghdr *msg)
{}

static void otx2vf_vfaf_mbox_handler(struct work_struct *work)
{}

static int otx2vf_process_mbox_msg_up(struct otx2_nic *vf,
				      struct mbox_msghdr *req)
{}

static void otx2vf_vfaf_mbox_up_handler(struct work_struct *work)
{}

static irqreturn_t otx2vf_vfaf_mbox_intr_handler(int irq, void *vf_irq)
{}

static void otx2vf_disable_mbox_intr(struct otx2_nic *vf)
{}

static int otx2vf_register_mbox_intr(struct otx2_nic *vf, bool probe_pf)
{}

static void otx2vf_vfaf_mbox_destroy(struct otx2_nic *vf)
{}

static int otx2vf_vfaf_mbox_init(struct otx2_nic *vf)
{}

static int otx2vf_open(struct net_device *netdev)
{}

static int otx2vf_stop(struct net_device *netdev)
{}

static netdev_tx_t otx2vf_xmit(struct sk_buff *skb, struct net_device *netdev)
{}

static void otx2vf_set_rx_mode(struct net_device *netdev)
{}

static void otx2vf_do_set_rx_mode(struct work_struct *work)
{}

static int otx2vf_change_mtu(struct net_device *netdev, int new_mtu)
{}

static void otx2vf_reset_task(struct work_struct *work)
{}

static int otx2vf_set_features(struct net_device *netdev,
			       netdev_features_t features)
{}

static const struct net_device_ops otx2vf_netdev_ops =;

static int otx2_wq_init(struct otx2_nic *vf)
{}

static int otx2vf_realloc_msix_vectors(struct otx2_nic *vf)
{}

static int otx2vf_probe(struct pci_dev *pdev, const struct pci_device_id *id)
{}

static void otx2vf_remove(struct pci_dev *pdev)
{}

static struct pci_driver otx2vf_driver =;

static int __init otx2vf_init_module(void)
{}

static void __exit otx2vf_cleanup_module(void)
{}

module_init();
module_exit(otx2vf_cleanup_module);