Ankh Examples

Ayad Mostafa ayad.mostafa2 at uni-rostock.de
Mon Apr 7 15:52:04 CEST 2014


Hello Bjoern,

> Does this mean you also tried non-RTL8139 NICs? Does this happen in
> qemu if you use for instance the emulated e1000?
exactly, but with the e1000, the e1000_clean_rx_irq() does not call 
netif_receive_skb() because rx_desc->status is always zero.

<irq trigger>
dde/linux26/lib/src/arch/l4/irq.c,                irq_handler: irq 0xb
ankh/server/netlib/e1000/e1000_main.c             e1000_intr
dde/linux26/linux-headers/linux/netdevice.h       netif_rx_schedule_prep
dde/linux26/linux-headers/linux/netdevice.h       napi_schedule_prep
dde/linux26/lib/src/arch/l4/irq.c                 irq_handler: return: 
IRQ_HANDLED
dde/linux26/lib/src/arch/l4/irq.c,71              local_softirq_pending

<softirq trigger>
dde/linux26/lib/src/arch/l4/irq.c                 irq_handler: irq 0xb
dde/linux26/lib/src/arch/l4/softirq.c             __do_softirq
ankh/server/netlib/e1000/e1000_main.c             e1000_intr
dde/linux26/lib/src/arch/l4/softirq.c             __do_softirq
dde/linux26/lib/src/arch/l4/irq.c                 irq_handler: return: 
IRQ_NONE
dde/linux26/lib/src/net/core/dev.c                net_rx_action
dde/linux26/lib/src/arch/l4/irq.c                 local_softirq_pending
dde/linux26/lib/src/net/core/dev.c                net_rx_action
ankh/server/netlib/e1000/e1000_main.c             e1000_clean
ankh/server/netlib/e1000/e1000_main.c             e1000_clean_tx_irq
ankh/server/netlib/e1000/e1000_main.c             e1000_clean_rx_irq
ankh/server/netlib/e1000/e1000_main.c             e1000_clean_rx_irq, status 0
ankh/server/netlib/e1000/e1000_main.c             e1000_set_itr
ankh/server/netlib/e1000/e1000_main.c             e1000_update_itr
ankh/server/netlib/e1000/e1000_main.c             e1000_update_itr
dde/linux26/lib/src/net/core/dev.c                __napi_complete
ankh/server/netlib/e1000/e1000_main.c             e1000_irq_enable

best regards,
ayad

On Monday, April 07, 2014 03:09:51 PM Björn Döbel wrote:
> On 07.04.2014 14:42, Ayad Mostafa wrote:
> > Dear Adam,
> > 
> >> So it's looping in the while loop all the time while polling the
> >> NIC? That would be strange as at some point there should be no
> >> more packets to process.
> > 
> > it doesn't process any packets. it just enters the loop and breaks
> > at (status & DescOwn). which is weird... and i even tried other
> > cards but so far all behavior is the same.
> 
> Does this mean you also tried non-RTL8139 NICs? Does this happen in
> qemu if you use for instance the emulated e1000?
> 
> Bjoern
> 
> _______________________________________________
> l4-hackers mailing list
> l4-hackers at os.inf.tu-dresden.de
> http://os.inf.tu-dresden.de/mailman/listinfo/l4-hackers



More information about the l4-hackers mailing list