Lines Matching full:psample
29 psample psample: Sampling packets with psample"
245 # psample test
246 # - use psample to observe packets
251 ovs_add_dp "test_psample" psample -V 2:1 || return 1
254 ovs_add_netns_and_veths "test_psample" "psample" \
256 ovs_add_netns_and_veths "test_psample" "psample" \
259 # Check if psample actions can be configured.
260 ovs_add_flow "test_psample" psample \
261 'in_port(1),eth(),eth_type(0x0806),arp()' 'psample(group=1)' &> /dev/null
263 info "no support for psample - skipping"
268 ovs_del_flows "test_psample" psample
275 "cookie to large"*"psample(group=1,cookie=1615141312111009080706050403020100)" \
276 "no group with cookie"*"psample(cookie=abcd)" \
277 "no group"*"psample()";
280 ovs_test_flow_fails "test_psample" psample $min_key $2
288 ovs_del_flows "test_psample" psample
290 ovs_add_flow "test_psample" psample \
292 ovs_add_flow "test_psample" psample \
296 ovs_add_flow "test_psample" psample \
298 "trunc(14),psample(group=1,cookie=c0ffee),2"
301 # psample and an upcall emulating simultaneous local sampling and
306 ovs_add_flow "test_psample" psample \
308 …"sample(sample=100%,actions(psample(group=2,cookie=eeff0c),userspace(pid=${nlpid},userdata=eeff0c)…
310 # Record psample data.
311 ovs_spawn_daemon "test_psample" python3 $ovs_base/ovs-dpctl.py psample-events
312 ovs_wait grep -q "listening for psample events" ${ovs_dir}/stdout
317 # We should have received one userspace action upcall and 2 psample packets.