Home
last modified time | relevance | path

Searched refs:vti (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/intel/iavf/
H A Diavf_virtchnl.c1060 struct virtchnl_tc_info *vti = NULL; in iavf_enable_channels() local
1071 len = struct_size(vti, list, adapter->num_tc - 1); in iavf_enable_channels()
1072 vti = kzalloc(len, GFP_KERNEL); in iavf_enable_channels()
1073 if (!vti) in iavf_enable_channels()
1075 vti->num_tc = adapter->num_tc; in iavf_enable_channels()
1076 for (i = 0; i < vti->num_tc; i++) { in iavf_enable_channels()
1077 vti->list[i].count = adapter->ch_config.ch_info[i].count; in iavf_enable_channels()
1078 vti->list[i].offset = adapter->ch_config.ch_info[i].offset; in iavf_enable_channels()
1079 vti->list[i].pad = 0; in iavf_enable_channels()
1080 vti in iavf_enable_channels()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/iavf/
H A Diavf_virtchnl.c1498 struct virtchnl_tc_info *vti = NULL; in iavf_enable_channels() local
1509 len = virtchnl_struct_size(vti, list, adapter->num_tc); in iavf_enable_channels()
1510 vti = kzalloc(len, GFP_KERNEL); in iavf_enable_channels()
1511 if (!vti) in iavf_enable_channels()
1513 vti->num_tc = adapter->num_tc; in iavf_enable_channels()
1514 for (i = 0; i < vti->num_tc; i++) { in iavf_enable_channels()
1515 vti->list[i].count = adapter->ch_config.ch_info[i].count; in iavf_enable_channels()
1516 vti->list[i].offset = adapter->ch_config.ch_info[i].offset; in iavf_enable_channels()
1517 vti->list[i].pad = 0; in iavf_enable_channels()
1518 vti in iavf_enable_channels()
[all...]
/kernel/linux/linux-6.6/include/linux/avf/
H A Dvirtchnl.h1548 struct virtchnl_tc_info *vti = in virtchnl_vc_validate_vf_msg() local
1550 valid_len = virtchnl_struct_size(vti, list, in virtchnl_vc_validate_vf_msg()
1551 vti->num_tc); in virtchnl_vc_validate_vf_msg()
1552 if (vti->num_tc == 0) in virtchnl_vc_validate_vf_msg()
/kernel/linux/linux-5.10/include/linux/avf/
H A Dvirtchnl.h813 struct virtchnl_tc_info *vti = in virtchnl_vc_validate_vf_msg() local
815 valid_len += (vti->num_tc - 1) * in virtchnl_vc_validate_vf_msg()
817 if (vti->num_tc == 0) in virtchnl_vc_validate_vf_msg()
/kernel/linux/linux-5.10/tools/testing/selftests/net/
H A Dpmtu.sh114 # Set up vti tunnel on top of veth, with xfrm states and policies, in two
130 # endpoints. Check that MTU assigned to vti interface is the MTU of the
531 [ ${proto} -eq 6 ] && vti_type="vti6" || vti_type="vti"
533 run_cmd ${ns_a} ip link add vti${proto}_a type ${vti_type} local ${veth_a_addr} remote ${veth_b_addr} key 10 || return 1
534 run_cmd ${ns_b} ip link add vti${proto}_b type ${vti_type} local ${veth_b_addr} remote ${veth_a_addr} key 10
536 run_cmd ${ns_a} ip addr add ${vti_a_addr}/${vti_mask} dev vti${proto}_a
537 run_cmd ${ns_b} ip addr add ${vti_b_addr}/${vti_mask} dev vti${proto}_b
539 run_cmd ${ns_a} ip link set vti${proto}_a up
540 run_cmd ${ns_b} ip link set vti${proto}_b up
1437 # Check that MTU of vti devic
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/net/
H A Dpmtu.sh123 # Set up vti tunnel on top of veth, with xfrm states and policies, in two
134 # Set up vti tunnel on top of veth connected through routing namespace and
151 # Same as pmtu_vti6_udp_routed_exception but with routing between vti
156 # endpoints. Check that MTU assigned to vti interface is the MTU of the
571 [ ${proto} -eq 6 ] && vti_type="vti6" || vti_type="vti"
573 run_cmd ${ns_a} ip link add vti${proto}_a type ${vti_type} local ${veth_a_addr} remote ${veth_b_addr} key 10 || return 1
574 run_cmd ${ns_b} ip link add vti${proto}_b type ${vti_type} local ${veth_b_addr} remote ${veth_a_addr} key 10
576 run_cmd ${ns_a} ip addr add ${vti_a_addr}/${vti_mask} dev vti${proto}_a
577 run_cmd ${ns_b} ip addr add ${vti_b_addr}/${vti_mask} dev vti${proto}_b
579 run_cmd ${ns_a} ip link set vti
[all...]

Completed in 11 milliseconds