[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1398174850.29946.44.camel@edumazet-glaptop2.roam.corp.google.com>
Date: Tue, 22 Apr 2014 06:54:10 -0700
From: Eric Dumazet <eric.dumazet@...il.com>
To: Rayagond Kokatanur <rayagond@...avyalabs.com>
Cc: netdev <netdev@...r.kernel.org>
Subject: Re: basic question about LRO implementation
On Tue, 2014-04-22 at 13:28 +0530, Rayagond Kokatanur wrote:
> Hi All,
>
> As part of LRO support, every Ethernet driver has to implement a call
> back function ".get_skb_header" which does following,
>
> 1. Checks for TCP packet and return 0 for TCP packet and -1 for non-tcp packets
> 2. Get tcp and ip header from given skb
> 3. Initialize the flag to indicate IPv4 and TCP packet.
>
> All these can be done by using skb - which is passed as input argument
> to get_skb_header, there is nothing device specific we do in this api,
> hence why can't this be implemented as generic api. By this way we can
> avoid every driver implementing same api and hence duplicating the
> same code.
>
> Please let me know if my understanding may be wrong.
LRO is deprecated.
Use GRO, even if hardware assisted like bnx2x driver ?
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists