linux/drivers/scsi/fnic/vnic_nic.h

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

/*
 * These defines avoid symbol clash between fnic and enic (Cisco 10G Eth
 * Driver) when both are built with CONFIG options =y
 */
#define vnic_set_nic_cfg

#define NIC_CFG_RSS_DEFAULT_CPU_MASK_FIELD
#define NIC_CFG_RSS_DEFAULT_CPU_SHIFT
#define NIC_CFG_RSS_HASH_TYPE
#define NIC_CFG_RSS_HASH_TYPE_MASK_FIELD
#define NIC_CFG_RSS_HASH_TYPE_SHIFT
#define NIC_CFG_RSS_HASH_BITS
#define NIC_CFG_RSS_HASH_BITS_MASK_FIELD
#define NIC_CFG_RSS_HASH_BITS_SHIFT
#define NIC_CFG_RSS_BASE_CPU
#define NIC_CFG_RSS_BASE_CPU_MASK_FIELD
#define NIC_CFG_RSS_BASE_CPU_SHIFT
#define NIC_CFG_RSS_ENABLE
#define NIC_CFG_RSS_ENABLE_MASK_FIELD
#define NIC_CFG_RSS_ENABLE_SHIFT
#define NIC_CFG_TSO_IPID_SPLIT_EN
#define NIC_CFG_TSO_IPID_SPLIT_EN_MASK_FIELD
#define NIC_CFG_TSO_IPID_SPLIT_EN_SHIFT
#define NIC_CFG_IG_VLAN_STRIP_EN
#define NIC_CFG_IG_VLAN_STRIP_EN_MASK_FIELD
#define NIC_CFG_IG_VLAN_STRIP_EN_SHIFT

static inline void vnic_set_nic_cfg(u32 *nic_cfg,
	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)
{}

#endif /* _VNIC_NIC_H_ */