CVS log for src/tests/net/if_vlan/t_vlan.sh
Up to [cvs.NetBSD.org] / src / tests / net / if_vlan
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.24.2.1: download - view: text, markup, annotated - select for diffs
Fri Nov 3 10:10:49 2023 UTC (13 months ago) by martin
Branches: netbsd-10
CVS tags: netbsd-10-0-RELEASE,
netbsd-10-0-RC6,
netbsd-10-0-RC5,
netbsd-10-0-RC4,
netbsd-10-0-RC3,
netbsd-10-0-RC2,
netbsd-10-0-RC1
Diff to: previous 1.24: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24: +136 -1
lines
Pull up following revision(s) (requested by yamaguchi in ticket #455):
sys/dev/pci/ixgbe/ixgbe.c: revision 1.347
sys/net/if_l2tp.c: revision 1.49
tests/net/if_vlan/t_vlan.sh: revision 1.25
sys/net/if_vlan.c: revision 1.171
sys/net/if_ethersubr.c: revision 1.326
sys/dev/pci/ixgbe/ixv.c: revision 1.194
Use ether_bpf_mtap only when the device supports vlan harware tagging
The function is bpf_mtap() for ethernet devices and *currently*
it is just handling VLAN tag stripped by the hardware.
l2tp(4): use ether_ifattach() to initialize ethercom
Support vlan(4) over l2tp(4)
Added the test for vlan over l2tp
Revision 1.25: download - view: text, markup, annotated - select for diffs
Thu Nov 2 09:50:50 2023 UTC (13 months ago) by yamaguchi
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
HEAD
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +136 -1
lines
Added the test for vlan over l2tp
Revision 1.24: download - view: text, markup, annotated - select for diffs
Thu Aug 19 03:27:05 2021 UTC (3 years, 3 months ago) by yamaguchi
Branches: MAIN
CVS tags: netbsd-10-base
Branch point for: netbsd-10
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +8 -7
lines
Make the test program run in background after doing BIOCPROMISC
t_vlan has rarely failed by checking IFF_PROMISC before the
test program do BIOCPROMISC. To solve this, BIOCPROMISC is
done in the foreground.
fixes PR/56357
Revision 1.23: download - view: text, markup, annotated - select for diffs
Wed Jul 14 08:51:51 2021 UTC (3 years, 4 months ago) by yamaguchi
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +4 -4
lines
vlan: Added missing $HIJACKING before brconfig
Revision 1.22: download - view: text, markup, annotated - select for diffs
Wed Jul 14 08:50:24 2021 UTC (3 years, 4 months ago) by yamaguchi
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +22 -4
lines
Added tests for adding vlan(4) to a bridge and deleting from it
- add vlan(4) that has no parent interface to a bridge member
- the vlan(4) cannot be added to a bridge member
- detach the parent interface of vlan(4) that is in a bridge member
- vlan(4) is deleted from a bridge member at the detaching
Revision 1.21: download - view: text, markup, annotated - select for diffs
Wed Jul 14 06:35:59 2021 UTC (3 years, 4 months ago) by yamaguchi
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +22 -1
lines
Added a test about clearing IFF_PROMISC at vlan_unconfig
This test is related to PR/49196
Revision 1.20: download - view: text, markup, annotated - select for diffs
Fri Jul 9 05:54:11 2021 UTC (3 years, 4 months ago) by yamaguchi
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +100 -1
lines
added tests for IFF_PROMISC of vlan(4)
Revision 1.19: download - view: text, markup, annotated - select for diffs
Tue Jul 6 01:18:22 2021 UTC (3 years, 5 months ago) by yamaguchi
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +5 -1
lines
vlan: added checks of linkstate
Revision 1.18: download - view: text, markup, annotated - select for diffs
Fri Jul 2 04:38:10 2021 UTC (3 years, 5 months ago) by yamaguchi
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +42 -9
lines
Added tests for changing a MTU when the vlan(4) is added to bridge(4)
The tests is for PR kern/56292
Revision 1.11.2.3: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:05:31 2020 UTC (4 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.11.2.2: preferred, colored; branchpoint 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11.2.2: +131 -2
lines
Mostly merge changes from HEAD upto 20200411
Revision 1.11.2.2: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:09:11 2020 UTC (4 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.11.2.1: preferred, colored; branchpoint 1.11: preferred, colored
Changes since revision 1.11.2.1: +3 -3
lines
Merge changes from current as of 20200406
Revision 1.17: download - view: text, markup, annotated - select for diffs
Sun Mar 8 09:05:33 2020 UTC (4 years, 8 months ago) by nisimura
Branches: MAIN
CVS tags: phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +3 -3
lines
address to ATF t_vlan failure. adapt ifmcstat(8) output format change.
Revision 1.15.2.1: download - view: text, markup, annotated - select for diffs
Wed Nov 13 12:50:30 2019 UTC (5 years ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-4-RELEASE,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1
Diff to: previous 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15: +132 -3
lines
Pull up following revision(s) (requested by yamaguchi in ticket #420):
sys/net/if_vlan.c: revision 1.148
tests/net/if_vlan/t_vlan.sh: revision 1.16
Fix a bug that vlan(4) fragments IPv6 packets
even the MTU > packet length.
The bug is appeared when the mtu is increased on SIOCSETVLAN.
From t-kusaba@IIJ
atf: add test cases for MTU that is increased on SIOCSETVLAN
From t-kusaba@IIJ, thanks
Revision 1.16: download - view: text, markup, annotated - select for diffs
Mon Nov 11 02:40:48 2019 UTC (5 years ago) by yamaguchi
Branches: MAIN
CVS tags: phil-wifi-20191119,
is-mlppp-base,
is-mlppp
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +132 -3
lines
atf: add test cases for MTU that is increased on SIOCSETVLAN
From t-kusaba@IIJ, thanks
Revision 1.11.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:10:10 2019 UTC (5 years, 5 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +165 -151
lines
Sync with HEAD
Revision 1.8.2.3: download - view: text, markup, annotated - select for diffs
Wed Dec 26 14:02:10 2018 UTC (5 years, 11 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.8.2.2: preferred, colored; branchpoint 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8.2.2: +161 -150
lines
Sync with HEAD, resolve a few conflicts
Revision 1.15: download - view: text, markup, annotated - select for diffs
Tue Dec 11 03:47:51 2018 UTC (5 years, 11 months ago) by ozaki-r
Branches: MAIN
CVS tags: phil-wifi-20190609,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
netbsd-9-base
Branch point for: netbsd-9
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +2 -2
lines
tests: add missing $af
Revision 1.14: download - view: text, markup, annotated - select for diffs
Fri Dec 7 09:29:01 2018 UTC (5 years, 11 months ago) by ozaki-r
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +9 -8
lines
tests: check error messages strictly
Revision 1.13: download - view: text, markup, annotated - select for diffs
Fri Dec 7 09:28:31 2018 UTC (5 years, 11 months ago) by ozaki-r
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +152 -142
lines
tests: reduce repeated phrases... (NFC)
Revision 1.8.2.2: download - view: text, markup, annotated - select for diffs
Mon Nov 26 01:52:53 2018 UTC (6 years ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.8.2.1: preferred, colored; branchpoint 1.8: preferred, colored
Changes since revision 1.8.2.1: +4 -1
lines
Sync with HEAD, resolve a couple of conflicts
Revision 1.12: download - view: text, markup, annotated - select for diffs
Wed Nov 14 05:07:48 2018 UTC (6 years ago) by knakahara
Branches: MAIN
CVS tags: pgoyette-compat-1126
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +4 -1
lines
let ATF detect a bug fixed by if_vla.c:r1.132.
Revision 1.8.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 25 07:26:09 2018 UTC (6 years, 5 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +200 -1
lines
Sync with HEAD
Revision 1.11: download - view: text, markup, annotated - select for diffs
Thu Jun 14 08:38:24 2018 UTC (6 years, 5 months ago) by yamaguchi
Branches: MAIN
CVS tags: phil-wifi-base,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
pgoyette-compat-0728,
pgoyette-compat-0625
Branch point for: phil-wifi
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -2
lines
Update the error message in t_vlan (ENXIO => EINVAL)
ok ozaki-r@
Revision 1.10: download - view: text, markup, annotated - select for diffs
Thu Jun 14 08:22:52 2018 UTC (6 years, 5 months ago) by yamaguchi
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +124 -1
lines
Add test cases for multicast address handling of vlan(4)
ok ozaki-r@
Revision 1.1.8.3: download - view: text, markup, annotated - select for diffs
Tue Jun 12 16:34:04 2018 UTC (6 years, 5 months ago) by snj
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2
Diff to: previous 1.1.8.2: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.8.2: +77 -1
lines
Pull up following revision(s) (requested by ozaki-r in ticket #876):
sys/net/if_vlan.c: 1.126
tests/net/if_vlan/t_vlan.sh: 1.9
vlan: call ether_ifdetach without IFNET_LOCK
Fix PR kern/53357
--
Add tests of vlan with bridge
The tests trigger a panic reported in PR kern/53357.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Tue Jun 12 04:21:22 2018 UTC (6 years, 5 months ago) by ozaki-r
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +77 -1
lines
Add tests of vlan with bridge
The tests trigger a panic reported in PR kern/53357.
Revision 1.1.8.2: download - view: text, markup, annotated - select for diffs
Mon Feb 26 00:41:14 2018 UTC (6 years, 9 months ago) by snj
Branches: netbsd-8
CVS tags: netbsd-8-0-RC1
Diff to: previous 1.1.8.1: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.8.1: +4 -1
lines
Pull up following revision(s) (requested by ozaki-r in ticket #572):
sys/net/if_bridge.c: 1.138, 1.148
tests/net/if_bridge/t_bridge.sh: 1.18
tests/net/if_gif/t_gif.sh: 1.12
tests/net/if_ipsec/t_ipsec.sh: 1.3
tests/net/if_l2tp/t_l2tp.sh: 1.4
tests/net/if_loop/t_basic.sh: 1.2
tests/net/if_pppoe/t_pppoe.sh: 1.18
tests/net/if_tap/t_tap.sh: 1.7
tests/net/if_tun/Makefile: 1.2
tests/net/if_tun/t_tun.sh: 1.5
tests/net/if_vlan/t_vlan.sh: 1.8
tests/net/net_common.sh: 1.26
Remove unnecessary splsoftnet
--
If the bridge is not running, don't call bridge_stop. Otherwise the
following commands will crash the kernel:
ifconfig bridge0 create
ifconfig bridge0 destroy
--
Commonalize and add tests of creating/destroying interfaces
Revision 1.8: download - view: text, markup, annotated - select for diffs
Thu Feb 1 05:22:02 2018 UTC (6 years, 10 months ago) by ozaki-r
Branches: MAIN
CVS tags: pgoyette-compat-base,
pgoyette-compat-0521,
pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315
Branch point for: pgoyette-compat
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +4 -1
lines
Commonalize and add tests of creating/destroying interfaces
Revision 1.7: download - view: text, markup, annotated - select for diffs
Thu Nov 23 04:59:49 2017 UTC (7 years ago) by kre
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +16 -3
lines
Since there was already a test to verify that vlan tag 4096 is
detected as invalid, become the "someone" referred to in the
previous commit log, and add tests for 0 and 4095 as well, and
while here, throw in a few more that might elicit bugs.
And if the shell running the tests is able, add tests of a few
random vlan tags between 2 and 4093 (1 and 4094 are always tested)
to check that anything in range works (well, partially check...)
Revision 1.6: download - view: text, markup, annotated - select for diffs
Thu Nov 23 04:12:36 2017 UTC (7 years ago) by kre
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +3 -3
lines
Don't attempt to test vlan tags 0 or 4095, which are now rejected
as invalid (perhaps someone could add a test to verify that they
continue to be rejected?)
Revision 1.1.8.1: download - view: text, markup, annotated - select for diffs
Wed Nov 22 16:45:35 2017 UTC (7 years ago) by martin
Branches: netbsd-8
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +427 -19
lines
Pull up following revision(s) (requested by msaitoh in ticket #380):
tests/net/if_vlan/t_vlan.sh: revision 1.2
tests/net/if_vlan/t_vlan.sh: revision 1.3
tests/net/if_vlan/t_vlan.sh: revision 1.4
tests/net/if_vlan/t_vlan.sh: revision 1.5
Add test cases for vlan(4)
From s-yamaguchi@IIJ
Add counter check to vlan(4) ATF. Implemented by s-yamaguchi@IIJ, thanks.
Add a test case for duplicated VLAN ID.
Add test case of vlan(4)'s re-configure without destroy
(see also if_vlan.c rev. 1.104). Written by s-yamaguchi@iij.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Thu Nov 16 06:31:00 2017 UTC (7 years ago) by msaitoh
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +8 -2
lines
Add test case of vlan(4)'s re-configure without destroy
(see also if_vlan.c rev. 1.104). Written by s-yamaguchi@iij.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Wed Oct 11 08:10:53 2017 UTC (7 years, 1 month ago) by msaitoh
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +7 -1
lines
Add a test case for duplicated VLAN ID.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Wed Aug 9 06:19:56 2017 UTC (7 years, 3 months ago) by knakahara
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +15 -1
lines
Add counter check to vlan(4) ATF. Implemented by s-yamaguchi@IIJ, thanks.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Wed Jun 14 02:32:29 2017 UTC (7 years, 5 months ago) by ozaki-r
Branches: MAIN
CVS tags: perseant-stdc-iso10646-base,
perseant-stdc-iso10646
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +401 -19
lines
Add test cases for vlan(4)
From s-yamaguchi@IIJ
Revision 1.1.2.2: download - view: text, markup, annotated - select for diffs
Sat Jan 7 08:56:56 2017 UTC (7 years, 10 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.1.2.1: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.2.1: +115 -0
lines
Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
Revision 1.1.2.1
Sat Nov 26 03:19:49 2016 UTC (8 years ago) by pgoyette
Branches: pgoyette-localcount
FILE REMOVED
Changes since revision 1.1: +0 -115
lines
file t_vlan.sh was added on branch pgoyette-localcount on 2017-01-07 08:56:56 +0000
Revision 1.1: download - view: text, markup, annotated - select for diffs
Sat Nov 26 03:19:49 2016 UTC (8 years ago) by ozaki-r
Branches: MAIN
CVS tags: prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
pgoyette-localcount-20170107,
netbsd-8-base,
matt-nb8-mediatek-base,
matt-nb8-mediatek,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan
Branch point for: pgoyette-localcount,
netbsd-8
Add basic tests for vlan(4)
CVSweb <webmaster@jp.NetBSD.org>