mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-21 00:39:33 +07:00
51dce24bcd
After many years of having a ~30 line copyright and license header to our source files, we are finally able to reduce that to one line with the advent of the SPDX identifier. Also caught a few files missing the SPDX license identifier, so fixed them up. Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Acked-by: Shannon Nelson <shannon.nelson@oracle.com> Acked-by: Richard Cochran <richardcochran@gmail.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
52 lines
1.4 KiB
C
52 lines
1.4 KiB
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/* Copyright(c) 2013 - 2018 Intel Corporation. */
|
|
|
|
#ifndef _FM10K_VF_H_
|
|
#define _FM10K_VF_H_
|
|
|
|
#include "fm10k_type.h"
|
|
#include "fm10k_common.h"
|
|
|
|
enum fm10k_vf_tlv_msg_id {
|
|
FM10K_VF_MSG_ID_TEST = 0, /* msg ID reserved for testing */
|
|
FM10K_VF_MSG_ID_MSIX,
|
|
FM10K_VF_MSG_ID_MAC_VLAN,
|
|
FM10K_VF_MSG_ID_LPORT_STATE,
|
|
FM10K_VF_MSG_ID_MAX,
|
|
};
|
|
|
|
enum fm10k_tlv_mac_vlan_attr_id {
|
|
FM10K_MAC_VLAN_MSG_VLAN,
|
|
FM10K_MAC_VLAN_MSG_SET,
|
|
FM10K_MAC_VLAN_MSG_MAC,
|
|
FM10K_MAC_VLAN_MSG_DEFAULT_MAC,
|
|
FM10K_MAC_VLAN_MSG_MULTICAST,
|
|
FM10K_MAC_VLAN_MSG_ID_MAX
|
|
};
|
|
|
|
enum fm10k_tlv_lport_state_attr_id {
|
|
FM10K_LPORT_STATE_MSG_DISABLE,
|
|
FM10K_LPORT_STATE_MSG_XCAST_MODE,
|
|
FM10K_LPORT_STATE_MSG_READY,
|
|
FM10K_LPORT_STATE_MSG_MAX
|
|
};
|
|
|
|
#define FM10K_VF_MSG_MSIX_HANDLER(func) \
|
|
FM10K_MSG_HANDLER(FM10K_VF_MSG_ID_MSIX, NULL, func)
|
|
|
|
s32 fm10k_msg_mac_vlan_vf(struct fm10k_hw *, u32 **, struct fm10k_mbx_info *);
|
|
extern const struct fm10k_tlv_attr fm10k_mac_vlan_msg_attr[];
|
|
#define FM10K_VF_MSG_MAC_VLAN_HANDLER(func) \
|
|
FM10K_MSG_HANDLER(FM10K_VF_MSG_ID_MAC_VLAN, \
|
|
fm10k_mac_vlan_msg_attr, func)
|
|
|
|
s32 fm10k_msg_lport_state_vf(struct fm10k_hw *, u32 **,
|
|
struct fm10k_mbx_info *);
|
|
extern const struct fm10k_tlv_attr fm10k_lport_state_msg_attr[];
|
|
#define FM10K_VF_MSG_LPORT_STATE_HANDLER(func) \
|
|
FM10K_MSG_HANDLER(FM10K_VF_MSG_ID_LPORT_STATE, \
|
|
fm10k_lport_state_msg_attr, func)
|
|
|
|
extern const struct fm10k_info fm10k_vf_info;
|
|
#endif /* _FM10K_VF_H */
|