FreeBSD Bugzilla – Attachment 217046 Details for
Bug 236584
em(4): Cannot disable vlanhwtag
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
em vlanhwtag patch tests
em_vlanhwtag_patch_tests (text/plain), 4.33 KB, created by
Murat
on 2020-08-06 00:01:42 UTC
(
hide
)
Description:
em vlanhwtag patch tests
Filename:
MIME Type:
Creator:
Murat
Created:
2020-08-06 00:01:42 UTC
Size:
4.33 KB
patch
obsolete
> > >Tests are run on HP Compaq Pro 6305 SFF Desktop PC. See compaq_pro_6305_sff_dmesg.boot > >em(4) adapter in USE: >root@sunnyvalley12:~ # pciconf -l | grep em >em0@pci0:8:0:0: class=0x020000 card=0xa01f8086 chip=0x10d38086 rev=0x00 hdr=0x00 >root@sunnyvalley12:~ # > > >WITHOUT NETMAP: file copy on parent and vlan interfaces: > >root@sunnyvalley12:~ # ifconfig em0 >em0: flags=28943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST,PPROMISC> metric 0 mtu 1500 > options=812088<VLAN_MTU,VLAN_HWCSUM,WOL_MAGIC,VLAN_HWFILTER> > ether 68:05:ca:80:48:27 > inet6 fe80::6a05:caff:fe80:4827%em0 prefixlen 64 scopeid 0x7 > inet 10.50.0.1 netmask 0xffffff00 broadcast 10.50.0.255 > media: Ethernet autoselect (1000baseT <full-duplex>) > status: active > nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> >root@sunnyvalley12:~ # ifconfig em0_vlan100 >em0_vlan100: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 > ether 68:05:ca:80:48:27 > inet6 fe80::6a05:caff:fe80:4827%em0_vlan100 prefixlen 64 scopeid 0xd > inet 10.50.100.1 netmask 0xffffff00 broadcast 10.50.100.255 > groups: vlan > vlan: 100 vlanpcp: 0 parent interface: em0 > media: Ethernet autoselect (1000baseT <full-duplex>) > status: active > nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> >root@sunnyvalley12:~ # > > >a@a:~/Downloads$ scp bigfile root@10.50.0.1: >Password: >bigfile 100% 1592MB 101.1MB/s 00:15 >a@a:~/Downloads$ scp bigfile root@10.50.100.1: >Password: >bigfile 100% 1592MB 100.1MB/s 00:15 >a@a:~/Downloads$ > > > >With the patch, adapter correctly enables/disables VLAN_HWTAGGING configuration: > > >root@sunnyvalley12:~ # ifconfig >em0: flags=28943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST,PPROMISC> metric 0 mtu 1500 > options=912098<VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,VLAN_HWFILTER,NETMAP> > ether 68:05:ca:80:48:27 > inet6 fe80::6a05:caff:fe80:4827%em0 prefixlen 64 scopeid 0x7 > inet 10.50.0.1 netmask 0xffffff00 broadcast 10.50.0.255 > media: Ethernet autoselect (1000baseT <full-duplex>) > status: active > nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> >em0_vlan100: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 > ether 68:05:ca:80:48:27 > inet6 fe80::6a05:caff:fe80:4827%em0_vlan100 prefixlen 64 scopeid 0xd > inet 10.50.100.1 netmask 0xffffff00 broadcast 10.50.100.255 > groups: vlan > vlan: 100 vlanpcp: 0 parent interface: em0 > media: Ethernet autoselect (1000baseT <full-duplex>) > status: active > nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> >root@sunnyvalley12:~ # >root@sunnyvalley12:~ # ifconfig em0 -vlanhwtag >root@sunnyvalley12:~ # ifconfig em0 >em0: flags=28943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST,PPROMISC> metric 0 mtu 1500 > options=912088<VLAN_MTU,VLAN_HWCSUM,WOL_MAGIC,VLAN_HWFILTER,NETMAP> > ether 68:05:ca:80:48:27 > inet6 fe80::6a05:caff:fe80:4827%em0 prefixlen 64 scopeid 0x7 > inet 10.50.0.1 netmask 0xffffff00 broadcast 10.50.0.255 > media: Ethernet autoselect (1000baseT <full-duplex>) > status: active > nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> >root@sunnyvalley12:~ # ifconfig em0 vlanhwtag >root@sunnyvalley12:~ # ifconfig em0 >em0: flags=28943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST,PPROMISC> metric 0 mtu 1500 > options=912098<VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,VLAN_HWFILTER,NETMAP> > ether 68:05:ca:80:48:27 > inet6 fe80::6a05:caff:fe80:4827%em0 prefixlen 64 scopeid 0x7 > inet 10.50.0.1 netmask 0xffffff00 broadcast 10.50.0.255 > media: Ethernet autoselect (1000baseT <full-duplex>) > status: active > nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> >root@sunnyvalley12:~ # ifconfig em0 -vlanhwtag >root@sunnyvalley12:~ # ifconfig em0 >em0: flags=28943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST,PPROMISC> metric 0 mtu 1500 > options=912088<VLAN_MTU,VLAN_HWCSUM,WOL_MAGIC,VLAN_HWFILTER,NETMAP> > ether 68:05:ca:80:48:27 > inet6 fe80::6a05:caff:fe80:4827%em0 prefixlen 64 scopeid 0x7 > inet 10.50.0.1 netmask 0xffffff00 broadcast 10.50.0.255 > media: Ethernet autoselect (1000baseT <full-duplex>) > status: active > nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> >root@sunnyvalley12:~ # > > > >With NETMAP (and Suricata): file copy on parent and vlan interfaces: > >a@a:~/Downloads$ scp bigfile root@10.50.0.1: >Password: >bigfile 100% 1592MB 85.5MB/s 00:18 >a@a:~/Downloads$ scp bigfile root@10.50.100.1: >Password: >bigfile 100% 1592MB 86.2MB/s 00:18 >a@a:~/Downloads$ > > > > >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 236584
:
215584
| 217046 |
217047