linux/drivers/net/ethernet/cisco/enic/enic_res.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright 2008-2010 Cisco Systems, Inc.  All rights reserved.
 * Copyright 2007 Nuova Systems, Inc.  All rights reserved.
 */

#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/types.h>
#include <linux/pci.h>
#include <linux/netdevice.h>

#include "wq_enet_desc.h"
#include "rq_enet_desc.h"
#include "cq_enet_desc.h"
#include "vnic_resource.h"
#include "vnic_enet.h"
#include "vnic_dev.h"
#include "vnic_wq.h"
#include "vnic_rq.h"
#include "vnic_cq.h"
#include "vnic_intr.h"
#include "vnic_stats.h"
#include "vnic_nic.h"
#include "vnic_rss.h"
#include "enic_res.h"
#include "enic.h"

int enic_get_vnic_config(struct enic *enic)
{}

int enic_add_vlan(struct enic *enic, u16 vlanid)
{}

int enic_del_vlan(struct enic *enic, u16 vlanid)
{}

int enic_set_nic_cfg(struct enic *enic, u8 rss_default_cpu, u8 rss_hash_type,
	u8 rss_hash_bits, u8 rss_base_cpu, u8 rss_enable, u8 tso_ipid_split_en,
	u8 ig_vlan_strip_en)
{}

int enic_set_rss_key(struct enic *enic, dma_addr_t key_pa, u64 len)
{}

int enic_set_rss_cpu(struct enic *enic, dma_addr_t cpu_pa, u64 len)
{}

void enic_free_vnic_resources(struct enic *enic)
{}

void enic_get_res_counts(struct enic *enic)
{}

void enic_init_vnic_resources(struct enic *enic)
{}

int enic_alloc_vnic_resources(struct enic *enic)
{}