Thank you for your replies. It answered my questions.
Shay
On 1/8/2019 12:58 PM, Michael Chan wrote:
On Mon, Jan 7, 2019 at 6:00 AM Shay Agroskin <sha...@mellanox.com> wrote:
a) All segments (aggregated packets) must be of the same size (except possibly
the last one).
(This in order to know each segments size, when re-segmenting an aggregated
packet)
b) IP ID must be incrementing unless DF is
(To have the whole 4th layer, in order to know if a packet belongs to a
certain flow)
c) Also, all the other fields need to be the same to belong to the same flow
and be aggregated.
Any thoughts? Do I miss anything here ?
In addition, the GRO SKB needs to be setup properly. For example, the
gso_type, gso_size, gso_segs, CHECKSUM_PARTIAL, etc, all have to be
setup. Hardware needs to provide all the necessary information to set
this up. In case this GRO SKB is re-routed to an output device, TSO
or GSO needs to be performed on the packet and the original packet
stream should be re-constituted exactly.