Lines Matching full:entries
4 # This test is for checking functionality of flushing FDB entries.
152 local entries=$($BRIDGE fdb show dev $dev | grep "$filter" | wc -l)
154 [[ $entries -eq $exp_entries ]]
157 log_test $rc 0 "$dev: Expected $exp_entries FDB entries, got $entries"
176 log_test $? 0 "Flush FDB by dev vx10 - test vx10 entries"
179 log_test $? 0 "Flush FDB by dev vx10 - test vx20 entries"
198 log_test $? 0 "Test entries with vni $vni_1"
201 log_test $? 0 "Test entries with vni $vni_2"
206 # Set some entries with {vni=x,src_vni=y} and some with the opposite -
207 # {vni=y,src_vni=x}, to verify that when we flush by src_vni=x, entries
233 log_test $? 0 "Test entries with src_vni $src_vni_1"
236 log_test $? 0 "Test entries with src_vni $src_vni_2"
255 log_test $? 0 "Test entries with port $port_1"
258 log_test $? 0 "Test entries with port $port_2"
276 log_test $? 0 "Test entries with dst $dst_ip_1"
279 log_test $? 0 "Test entries with dst $dst_ip_2"
311 log_test $? 0 "Test entries with nhid $nhid_1"
314 log_test $? 0 "Test entries with nhid $nhid_2"
316 # Flush also entries with $nhid_1, and then verify that flushing by
317 # 'nhid' does not return an error when there are no entries with
323 log_test $? 0 "Test entries with 'nhid' keyword"
326 log_test $? 0 "Flush FDB by nhid when there are no entries with nexthop"
343 # Check the entries by dst_ip as not all states appear in 'bridge fdb'
352 log_test $? 0 "Test entries with state $state_1"
355 log_test $? 0 "Test entries with state $state_2"
360 # Entries that are added without state get 'permanent' state by
361 # default, add some entries with flag 'extern_learn' instead of state,
454 log_test $? 0 "Test entries with flag $flag_1"
457 log_test $? 0 "Test entries with flag $flag_2"
534 # All entries should be flushed as 'state' is not an argument for flush
537 log_test $? 0 "Test entries with state $state_1"
540 log_test $? 0 "Test entries with state $state_2"
553 # Only entries with $dst_ip_2 should be flushed, even the rest arguments
556 log_test $? 0 "Test entries with dst $dst_ip_1"
559 log_test $? 0 "Test entries with dst $dst_ip_2"
586 # For multicat FDB entries, the VXLAN driver stores a linked list of
604 log_test $? 0 "Check how many entries were flushed"
620 log_test $? 0 "Check how many entries were flushed"
636 log_test $? 0 "Check how many entries were flushed"
652 log_test $? 0 "Check how many entries were flushed"
677 log_test $? 0 "Flush FDB by dev br0 - test br0 entries"
680 log_test $? 0 "Flush FDB by dev br0 - test br1 entries"
709 log_test $? 0 "Test entries with vlan $vlan_1"
712 log_test $? 0 "Test entries with vlan $vlan_2"
730 # but the command should flush the entries in the bridge
736 log_test $? 0 "Test entries with vlan $vlan_1"
739 log_test $? 0 "Test entries with dst $dst_ip"