Home
last modified time | relevance | path

Searched refs:veal (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/intel/iavf/
Diavf_virtchnl.c452 struct virtchnl_ether_addr_list *veal; in iavf_add_ether_addrs() local
478 len = virtchnl_struct_size(veal, list, count); in iavf_add_ether_addrs()
482 len = virtchnl_struct_size(veal, list, --count); in iavf_add_ether_addrs()
486 veal = kzalloc(len, GFP_ATOMIC); in iavf_add_ether_addrs()
487 if (!veal) { in iavf_add_ether_addrs()
492 veal->vsi_id = adapter->vsi_res->vsi_id; in iavf_add_ether_addrs()
493 veal->num_elements = count; in iavf_add_ether_addrs()
496 ether_addr_copy(veal->list[i].addr, f->macaddr); in iavf_add_ether_addrs()
497 iavf_set_mac_addr_type(&veal->list[i], f); in iavf_add_ether_addrs()
509 iavf_send_pf_msg(adapter, VIRTCHNL_OP_ADD_ETH_ADDR, (u8 *)veal, len); in iavf_add_ether_addrs()
[all …]
/linux-6.6.21/include/linux/avf/
Dvirtchnl.h1468 struct virtchnl_ether_addr_list *veal = in virtchnl_vc_validate_vf_msg() local
1470 valid_len = virtchnl_struct_size(veal, list, in virtchnl_vc_validate_vf_msg()
1471 veal->num_elements); in virtchnl_vc_validate_vf_msg()
1472 if (veal->num_elements == 0) in virtchnl_vc_validate_vf_msg()