Searched full:vf_ifc (Results 1 – 1 of 1) sorted by relevance
122 vf_ifc = (os.listdir(124 if vf_ifc:125 ip(f"link set dev {vf_ifc} up")129 cmd(f"tc qdisc add dev {vf_ifc} root handle 5 mqprio mode dcb hw 1 num_tc 8")131 return vf_ifc134 def setup_vlans_on_vf(vf_ifc):144 vlan_dev = f"{vf_ifc}.{config['vlan_id']}"145 ip(f"link add link {vf_ifc} name {vlan_dev} type vlan id {config['vlan_id']}")149 ksft_pr(f"Created VLAN {vlan_dev} on {vf_ifc} with tc {config['tc']} and IP {config['ip']}")246 vf_ifc 137 setup_vlans_on_vf(vf_ifc) global() argument [all...]