[ofa-general] Re: [PATCH 0/9 Rev3] Implement batching skb API and support in IPoIB
Krishna Kumar2
krkumar2 at in.ibm.com
Wed Aug 8 23:26:12 PDT 2007
David Miller <davem at davemloft.net> wrote on 08/09/2007 09:57:27 AM:
>
> > Patrick had suggested calling dev_hard_start_xmit() instead of
> > conditionally calling the new API and to remove the new API
> > entirely. The driver determines whether batching is required or
> > not depending on (skb==NULL) or not. Would that approach be fine
> > with this "single interface" goal ?
>
> It is a valid posibility.
>
> Note that this is similar to how we handle TSO, the driver
> sets the feature bit and in its ->hard_start_xmit() it checks
> the SKB for the given offload property.
Great, I will try to get rid of two paths entirely, and see how to
re-arrange the code cleanly.
thanks,
- KK
More information about the general
mailing list