search for: dev_queue_xmit

Displaying 20 results from an estimated 120 matches for "dev_queue_xmit".

2005 Dec 01
0
[PATCH] Log error in csum dev_queue_xmit error path
...hat is going wrong (instead of silently dropping the packet). Signed-off-by: Jon Mason <jdmason@us.ibm.com> # HG changeset patch # User root@opteron.ltc.austin.ibm.com # Node ID 6e8be095dd8406da697b3956ba65ed724e55e50f # Parent f5b119533cc825726c9ecaa3bd2650b38033d4d8 Log an error if dom0 dev_queue_xmit receives a packet to be checksummed that is not TCP/UDP. Since we can only offload TCP/UDP checksums, this error path should be entered. If this is the case, domU checksum offload needs to be diabled. diff -r f5b119533cc8 -r 6e8be095dd84 linux-2.6-xen-sparse/net/core/dev.c --- a/linux-2.6-xen-sp...
2013 Oct 02
2
Kmemleak: false-positive in vring_add_indirect ?
...vring_add_indirect+0x36/0x280 [<ffffffff812dc59f>] virtqueue_add_outbuf+0xbf/0x4e0 [<ffffffff813a8b30>] start_xmit+0x1a0/0x3b0 [<ffffffff81445861>] dev_hard_start_xmit+0x2d1/0x4d0 [<ffffffff81460052>] sch_direct_xmit+0xf2/0x1c0 [<ffffffff81445c28>] dev_queue_xmit+0x1c8/0x460 [<ffffffff814e3187>] ip6_finish_output2+0x1d7/0x470 [<ffffffff814e34b0>] ip6_finish_output+0x90/0xb0 [<ffffffff814e3507>] ip6_output+0x37/0xb0 [<ffffffff815021eb>] igmp6_send+0x2db/0x470 [<ffffffff81502645>] igmp6_timer_handler+0x95/0xa0...
2013 Oct 02
2
Kmemleak: false-positive in vring_add_indirect ?
...vring_add_indirect+0x36/0x280 [<ffffffff812dc59f>] virtqueue_add_outbuf+0xbf/0x4e0 [<ffffffff813a8b30>] start_xmit+0x1a0/0x3b0 [<ffffffff81445861>] dev_hard_start_xmit+0x2d1/0x4d0 [<ffffffff81460052>] sch_direct_xmit+0xf2/0x1c0 [<ffffffff81445c28>] dev_queue_xmit+0x1c8/0x460 [<ffffffff814e3187>] ip6_finish_output2+0x1d7/0x470 [<ffffffff814e34b0>] ip6_finish_output+0x90/0xb0 [<ffffffff814e3507>] ip6_output+0x37/0xb0 [<ffffffff815021eb>] igmp6_send+0x2db/0x470 [<ffffffff81502645>] igmp6_timer_handler+0x95/0xa0...
2013 Jan 11
3
[PATCH] virtio: suppress kmemleak false positive
...11d0b0>] __kmalloc+0xe0/0x160 [<ffffffff81362b7c>] virtqueue_add_buf+0x1fc/0x3d0 [<ffffffff8140cbd3>] start_xmit+0x153/0x3a0 [<ffffffff8150887e>] dev_hard_start_xmit+0x21e/0x470 [<ffffffff815247ce>] sch_direct_xmit+0xfe/0x280 [<ffffffff81509014>] dev_queue_xmit+0x1f4/0x5d0 [<ffffffff81592e91>] ip6_finish_output2+0x101/0x450 [<ffffffff81595ae8>] ip6_finish_output+0x98/0x200 [<ffffffff81595ca1>] ip6_output+0x51/0x1b0 [<ffffffff815b51af>] mld_sendpack+0x19f/0x360 [<ffffffff815b59b4>] mld_ifc_timer_expire+0x19...
2013 Jan 11
3
[PATCH] virtio: suppress kmemleak false positive
...11d0b0>] __kmalloc+0xe0/0x160 [<ffffffff81362b7c>] virtqueue_add_buf+0x1fc/0x3d0 [<ffffffff8140cbd3>] start_xmit+0x153/0x3a0 [<ffffffff8150887e>] dev_hard_start_xmit+0x21e/0x470 [<ffffffff815247ce>] sch_direct_xmit+0xfe/0x280 [<ffffffff81509014>] dev_queue_xmit+0x1f4/0x5d0 [<ffffffff81592e91>] ip6_finish_output2+0x101/0x450 [<ffffffff81595ae8>] ip6_finish_output+0x98/0x200 [<ffffffff81595ca1>] ip6_output+0x51/0x1b0 [<ffffffff815b51af>] mld_sendpack+0x19f/0x360 [<ffffffff815b59b4>] mld_ifc_timer_expire+0x19...
2006 Feb 22
0
Re: [PATCH] Fix IPSec for Xen checksum offload packets (Jon Mason)
...>- dev->xmit_lock_owner = cpu; \ >- } \ >-} >- >-#define HARD_TX_UNLOCK(dev) { \ >- if ((dev->features & NETIF_F_LLTX) == 0) { \ >- dev->xmit_lock_owner = -1; \ >- spin_unlock(&dev->xmit_lock); \ >- } \ >-} >- >-/** >- * dev_queue_xmit - transmit a buffer >- * @skb: buffer to transmit >- * >- * Queue a buffer for transmission to a network device. The caller must >- * have set the device and priority and built the buffer before calling >- * this function. The function can be called from an interrupt. >- * >- *...
2007 Jun 13
2
HTB deadlock
...gt;] softlockup_tick+0x93/0xc2 [<c0127585>] update_process_times+0x26/0x5c [<c0111cd5>] smp_apic_timer_interrupt+0x97/0xb2 [<c0104373>] apic_timer_interrupt+0x1f/0x24 [<c01c007b>] blk_do_ordered+0x70/0x27e [<c01ce788>] _raw_spin_lock+0xaa/0x13e [<c02846df>] dev_queue_xmit+0x53/0x2e4 [<c0286e20>] neigh_connected_output+0x80/0xa0 [<c02a213a>] ip_output+0x1b5/0x24b [<c02a0b56>] ip_finish_output+0x0/0x192 [<c029dfef>] ip_forward+0x1c8/0x2b9 [<c029ddf0>] ip_forward_finish+0x0/0x37 [<c029c962>] ip_rcv+0x2a5/0x538 [<c029c100&gt...
2013 Oct 03
0
Kmemleak: false-positive in vring_add_indirect ?
...0x280 > [<ffffffff812dc59f>] virtqueue_add_outbuf+0xbf/0x4e0 > [<ffffffff813a8b30>] start_xmit+0x1a0/0x3b0 > [<ffffffff81445861>] dev_hard_start_xmit+0x2d1/0x4d0 > [<ffffffff81460052>] sch_direct_xmit+0xf2/0x1c0 > [<ffffffff81445c28>] dev_queue_xmit+0x1c8/0x460 > [<ffffffff814e3187>] ip6_finish_output2+0x1d7/0x470 > [<ffffffff814e34b0>] ip6_finish_output+0x90/0xb0 > [<ffffffff814e3507>] ip6_output+0x37/0xb0 > [<ffffffff815021eb>] igmp6_send+0x2db/0x470 > [<ffffffff81502645>] igmp...
2005 Feb 13
2
TDMOE + kernel badness
...running tdmoe on kernel 2.6+? I've got Suse 9.1 + 9.2 running 2.6.5 and 2.6.8 respectively, and when I enable dynamic spans between them, both boxes dump something similar to: Badness in local_bh_enable at kernel/softirq.c:141 [<c0120768>] local_bh_enable+0x48/0x60 [<c02952b0>] dev_queue_xmit+0x230/0x240 [<c02a0980>] eth_header+0x0/0x140 [<f8f12301>] ztdeth_transmit+0x131/0x200 [ztd_eth] [<f8ef17ff>] __ztdynamic_run+0x20f/0x240 [ztdynamic] [<f8ef15e4>] ztd_tasklet+0x34/0x40 [ztdynamic] [<c0120928>] tasklet_hi_action+0x38/0x70 [<c0120693>] __do_s...
2018 Jan 23
2
[RFC PATCH net-next v2 2/2] virtio_net: Extend virtio to use VF datapath when available
On 2018?01?12? 13:58, Sridhar Samudrala wrote: > static netdev_tx_t start_xmit(struct sk_buff *skb, struct net_device *dev) > { > struct virtnet_info *vi = netdev_priv(dev); > int qnum = skb_get_queue_mapping(skb); > struct send_queue *sq = &vi->sq[qnum]; > + struct net_device *vf_netdev; > int err; > struct netdev_queue *txq =
2018 Jan 23
2
[RFC PATCH net-next v2 2/2] virtio_net: Extend virtio to use VF datapath when available
On 2018?01?12? 13:58, Sridhar Samudrala wrote: > static netdev_tx_t start_xmit(struct sk_buff *skb, struct net_device *dev) > { > struct virtnet_info *vi = netdev_priv(dev); > int qnum = skb_get_queue_mapping(skb); > struct send_queue *sq = &vi->sq[qnum]; > + struct net_device *vf_netdev; > int err; > struct netdev_queue *txq =
2018 Nov 15
7
[RFC] Discuss about an new idea "Vsock over Virtio-net"
...-------+ |VSOCK Core Module | |ops->sendmsg; (vsock_stream_sendmsg) | | -> alloc_skb; /* it will packet a skb buffer, and include vsock | | * hdr and payload */ | | -> dev_queue_xmit(); /* it will call start_xmit(virtio-net.c) */| |vsock hdr and payload, and then call | +------------------------------------------------------------------+ | | +----------------------------------------...
2018 Nov 15
7
[RFC] Discuss about an new idea "Vsock over Virtio-net"
...-------+ |VSOCK Core Module | |ops->sendmsg; (vsock_stream_sendmsg) | | -> alloc_skb; /* it will packet a skb buffer, and include vsock | | * hdr and payload */ | | -> dev_queue_xmit(); /* it will call start_xmit(virtio-net.c) */| |vsock hdr and payload, and then call | +------------------------------------------------------------------+ | | +----------------------------------------...
2004 Aug 27
1
page allocation failure
...+0x16a/0x220 Aug 27 19:27:38 sauron kernel: [<c0138eb4>] __kmalloc+0x74/0x80 Aug 27 19:27:38 sauron kernel: [<c891d239>] kmem_alloc+0x59/0xc0 [xfs] Aug 27 19:27:38 sauron kernel: [<c88f92a0>] xfs_iread_extents+0x50/0x110 [xfs] Aug 27 19:27:38 sauron kernel: [<c0223949>] dev_queue_xmit+0x249/0x300 Aug 27 19:27:38 sauron kernel: [<c88d1a5e>] xfs_bmapi+0x1fe/0x1460 [xfs] Aug 27 19:27:38 sauron kernel: [<c023af60>] ip_finish_output2+0x0/0x1b0 Aug 27 19:27:38 sauron kernel: [<c022d701>] nf_hook_slow+0xf1/0x120 Aug 27 19:27:39 sauron kernel: [<c023af60>] ip...
2018 Sep 06
1
[PATCH net-next 10/11] tap: accept an array of XDP buffs through sendmsg()
...kb->protocol == htons(ETH_P_8021AD)) && > + __vlan_get_protocol(skb, skb->protocol, &depth) != 0) > + skb_set_network_header(skb, depth); > + > + rcu_read_lock(); > + tap = rcu_dereference(q->tap); > + if (tap) { > + skb->dev = tap->dev; > + dev_queue_xmit(skb); > + } else { > + kfree_skb(skb); > + } > + rcu_read_unlock(); > + > + return 0; > + > +err_kfree: > + kfree_skb(skb); > +err: > + rcu_read_lock(); > + tap = rcu_dereference(q->tap); > + if (tap && tap->count_tx_dropped) > + tap->co...
2010 Oct 14
1
KVM instance keep crashing
...lhost kernel: [<ffffffff800baec9>] __do_IRQ+0xa4/0x103 Oct 14 16:25:07 localhost kernel: [<ffffffff8006ca11>] do_IRQ+0xe7/0xf5 Oct 14 16:25:07 localhost kernel: [<ffffffff8005d615>] ret_from_intr+0x0/0xa Oct 14 16:25:07 localhost kernel: <EOI> [<ffffffff8002f73b>] dev_queue_xmit+0x0/0x271 Oct 14 16:25:07 localhost kernel: [<ffffffff881987c6>] :8139cp:cp_start_xmit+0x4ef/0x511 Oct 14 16:25:07 localhost kernel: [<ffffffff8819842d>] :8139cp:cp_start_xmit+0x156/0x511 Oct 14 16:25:07 localhost kernel: [<ffffffff8022eede>] dev_hard_start_xmit+0x1b7/0x28a Oct...
2018 Nov 15
3
[RFC] Discuss about an new idea "Vsock over Virtio-net"
...| >> |ops->sendmsg; (vsock_stream_sendmsg) | >> | -> alloc_skb; /* it will packet a skb buffer, and include vsock | >> | * hdr and payload */ | >> | -> dev_queue_xmit(); /* it will call start_xmit(virtio-net.c) */| >> |vsock hdr and payload, and then call | >> +------------------------------------------------------------------+ > > > Note, if we've negotiated the feature, virtio-net driver must not use regi...
2018 Nov 15
3
[RFC] Discuss about an new idea "Vsock over Virtio-net"
...| >> |ops->sendmsg; (vsock_stream_sendmsg) | >> | -> alloc_skb; /* it will packet a skb buffer, and include vsock | >> | * hdr and payload */ | >> | -> dev_queue_xmit(); /* it will call start_xmit(virtio-net.c) */| >> |vsock hdr and payload, and then call | >> +------------------------------------------------------------------+ > > > Note, if we've negotiated the feature, virtio-net driver must not use regi...
2023 May 19
2
[Bridge] [PATCH net-next 1/5] skbuff: bridge: Add layer 2 miss indication
...5564e338 100644 --- a/net/bridge/br_forward.c +++ b/net/bridge/br_forward.c @@ -50,6 +50,8 @@ int br_dev_queue_push_xmit(struct net *net, struct sock *sk, struct sk_buff *skb br_switchdev_frame_set_offload_fwd_mark(skb); + skb->l2_miss = BR_INPUT_SKB_CB(skb)->miss; + dev_queue_xmit(skb); return 0; Also for locally received packets: diff --git a/net/bridge/br_input.c b/net/bridge/br_input.c index fc17b9fd93e6..274e55455b15 100644 --- a/net/bridge/br_input.c +++ b/net/bridge/br_input.c @@ -46,6 +46,8 @@ static int br_pass_frame_up(struct sk_buff *skb) */...
2005 Dec 05
11
Xen 3.0 and Hyperthreading an issue?
Just gave 3.0 a spin. Had been running 2.0.7 for the past 3 months or so without problems (aside from intermittent failure during live migration). Anyway, 3.0 seems to have an issue with my machine. It starts up the 4 domains that I''ve got defined (was running 6 user domains with 2.0.7, but two of those were running 2.4 kernels which I can''t seem to build with Xen 3.0 yet, and