Thread (1 message) 1 message, 1 author, 2007-07-25

Re: [PATCH 02/12 -Rev2] Changes to netdevice.h

From: Krishna Kumar2 <hidden>
Date: 2007-07-25 04:40:03

Hi Patrick,

Krishna Kumar2/India/IBM wrote on 07/23/2007 08:27:53 AM:
Hi Patrick,

Patrick McHardy [off-list ref] wrote on 07/22/2007 10:36:51 PM:
quoted
Krishna Kumar wrote:
quoted
@@ -472,6 +474,9 @@ struct net_device
    void         *priv;   /* pointer to private data   */
    int         (*hard_start_xmit) (struct sk_buff *skb,
                       struct net_device *dev);
+   int         (*hard_start_xmit_batch) (struct net_device
+                       *dev);
+

Os this function really needed? Can't you just call hard_start_xmit
with
quoted
a NULL skb and have the driver use dev->blist?
Probably not. I will see how to do it this way and get back to you.
I think this is a good idea and makes code everywhere simpler. I
will try this change and test to make sure it doesn't have any
negative impact. Will mostly send out rev3 tomorrow.

Thanks,

- KK
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help