#include "hclge_mbx.h"
#include "hclgevf_main.h"
#include "hnae3.h"
#define CREATE_TRACE_POINTS
#include "hclgevf_trace.h"
static int hclgevf_resp_to_errno(u16 resp_code)
{ … }
#define HCLGEVF_MBX_MATCH_ID_START …
static void hclgevf_reset_mbx_resp_status(struct hclgevf_dev *hdev)
{ … }
static int hclgevf_get_mbx_resp(struct hclgevf_dev *hdev, u16 code0, u16 code1,
u8 *resp_data, u16 resp_len)
{ … }
int hclgevf_send_mbx_msg(struct hclgevf_dev *hdev,
struct hclge_vf_to_pf_msg *send_msg, bool need_resp,
u8 *resp_data, u16 resp_len)
{ … }
static bool hclgevf_cmd_crq_empty(struct hclgevf_hw *hw)
{ … }
static void hclgevf_handle_mbx_response(struct hclgevf_dev *hdev,
struct hclge_mbx_pf_to_vf_cmd *req)
{ … }
static void hclgevf_handle_mbx_msg(struct hclgevf_dev *hdev,
struct hclge_mbx_pf_to_vf_cmd *req)
{ … }
void hclgevf_mbx_handler(struct hclgevf_dev *hdev)
{ … }
static void hclgevf_parse_promisc_info(struct hclgevf_dev *hdev,
u16 promisc_info)
{ … }
void hclgevf_mbx_async_handler(struct hclgevf_dev *hdev)
{ … }