Lines Matching refs:dlname
175 def dl_set(self, dlname, size, thtype): argument
176 run_cmd("devlink sb pool set {} sb {} pool {} size {} thtype {}".format(dlname, self["sb"],
185 def get_pools(dlname, direction=None): argument
188 for pooldict in d["pool"][dlname]:
194 def do_check_pools(dlname, pools, vp): argument
196 pre_pools = get_pools(dlname)
201 pool.dl_set(dlname, size, thtype)
202 post_pools = get_pools(dlname)
219 def check_pools(dlname, pools): argument
224 do_check_pools(dlname, pools, RandomValuePicker(pools))
227 do_check_pools(dlname, pools, record_vp)
290 def check_tcbind(dlname, ports, pools): argument
357 def check_portpool(dlname, ports, pools): argument
379 def get_ports(dlname): argument
383 if name.find(dlname) == 0 and d["port"][name]["flavour"] == "physical":
404 dlname = get_device()
405 if not dlname:
408 ports = get_ports(dlname)
409 pools = get_pools(dlname)
411 check_pools(dlname, pools)
412 check_tcbind(dlname, ports, pools)
413 check_portpool(dlname, ports, pools)