Date: Wed, 10 Nov 2010 05:55:37 -0800 (PST) From: Kirill Yelizarov <ykirill@yahoo.com> To: freebsd-stable@freebsd.org Cc: Jeremy Chadwick <freebsd@jdc.parodius.com> Subject: Re: icmp packets on em larger than 1472 Message-ID: <852653.73197.qm@web120519.mail.ne1.yahoo.com> In-Reply-To: <20101110125922.GA59015@icarus.home.lan>
next in thread | previous in thread | raw e-mail | index | archive | help
=0A=0A--- On Wed, 11/10/10, Jeremy Chadwick <freebsd@jdc.parodius.com> wrot= e:=0A=0A> From: Jeremy Chadwick <freebsd@jdc.parodius.com>=0A> Subject: Re:= icmp packets on em larger than 1472=0A> To: "Kirill Yelizarov" <ykirill@ya= hoo.com>=0A> Cc: freebsd-stable@freebsd.org, "Jack Vogel" <jfvogel@gmail.co= m>=0A> Date: Wednesday, November 10, 2010, 3:59 PM=0A> On Wed, Nov 10, 2010= at 04:21:12AM=0A> -0800, Kirill Yelizarov wrote:=0A> > Hi,=0A> > =0A> > Al= l my em cards running 8.1 stable don't reply to icmp=0A> echo requests pack= ets larger than 1472 bytes.=0A> > =0A> > On stable 7.2 the same hardware wo= rks as expected:=0A> > # ping -s 1500 192.168.64.99=0A> > PING 192.168.64.9= 9 (192.168.64.99): 1500 data bytes=0A> > 1508 bytes from 192.168.64.99: icm= p_seq=3D0 ttl=3D63=0A> time=3D1.249 ms=0A> > 1508 bytes from 192.168.64.99:= icmp_seq=3D1 ttl=3D63=0A> time=3D1.158 ms=0A> > =0A> > Here is the dump on= em interface=0A> > 15:06:31.452043 IP 192.168.66.65 > *****: ICMP echo=0A>= request, id 28729, seq 5, length 1480=0A> > 15:06:31.452047 IP 192.168.66.= 65 > ****: icmp=0A> > 15:06:31.452069 IP **** > 192.168.66.65: ICMP echo=0A= > reply, id 28729, seq 5, length 1480=0A> > 15:06:31.452071 IP *** > 192.16= 8.66.65: icmp=0A> >=A0 =0A> > Same ping from same source (it's a 8.1 stable= with fxp=0A> interface) to em card running 8.1 stable=0A> > #pciconf -lv= =0A> > em0@pci0:3:4:0:=A0=A0=A0 class=3D0x020000=0A> card=3D0x10798086 chip= =3D0x10798086 rev=3D0x03 hdr=3D0x00=0A> >=A0 =A0=A0=A0vendor=A0=0A> =A0=A0= =A0=3D 'Intel Corporation'=0A> >=A0 =A0=A0=A0device=A0=0A> =A0=A0=A0=3D 'Du= al Port Gigabit Ethernet Controller=0A> (82546EB)'=0A> >=A0 =A0=A0=A0class= =A0 =A0 =A0 =3D=0A> network=0A> >=A0 =A0=A0=A0subclass=A0=A0=A0=3D=0A> ethe= rnet=0A> > =0A> > # ping -s 1472 192.168.64.200=0A> > PING 192.168.64.200 (= 192.168.64.200): 1472 data bytes=0A> > 1480 bytes from 192.168.64.200: icmp= _seq=3D0 ttl=3D63=0A> time=3D0.848 ms=0A> > ^C=0A> > =0A> > # ping -s 1473 = 192.168.64.200=0A> > PING 192.168.64.200 (192.168.64.200): 1473 data bytes= =0A> > ^C=0A> > --- 192.168.64.200 ping statistics ---=0A> > 4 packets tran= smitted, 0 packets received, 100.0%=0A> packet loss=0A> > =0A> > And here i= s it's dump on em card=0A> > 5:11:15.191496 IP 192.168.66.65 > *****: ICMP = echo=0A> request, id 33593, seq 0, length 1480=0A> > 15:11:15.191534 IP 192= .168.66.65 > *****: icmp=0A> > 15:11:16.192119 IP 192.168.66.65 > *****: IC= MP echo=0A> request, id 33593, seq 1, length 1480=0A> > 15:11:16.192156 IP = 192.168.66.65 > ******: icmp=0A> > =0A> > igb cards on 8.1 stable are not a= ffected=0A> =0A> Please provide uname -a output from the machine with the= =0A> emX devices, as=0A> well as relevant emX information from "dmesg" (e.g= . driver=0A> version).=0A> "sysctl dev.em.X" might also be helpful.=0A> =0A= =0AHere are the two examples=0A=0Auname -a=0AFreeBSD border1 8.1-STABLE Fre= eBSD 8.1-STABLE #0: Thu Aug 26 16:54:15 MSD 2010 root@border1:/usr/obj/= usr/src/sys/BORDER1 amd64=0A=0AOct 22 14:36:18 border1 kernel: em0: <Intel= (R) PRO/1000 Legacy Network Connection 1.0.1> port 0xdc00-0xdc3f mem 0xfcfc= 0000-0xfcfdffff irq 54 at device 4.0 on pci3=0AOct 22 14:36:18 border1 kern= el: em0: [FILTER]=0AOct 22 14:36:18 border1 kernel: em0: Ethernet address: = 00:04:23:cc:df:ea=0AOct 22 14:36:18 border1 kernel: em1: <Intel(R) PRO/1000= Legacy Network Connection 1.0.1> port 0xdc80-0xdcbf mem 0xfcfe0000-0xfcfff= fff irq 55 at device 4.1 on pci3=0AOct 22 14:36:18 border1 kernel: em1: [FI= LTER]=0AOct 22 14:36:18 border1 kernel: em1: Ethernet address: 00:04:23:cc:= df:eb=0A=0Adev.em.0.%desc: Intel(R) PRO/1000 Network Connection 7.0.5=0Adev= .em.0.%driver: em=0Adev.em.0.%location: slot=3D0 function=3D0 handle=3D\_SB= _.PCI0.MRP1.HART=0Adev.em.0.%pnpinfo: vendor=3D0x8086 device=3D0x10d3 subve= ndor=3D0x8086 subdevice=3D0x34da class=3D0x020000=0Adev.em.0.%parent: pci1= =0Adev.em.0.nvm: -1=0Adev.em.0.rx_int_delay: 66=0Adev.em.0.tx_int_delay: 66= =0Adev.em.0.rx_abs_int_delay: 250=0Adev.em.0.tx_abs_int_delay: 250=0Adev.em= .0.rx_processing_limit: -1=0Adev.em.0.link_irq: 0=0Adev.em.0.mbuf_alloc_fai= l: 0=0Adev.em.0.cluster_alloc_fail: 0=0Adev.em.0.dropped: 0=0Adev.em.0.tx_d= ma_fail: 0=0Adev.em.0.rx_overruns: 0=0Adev.em.0.watchdog_timeouts: 0=0Adev.= em.0.device_control: 1477444168=0Adev.em.0.rx_control: 67141634=0Adev.em.0.= fc_high_water: 18432=0Adev.em.0.fc_low_water: 16932=0Adev.em.0.queue0.txd_h= ead: 2757=0Adev.em.0.queue0.txd_tail: 2758=0Adev.em.0.queue0.tx_irq: 0=0Ade= v.em.0.queue0.no_desc_avail: 0=0Adev.em.0.queue0.rxd_head: 1419=0Adev.em.0.= queue0.rxd_tail: 1418=0Adev.em.0.queue0.rx_irq: 0=0Adev.em.0.mac_stats.exce= ss_coll: 0=0Adev.em.0.mac_stats.single_coll: 0=0Adev.em.0.mac_stats.multipl= e_coll: 0=0Adev.em.0.mac_stats.late_coll: 0=0Adev.em.0.mac_stats.collision_= count: 0=0Adev.em.0.mac_stats.symbol_errors: 0=0Adev.em.0.mac_stats.sequenc= e_errors: 0=0Adev.em.0.mac_stats.defer_count: 0=0Adev.em.0.mac_stats.missed= _packets: 0=0Adev.em.0.mac_stats.recv_no_buff: 0=0Adev.em.0.mac_stats.recv_= undersize: 0=0Adev.em.0.mac_stats.recv_fragmented: 0=0Adev.em.0.mac_stats.r= ecv_oversize: 0=0Adev.em.0.mac_stats.recv_jabber: 0=0Adev.em.0.mac_stats.re= cv_errs: 0=0Adev.em.0.mac_stats.crc_errs: 0=0Adev.em.0.mac_stats.alignment_= errs: 0=0Adev.em.0.mac_stats.coll_ext_errs: 0=0Adev.em.0.mac_stats.xon_recv= d: 0=0Adev.em.0.mac_stats.xon_txd: 0=0Adev.em.0.mac_stats.xoff_recvd: 0=0Ad= ev.em.0.mac_stats.xoff_txd: 0=0Adev.em.0.mac_stats.total_pkts_recvd: 153436= 9705=0Adev.em.0.mac_stats.good_pkts_recvd: 1534369705=0Adev.em.0.mac_stats.= bcast_pkts_recvd: 197891=0Adev.em.0.mac_stats.mcast_pkts_recvd: 0=0Adev.em.= 0.mac_stats.rx_frames_64: 1528844=0Adev.em.0.mac_stats.rx_frames_65_127: 46= 6039874=0Adev.em.0.mac_stats.rx_frames_128_255: 363351691=0Adev.em.0.mac_st= ats.rx_frames_256_511: 34424761=0Adev.em.0.mac_stats.rx_frames_512_1023: 53= 013458=0Adev.em.0.mac_stats.rx_frames_1024_1522: 616011077=0Adev.em.0.mac_s= tats.good_octets_recvd: 1076352218193=0Adev.em.0.mac_stats.good_octets_txd:= 222914134983=0Adev.em.0.mac_stats.total_pkts_txd: 1750421340=0Adev.em.0.ma= c_stats.good_pkts_txd: 1750421339=0Adev.em.0.mac_stats.bcast_pkts_txd: 995= =0Adev.em.0.mac_stats.mcast_pkts_txd: 0=0Adev.em.0.mac_stats.tx_frames_64: = 591494=0Adev.em.0.mac_stats.tx_frames_65_127: 1309064841=0Adev.em.0.mac_sta= ts.tx_frames_128_255: 320875656=0Adev.em.0.mac_stats.tx_frames_256_511: 846= 63967=0Adev.em.0.mac_stats.tx_frames_512_1023: 14057851=0Adev.em.0.mac_stat= s.tx_frames_1024_1522: 21167531=0Adev.em.0.mac_stats.tso_txd: 0=0Adev.em.0.= mac_stats.tso_ctx_fail: 0=0Adev.em.0.interrupts.asserts: 1080194011=0Adev.e= m.0.interrupts.rx_pkt_timer: 96628=0Adev.em.0.interrupts.rx_abs_timer: 0=0A= dev.em.0.interrupts.tx_pkt_timer: 36686=0Adev.em.0.interrupts.tx_abs_timer:= 4=0Adev.em.0.interrupts.tx_queue_empty: 0=0Adev.em.0.interrupts.tx_queue_m= in_thresh: 0=0Adev.em.0.interrupts.rx_desc_min_thresh: 0=0Adev.em.0.interru= pts.rx_overrun: 0=0Adev.em.1.%desc: Intel(R) PRO/1000 Network Connection 7.= 0.5=0Adev.em.1.%driver: em=0Adev.em.1.%location: slot=3D25 function=3D0 han= dle=3D\_SB_.PCI0.ILAN=0Adev.em.1.%pnpinfo: vendor=3D0x8086 device=3D0x10cc = subvendor=3D0x8086 subdevice=3D0x34da class=3D0x020000=0Adev.em.1.%parent: = pci0=0Adev.em.1.nvm: -1=0Adev.em.1.rx_int_delay: 66=0Adev.em.1.tx_int_delay= : 66=0Adev.em.1.rx_abs_int_delay: 250=0Adev.em.1.tx_abs_int_delay: 250=0Ade= v.em.1.rx_processing_limit: -1=0Adev.em.1.link_irq: 0=0Adev.em.1.mbuf_alloc= _fail: 0=0Adev.em.1.cluster_alloc_fail: 0=0Adev.em.1.dropped: 0=0Adev.em.1.= tx_dma_fail: 0=0Adev.em.1.rx_overruns: 0=0Adev.em.1.watchdog_timeouts: 0=0A= dev.em.1.device_control: 1477444160=0Adev.em.1.rx_control: 67141634=0Adev.e= m.1.fc_high_water: 8192=0Adev.em.1.fc_low_water: 6692=0Adev.em.1.queue0.txd= _head: 3081=0Adev.em.1.queue0.txd_tail: 3081=0Adev.em.1.queue0.tx_irq: 0=0A= dev.em.1.queue0.no_desc_avail: 0=0Adev.em.1.queue0.rxd_head: 2535=0Adev.em.= 1.queue0.rxd_tail: 2534=0Adev.em.1.queue0.rx_irq: 0=0Adev.em.1.mac_stats.ex= cess_coll: 0=0Adev.em.1.mac_stats.single_coll: 665694=0Adev.em.1.mac_stats.= multiple_coll: 238794=0Adev.em.1.mac_stats.late_coll: 591710=0Adev.em.1.mac= _stats.collision_count: 1262634=0Adev.em.1.mac_stats.symbol_errors: 0=0Adev= .em.1.mac_stats.sequence_errors: 0=0Adev.em.1.mac_stats.defer_count: 629570= 46=0Adev.em.1.mac_stats.missed_packets: 0=0Adev.em.1.mac_stats.recv_no_buff= : 0=0Adev.em.1.mac_stats.recv_undersize: 0=0Adev.em.1.mac_stats.recv_fragme= nted: 0=0Adev.em.1.mac_stats.recv_oversize: 0=0Adev.em.1.mac_stats.recv_jab= ber: 0=0Adev.em.1.mac_stats.recv_errs: 0=0Adev.em.1.mac_stats.crc_errs: 0= =0Adev.em.1.mac_stats.alignment_errs: 0=0Adev.em.1.mac_stats.coll_ext_errs:= 0=0Adev.em.1.mac_stats.xon_recvd: 0=0Adev.em.1.mac_stats.xon_txd: 0=0Adev.= em.1.mac_stats.xoff_recvd: 0=0Adev.em.1.mac_stats.xoff_txd: 0=0Adev.em.1.ma= c_stats.total_pkts_recvd: 143055129=0Adev.em.1.mac_stats.good_pkts_recvd: 1= 43055129=0Adev.em.1.mac_stats.bcast_pkts_recvd: 19788=0Adev.em.1.mac_stats.= mcast_pkts_recvd: 0=0Adev.em.1.mac_stats.rx_frames_64: 0=0Adev.em.1.mac_sta= ts.rx_frames_65_127: 0=0Adev.em.1.mac_stats.rx_frames_128_255: 0=0Adev.em.1= .mac_stats.rx_frames_256_511: 0=0Adev.em.1.mac_stats.rx_frames_512_1023: 0= =0Adev.em.1.mac_stats.rx_frames_1024_1522: 0=0Adev.em.1.mac_stats.good_octe= ts_recvd: 35245157589=0Adev.em.1.mac_stats.good_octets_txd: 175509471230=0A= dev.em.1.mac_stats.total_pkts_txd: 210873641=0Adev.em.1.mac_stats.good_pkts= _txd: 210873641=0Adev.em.1.mac_stats.bcast_pkts_txd: 151=0Adev.em.1.mac_sta= ts.mcast_pkts_txd: 0=0Adev.em.1.mac_stats.tx_frames_64: 0=0Adev.em.1.mac_st= ats.tx_frames_65_127: 0=0Adev.em.1.mac_stats.tx_frames_128_255: 0=0Adev.em.= 1.mac_stats.tx_frames_256_511: 0=0Adev.em.1.mac_stats.tx_frames_512_1023: 0= =0Adev.em.1.mac_stats.tx_frames_1024_1522: 0=0Adev.em.1.mac_stats.tso_txd: = 0=0Adev.em.1.mac_stats.tso_ctx_fail: 0=0Adev.em.1.interrupts.asserts: 26472= 5703=0Adev.em.1.interrupts.rx_pkt_timer: 0=0Adev.em.1.interrupts.rx_abs_tim= er: 0=0Adev.em.1.interrupts.tx_pkt_timer: 0=0Adev.em.1.interrupts.tx_abs_ti= mer: 0=0Adev.em.1.interrupts.tx_queue_empty: 0=0Adev.em.1.interrupts.tx_que= ue_min_thresh: 0=0Adev.em.1.interrupts.rx_desc_min_thresh: 0=0Adev.em.1.int= errupts.rx_overrun: 0=0Adev.em.1.wake: 0=0A=0A=0A=0Auname -a=0AFreeBSD web2= 8.1-STABLE FreeBSD 8.1-STABLE #0: Thu Oct 21 17:24:16 MSD 2010 root@fl= ash-srv:/usr/obj/nanobsd.WEB2_C7899_H16_S63/usr/src/sys/WEB2 amd64=0A=0AOc= t 22 13:06:51 web2 kernel: em0: <Intel(R) PRO/1000 Network Connection 7.0.5= > port 0x1000-0x101f mem 0xb1a00000-0xb1a1ffff,0xb1900000-0xb19fffff,0xb1a2= 0000-0xb1a23fff irq 28 at device 0.0 on pci1=0AOct 22 13:06:51 web2 kernel:= em0: Using MSI interrupt=0AOct 22 13:06:51 web2 kernel: em0: [FILTER]=0AOc= t 22 13:06:51 web2 kernel: em0: Ethernet address: 00:15:17:ac:e5:bd=0AOct 2= 2 13:06:51 web2 kernel: em1: <Intel(R) PRO/1000 Network Connection 7.0.5> p= ort 0x20e0-0x20ff mem 0xb1b00000-0xb1b1ffff,0xb1b43000-0xb1b43fff irq 20 at= device 25.0 on pci0=0AOct 22 13:06:51 web2 kernel: em1: Using MSI interrup= t=0AOct 22 13:06:51 web2 kernel: em1: [FILTER]=0AOct 22 13:06:51 web2 kerne= l: em1: Ethernet address: 00:15:17:ac:e5:bc=0AOct 22 13:06:51 web2 kernel: = Starting Network: lo0 em0 em1.=0AOct 22 13:06:51 web2 kernel: em0: flags=3D= 8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500=0AOct 22 13:= 06:51 web2 kernel: em1: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST= > metric 0 mtu 1500=0AOct 22 13:06:53 web2 kernel: em1: link state changed = to UP=0AOct 22 13:06:54 web2 kernel: em0: link state changed to UP=0A=0A=0A= dev.em.0.%desc: Intel(R) PRO/1000 Legacy Network Connection 1.0.1=0Adev.em.= 0.%driver: em=0Adev.em.0.%location: slot=3D4 function=3D0=0Adev.em.0.%pnpin= fo: vendor=3D0x8086 device=3D0x1079 subvendor=3D0x8086 subdevice=3D0x1079 c= lass=3D0x020000=0Adev.em.0.%parent: pci3=0Adev.em.0.debug: -1=0Adev.em.0.st= ats: -1=0Adev.em.0.rx_int_delay: 66=0Adev.em.0.tx_int_delay: 66=0Adev.em.0.= rx_abs_int_delay: 250=0Adev.em.0.tx_abs_int_delay: 250=0Adev.em.0.rx_proces= sing_limit: -1=0Adev.em.1.%desc: Intel(R) PRO/1000 Legacy Network Connectio= n 1.0.1=0Adev.em.1.%driver: em=0Adev.em.1.%location: slot=3D4 function=3D1= =0Adev.em.1.%pnpinfo: vendor=3D0x8086 device=3D0x1079 subvendor=3D0x8086 su= bdevice=3D0x1079 class=3D0x020000=0Adev.em.1.%parent: pci3=0Adev.em.1.debug= : -1=0Adev.em.1.stats: -1=0Adev.em.1.rx_int_delay: 66=0Adev.em.1.tx_int_del= ay: 66=0Adev.em.1.rx_abs_int_delay: 250=0Adev.em.1.tx_abs_int_delay: 250=0A= dev.em.1.rx_processing_limit: -1=0A=0AKirill=0A=0A=0A> Thanks.=0A> =0A> -- = =0A> | Jeremy Chadwick=A0 =A0 =A0 =A0 =A0 =A0=0A> =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0=0A> =A0 =A0 =A0=A0=A0jdc@parodius.com=0A> |=0A> | Parodius Networki= ng=A0 =A0 =A0 =A0 =A0=0A> =A0 =A0 =A0 =A0 =A0 =A0=A0=A0http://www.parodius.= com/ |=0A> | UNIX Systems Administrator=A0 =A0 =A0 =A0=0A> =A0 =A0 =A0 =A0 = =A0 Mountain View, CA, USA |=0A> | Making life hard for others since 1977.= =A0 =A0=0A> =A0 =A0 =A0 =A0 =A0 PGP: 4BD6C0CB |=0A> =0A> __________________= _____________________________=0A> freebsd-stable@freebsd.org=0A> mailing li= st=0A> http://lists.freebsd.org/mailman/listinfo/freebsd-stable=0A> To unsu= bscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"=0A> =0A= =0A
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?852653.73197.qm>