Re: Regarding net_device_ops

2014-05-03 Thread Rami Rosen
Hi, Sorry, I of course discuss here your previous question about SKB Regards, Rami On Sat, May 3, 2014 at 1:34 PM, Rami Rosen wrote: > Hi, Pranay, > > First, let's assume that you are talking about IPv4, though you did not > mention it explicitly. (The principles in IPv6 are quite similar, though

Re: Regarding net_device_ops

2014-05-03 Thread Rami Rosen
Hi, Pranay, First, let's assume that you are talking about IPv4, though you did not mention it explicitly. (The principles in IPv6 are quite similar, though) A packet is sent out in the usual case with the ip_queue_xmit() method. The ip_queue_xmit() method calls the ip_route_output_ports() metho

Regarding net_device_ops

2014-05-03 Thread Pranay Srivastava
Hi Referring to Documentation/networking/netdevices.txt a) ndo->ndo_start_xmit if written "as is" will be thread safe? [Correct?] NETIF_F_LLTX is not set only then this is true. But dev_queue_xmit(skb) doesn't seem to take any lock, neither does dev_hard_start_xmit. Please let me know if i'm wr