Searched refs:vti (Results 1 – 4 of 4) sorted by relevance
972 struct virtchnl_tc_info *vti = NULL; in iavf_enable_channels() local983 len = struct_size(vti, list, adapter->num_tc - 1); in iavf_enable_channels()984 vti = kzalloc(len, GFP_KERNEL); in iavf_enable_channels()985 if (!vti) in iavf_enable_channels()987 vti->num_tc = adapter->num_tc; in iavf_enable_channels()988 for (i = 0; i < vti->num_tc; i++) { in iavf_enable_channels()989 vti->list[i].count = adapter->ch_config.ch_info[i].count; in iavf_enable_channels()990 vti->list[i].offset = adapter->ch_config.ch_info[i].offset; in iavf_enable_channels()991 vti->list[i].pad = 0; in iavf_enable_channels()992 vti->list[i].max_tx_rate = in iavf_enable_channels()[all …]
400 …run_cmd ${ns_a} ip link add vti${proto}_a type ${vti_type} local ${veth_a_addr} remote ${veth_b_ad…401 …run_cmd ${ns_b} ip link add vti${proto}_b type ${vti_type} local ${veth_b_addr} remote ${veth_a_ad…403 run_cmd ${ns_a} ip addr add ${vti_a_addr}/${vti_mask} dev vti${proto}_a404 run_cmd ${ns_b} ip addr add ${vti_b_addr}/${vti_mask} dev vti${proto}_b406 run_cmd ${ns_a} ip link set vti${proto}_a up407 run_cmd ${ns_b} ip link set vti${proto}_b up998 run_cmd ${ns_a} ip link add vti4_a type vti local ${veth4_a_addr} remote ${veth4_b_addr} key 101008 …run_cmd ${ns_a} ip link add vti4_a mtu ${v} type vti local ${veth4_a_addr} remote ${veth4_b_addr} …1021 …run_cmd ${ns_a} ip link add vti4_a mtu ${v} type vti local ${veth4_a_addr} remote ${veth4_b_addr} …
810 struct virtchnl_tc_info *vti = in virtchnl_vc_validate_vf_msg() local812 valid_len += (vti->num_tc - 1) * in virtchnl_vc_validate_vf_msg()814 if (vti->num_tc == 0) in virtchnl_vc_validate_vf_msg()
9 <http://www.vti.fi/en/>