Lines Matching refs:msg_data
1089 uint8_t msg_data[HNS3VF_VLAN_MBX_MSG_LEN]; in hns3vf_vlan_filter_configure() local
1093 msg_data[0] = is_kill; in hns3vf_vlan_filter_configure()
1094 memcpy(&msg_data[1], &vlan_id, sizeof(vlan_id)); in hns3vf_vlan_filter_configure()
1095 memcpy(&msg_data[3], &proto, sizeof(proto)); in hns3vf_vlan_filter_configure()
1098 msg_data, HNS3VF_VLAN_MBX_MSG_LEN, true, NULL, in hns3vf_vlan_filter_configure()
1128 uint8_t msg_data; in hns3vf_en_vlan_filter() local
1134 msg_data = enable ? 1 : 0; in hns3vf_en_vlan_filter()
1136 HNS3_MBX_ENABLE_VLAN_FILTER, &msg_data, in hns3vf_en_vlan_filter()
1137 sizeof(msg_data), true, NULL, 0); in hns3vf_en_vlan_filter()
1148 uint8_t msg_data; in hns3vf_en_hw_strip_rxvtag() local
1151 msg_data = enable ? 1 : 0; in hns3vf_en_hw_strip_rxvtag()
1153 &msg_data, sizeof(msg_data), false, NULL, 0); in hns3vf_en_hw_strip_rxvtag()
1297 uint8_t msg_data; in hns3vf_set_alive() local
1299 msg_data = alive ? 1 : 0; in hns3vf_set_alive()
1300 return hns3_send_mbx_msg(hw, HNS3_MBX_SET_ALIVE, 0, &msg_data, in hns3vf_set_alive()
1301 sizeof(msg_data), false, NULL, 0); in hns3vf_set_alive()