search for: xen_netbk_rx_action

Displaying 5 results from an estimated 5 matches for "xen_netbk_rx_action".

2012 Aug 13
9
[PATCH RFC] xen/netback: Count ring slots properly when larger MTU sizes are used
Hi, I ran into an issue where netback driver is crashing with BUG_ON(npo.meta_prod > ARRAY_SIZE(netbk->meta)). It is happening in Intel 10Gbps network when larger mtu values are used. The problem seems to be the way the slots are counted. After applying this patch things ran fine in my environment. I request to validate my changes. Thanks Siva
2013 Feb 15
1
[PATCH 7/8] netback: split event channels support
...d_from_irqhandler(vif->rx_irq, vif); + } need_module_put = 1; } diff --git a/drivers/net/xen-netback/netback.c b/drivers/net/xen-netback/netback.c index 644c760..5ac8c35 100644 --- a/drivers/net/xen-netback/netback.c +++ b/drivers/net/xen-netback/netback.c @@ -639,7 +639,7 @@ static void xen_netbk_rx_action(struct xen_netbk *netbk) { struct xenvif *vif = NULL, *tmp; s8 status; - u16 irq, flags; + u16 flags; struct xen_netif_rx_response *resp; struct sk_buff_head rxq; struct sk_buff *skb; @@ -750,7 +750,6 @@ static void xen_netbk_rx_action(struct xen_netbk *netbk) sco->meta_slots_u...
2013 Jul 02
3
[PATCH RFC] xen-netback: remove guest RX path dependence on MAX_SKB_FRAGS
...return 0; - vif->rx.sring->req_event = vif->rx_req_cons_peek + - max_required_rx_slots(vif); + vif->rx.sring->req_event = vif->rx_req_cons_peek + 1; mb(); /* request notification /then/ check the queue */ return xen_netbk_rx_ring_full(vif); @@ -675,7 +662,6 @@ static void xen_netbk_rx_action(struct xen_netbk *netbk) struct sk_buff *skb; LIST_HEAD(notify); int ret; - int nr_frags; int count; unsigned long offset; struct skb_cb_overlay *sco; @@ -690,20 +676,23 @@ static void xen_netbk_rx_action(struct xen_netbk *netbk) count = 0; while ((skb = skb_dequeue(&netbk-&gt...
2013 Jul 09
20
[PATCH 1/1] xen/netback: correctly calculate required slots of skb.
When counting required slots for skb, netback directly uses DIV_ROUND_UP to get slots required by header data. This is wrong when offset in the page of header data is not zero, and is also inconsistent with following calculation for required slot in netbk_gop_skb. In netbk_gop_skb, required slots are calculated based on offset and len in page of header data. It is possible that required slots
2013 Feb 01
45
netback Oops then xenwatch stuck in D state
...334fcb8 ffffffff8141b06d ffff880000000218 ffff880042fe1200 ffff88004334fdb8 ffffffff81543b9b ffff88004334fd84 ffff880042c59040 ffff88004334fd68 ffff88004334fd48 ffff880000000cc0 ffffc900106c7ac0 Call Trace: [<ffffffff8141b06d>] notify_remote_via_irq+0xd/0x40 [<ffffffff81543b9b>] xen_netbk_rx_action+0x73b/0x800 [<ffffffff81544c25>] xen_netbk_kthread+0xb5/0xa60 [<ffffffff81080050>] ? finish_task_switch+0x60/0xd0 [<ffffffff81071fe0>] ? wake_up_bit+0x40/0x40 [<ffffffff81544b70>] ? xen_netbk_tx_build_gops+0xa10/0xa10 [<ffffffff81071926>] kthread+0xc6/0xd0...