Issue in kernel-level click
Ashok Anand <[email protected]> Fri, 17 Aug 2012 09:10:41 +0530
| Newsgroups | gmane.network.routing.click |
|---|---|
| Message-ID | <CALQsBOW6kjZ+Srb4iB3N15NdJhcavFzj0j1oOzn8tukvUxB97w@mail.gmail.com> |
Hi, I am using a following configuration for kernel-level click, click-2.0.1 oqueue :: Queue(1000); th :: ToHost; FromDevice(eth2) -> c :: Classifier(12/0800, 12/0806 20/0002, -) -> Strip(14) -> CheckIPHeader2 -> MarkIPHeader(0) -> SetIPAddress(10.1.1.3) -> aq::ARPQuerier(10.1.1.4, eth2) -> oqueue c[1] -> t::Tee -> [1]aq; t[1] -> th c[2] -> th oqueue -> ToDevice(eth2); 10.1.1.4 is the ip-address of the machine where it is running, eth2 is the interface, and i am sending packet to 10.1.1.3. The configuration seems to work fine, except that i get very low speed. I find in dmesg that there is constantly some warning message being thrown. Any thoughts on what could be going wrong? [688191.001209] ------------[ cut here ]------------ [688191.001215] WARNING: at /build/buildd-linux-2.6_2.6.32-45-amd64-FcX7RM/linux-2.6-2.6.32/debian/build/source_amd64_none/net/core/dev.c:1582 skb_gso_segment+0x109/0x263() [688191.001220] Hardware name: HP Z800 Workstation [688191.001222] ixgbe: caps=(0x331cbb3, 0x0) len=2948 data_len=0 ip_summed=1 [688191.001225] Modules linked in: click ixgbe proclikefs cn autofs4 nfsd exportfs nfs lockd fscache nfs_acl auth_rpcgss sunrpc bridge stp loop firewire_sbp2 snd_hda_codec_realtek snd_hda_intel snd_hda_codec wmi snd_hwdep snd_pcm nouveau snd_timer ttm snd drm_kms_helper drm i2c_algo_bit i2c_core soundcore snd_page_alloc evdev psmouse pcspkr serio_raw processor button ext4 mbcache jbd2 crc16 dm_mod nbd usbhid hid sg sr_mod sd_mod cdrom crc_t10dif mptsas uhci_hcd mptscsih mptbase firewire_ohci ahci scsi_transport_sas libata scsi_mod firewire_core crc_itu_t tg3 libphy ehci_hcd floppy thermal usbcore nls_base thermal_sys dca [last unloaded: click] [688191.001450] Pid: 20474, comm: kclick Tainted: G W 2.6.32-5-amd64 #1 [688191.001471] Call Trace: [688191.001482] [<ffffffff81250611>] ? skb_gso_segment+0x109/0x263 [688191.001514] [<ffffffff81250611>] ? skb_gso_segment+0x109/0x263 [688191.001541] [<ffffffff8104df40>] ? warn_slowpath_common+0x77/0xa3 [688191.001551] [<ffffffff8104dfc8>] ? warn_slowpath_fmt+0x51/0x59 [688191.001572] [<ffffffff810114ce>] ? common_interrupt+0xe/0x13 [688191.001581] [<ffffffff8119363e>] ? strncpy+0x9/0x1e [688191.001598] [<ffffffffa0023238>] ? ixgbe_get_drvinfo+0x78/0xd0 [ixgbe] [688191.001619] [<ffffffff81250611>] ? skb_gso_segment+0x109/0x263 [688191.001633] [<ffffffff8125091b>] ? dev_hard_start_xmit+0x1b0/0x2db [688191.001647] [<ffffffff8126392c>] ? sch_direct_xmit+0x58/0x14c [688191.001669] [<ffffffff81250d99>] ? dev_queue_xmit+0x252/0x38d [688191.001738] [<ffffffffa080f3f0>] ? _ZN8ToDevice12queue_packetEP6PacketP12netdev_queue+0x110/0x1d0 [click] [688191.001828] [<ffffffffa080f5c5>] ? _ZN8ToDevice8run_taskEP4Task+0x115/0x250 [click] [688191.001910] [<ffffffffa080ab17>] ? _ZN10FromDevice8run_taskEP4Task+0x97/0xf0 [click] [688191.001974] [<ffffffffa07b9a8d>] ? _ZN12RouterThread6driverEv+0x38d/0x580 [click] [688191.002051] [<ffffffffa0851fc0>] ? _ZL11click_schedPv+0x160/0x250 [click] [688191.002087] [<ffffffff810482db>] ? finish_task_switch+0x88/0xaf [688191.002099] [<ffffffff81011baa>] ? child_rip+0xa/0x20 [688191.002144] [<ffffffffa0851e60>] ? _ZL11click_schedPv+0x0/0x250 [click] [688191.002178] [<ffffffff81011ba0>] ? child_rip+0x0/0x20 [688191.002198] ---[ end trace 1b77e8b33d8320fb ]--- [688191.002243] ------------[ cut here ]------------ [688191.002247] WARNING: at /build/buildd-linux-2.6_2.6.32-45-amd64-FcX7RM/linux-2.6-2.6.32/debian/build/source_amd64_none/net/core/dev.c:1582 skb_gso_segment+0x109/0x263() [688191.002252] Hardware name: HP Z800 Workstation [688191.002258] ixgbe: caps=(0x331cbb3, 0x0) len=2948 data_len=0 ip_summed=1 [688191.002265] Modules linked in: click ixgbe proclikefs cn autofs4 nfsd exportfs nfs lockd fscache nfs_acl auth_rpcgss sunrpc bridge stp loop firewire_sbp2 snd_hda_codec_realtek snd_hda_intel snd_hda_codec wmi snd_hwdep snd_pcm nouveau snd_timer ttm snd drm_kms_helper drm i2c_algo_bit i2c_core soundcore snd_page_alloc evdev psmouse pcspkr serio_raw processor button ext4 mbcache jbd2 crc16 dm_mod nbd usbhid hid sg sr_mod sd_mod cdrom crc_t10dif mptsas uhci_hcd mptscsih mptbase firewire_ohci ahci scsi_transport_sas libata scsi_mod firewire_core crc_itu_t tg3 libphy ehci_hcd floppy thermal usbcore nls_base thermal_sys dca [last unloaded: click] [688191.002486] Pid: 20474, comm: kclick Tainted: G W 2.6.32-5-amd64 #1 [688191.002492] Call Trace: [688191.002499] [<ffffffff81250611>] ? skb_gso_segment+0x109/0x263 [688191.002509] [<ffffffff81250611>] ? skb_gso_segment+0x109/0x263 [688191.002533] [<ffffffff8104df40>] ? warn_slowpath_common+0x77/0xa3 [688191.002562] [<ffffffff8104dfc8>] ? warn_slowpath_fmt+0x51/0x59 [688191.002589] [<ffffffff810114ce>] ? common_interrupt+0xe/0x13 [688191.002611] [<ffffffff8119363e>] ? strncpy+0x9/0x1e [688191.002642] [<ffffffffa0023238>] ? ixgbe_get_drvinfo+0x78/0xd0 [ixgbe] [688191.002657] [<ffffffff81250611>] ? skb_gso_segment+0x109/0x263 [688191.002687] [<ffffffff8125091b>] ? dev_hard_start_xmit+0x1b0/0x2db [688191.002710] [<ffffffff8126392c>] ? sch_direct_xmit+0x58/0x14c [688191.002728] [<ffffffff81250d99>] ? dev_queue_xmit+0x252/0x38d [688191.002795] [<ffffffffa080f3f0>] ? _ZN8ToDevice12queue_packetEP6PacketP12netdev_queue+0x110/0x1d0 [click] [688191.002870] [<ffffffffa080f5c5>] ? _ZN8ToDevice8run_taskEP4Task+0x115/0x250 [click] [688191.002957] [<ffffffffa080ab17>] ? _ZN10FromDevice8run_taskEP4Task+0x97/0xf0 [click] [688191.003018] [<ffffffffa07b9a8d>] ? _ZN12RouterThread6driverEv+0x38d/0x580 [click] [688191.003095] [<ffffffffa0851fc0>] ? _ZL11click_schedPv+0x160/0x250 [click] [688191.003130] [<ffffffff810482db>] ? finish_task_switch+0x88/0xaf [688191.003147] [<ffffffff81011baa>] ? child_rip+0xa/0x20 [688191.003199] [<ffffffffa0851e60>] ? _ZL11click_schedPv+0x0/0x250 [click] [688191.003230] [<ffffffff81011ba0>] ? child_rip+0x0/0x20 [688191.003250] ---[ end trace 1b77e8b33d8320fc ]--- [688191.003290] ------------[ cut here ]------------ [688191.003295] WARNING: at /build/buildd-linux-2.6_2.6.32-45-amd64-FcX7RM/linux-2.6-2.6.32/debian/build/source_amd64_none/net/core/dev.c:1582 skb_gso_segment+0x109/0x263() [688191.003300] Hardware name: HP Z800 Workstation [688191.003304] ixgbe: caps=(0x331cbb3, 0x0) len=14532 data_len=0 ip_summed=1 [688191.003308] Modules linked in: click ixgbe proclikefs cn autofs4 nfsd exportfs nfs lockd fscache nfs_acl auth_rpcgss sunrpc bridge stp loop firewire_sbp2 snd_hda_codec_realtek snd_hda_intel snd_hda_codec wmi snd_hwdep snd_pcm nouveau snd_timer ttm snd drm_kms_helper drm i2c_algo_bit i2c_core soundcore snd_page_alloc evdev psmouse pcspkr serio_raw processor button ext4 mbcache jbd2 crc16 dm_mod nbd usbhid hid sg sr_mod sd_mod cdrom crc_t10dif mptsas uhci_hcd mptscsih mptbase firewire_ohci ahci scsi_transport_sas libata scsi_mod firewire_core crc_itu_t tg3 libphy ehci_hcd floppy thermal usbcore nls_base thermal_sys dca [last unloaded: click] [688191.003545] Pid: 20474, comm: kclick Tainted: G W 2.6.32-5-amd64 #1 [688191.003568] Call Trace: [688191.003584] [<ffffffff81250611>] ? skb_gso_segment+0x109/0x263 [688191.003616] [<ffffffff81250611>] ? skb_gso_segment+0x109/0x263 [688191.003644] [<ffffffff8104df40>] ? warn_slowpath_common+0x77/0xa3 [688191.003667] [<ffffffff8104dfc8>] ? warn_slowpath_fmt+0x51/0x59 [688191.003694] [<ffffffff810114ce>] ? common_interrupt+0xe/0x13 [688191.003721] [<ffffffff8119363e>] ? strncpy+0x9/0x1e [688191.003752] [<ffffffffa0023238>] ? ixgbe_get_drvinfo+0x78/0xd0 [ixgbe] [688191.003782] [<ffffffff81250611>] ? skb_gso_segment+0x109/0x263 [688191.003807] [<ffffffff8125091b>] ? dev_hard_start_xmit+0x1b0/0x2db [688191.003839] [<ffffffff8126392c>] ? sch_direct_xmit+0x58/0x14c [688191.003865] [<ffffffff81250d99>] ? dev_queue_xmit+0x252/0x38d [688191.003935] [<ffffffffa080f3f0>] ? _ZN8ToDevice12queue_packetEP6PacketP12netdev_queue+0x110/0x1d0 [click] [688191.004018] [<ffffffffa080f5c5>] ? _ZN8ToDevice8run_taskEP4Task+0x115/0x250 [click] [688191.004099] [<ffffffffa080ab17>] ? _ZN10FromDevice8run_taskEP4Task+0x97/0xf0 [click] [688191.004166] [<ffffffffa07b9a8d>] ? _ZN12RouterThread6driverEv+0x38d/0x580 [click] [688191.004240] [<ffffffffa0851fc0>] ? _ZL11click_schedPv+0x160/0x250 [click] [688191.004276] [<ffffffff810482db>] ? finish_task_switch+0x88/0xaf [688191.004297] [<ffffffff81011baa>] ? child_rip+0xa/0x20 [688191.004355] [<ffffffffa0851e60>] ? _ZL11click_schedPv+0x0/0x250 [click] [688191.004373] [<ffffffff81011ba0>] ? child_rip+0x0/0x20 [688191.004374] ---[ end trace 1b77e8b33d8320fd ]--- Regards, Ashok