Lines Matching refs:vti
1519 struct virtchnl_tc_info *vti = NULL; in iavf_enable_channels() local
1530 len = virtchnl_struct_size(vti, list, adapter->num_tc); in iavf_enable_channels()
1531 vti = kzalloc(len, GFP_KERNEL); in iavf_enable_channels()
1532 if (!vti) in iavf_enable_channels()
1534 vti->num_tc = adapter->num_tc; in iavf_enable_channels()
1535 for (i = 0; i < vti->num_tc; i++) { in iavf_enable_channels()
1536 vti->list[i].count = adapter->ch_config.ch_info[i].count; in iavf_enable_channels()
1537 vti->list[i].offset = adapter->ch_config.ch_info[i].offset; in iavf_enable_channels()
1538 vti->list[i].pad = 0; in iavf_enable_channels()
1539 vti->list[i].max_tx_rate = in iavf_enable_channels()
1547 iavf_send_pf_msg(adapter, VIRTCHNL_OP_ENABLE_CHANNELS, (u8 *)vti, len); in iavf_enable_channels()
1548 kfree(vti); in iavf_enable_channels()