Lines Matching +full:set +full:- +full:up
2 # SPDX-License-Identifier: GPL-2.0
11 def empty_check(nf) -> None:
16 def lo_check(nf) -> None:
18 ksft_eq(len(lo_info['xdp-features']), 0)
19 ksft_eq(len(lo_info['xdp-rx-metadata-features']), 0)
22 def napi_list_check(nf) -> None:
26 ip(f"link set dev {nsim.ifname} up")
38 def napi_set_threaded(nf) -> None:
41 set and unset at napi and device level.
46 ip(f"link set dev {nsim.ifname} up")
54 # set napi threaded and verify
60 # check it is not set for napi1
65 ip(f"link set dev {nsim.ifname} down")
66 ip(f"link set dev {nsim.ifname} up")
68 # verify if napi threaded is still set
73 # check it is still not set for napi1
84 # set threaded at device level
87 # check napi threaded is set for both napis
106 # set napi threaded for napi0
123 def dev_set_threaded(nf) -> None:
126 set and unset at device level using sysfs.
131 ip(f"link set dev {nsim.ifname} up")
139 # set threaded
142 # check napi threaded is set for both napis
161 def nsim_rxq_reset_down(nf) -> None:
171 ip(f"link set dev {nsim.ifname} down")
176 def page_pool_check(nf) -> None:
180 def up(): function
181 ip(f"link set dev {nsim.ifname} up")
184 ip(f"link set dev {nsim.ifname} down")
194 # Up, empty page pool appears
195 up()
206 # Up, allocate a page
207 up()
219 attached = [pp for pp in pp_list if "detach-time" not in pp]
223 up()
225 attached = [pp for pp in pp_list if "detach-time" not in pp]
226 detached = [pp for pp in pp_list if "detach-time" in pp]
241 up()
245 def main() -> None: