gro: comply RFC 6864 to process IPv4 ID
authorJiayu Hu <jiayu.hu@intel.com>
Wed, 10 Jan 2018 14:03:11 +0000 (22:03 +0800)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 11 Jan 2018 22:18:32 +0000 (23:18 +0100)
commitb52b61f0464ee6785137f21cbabc76847bdedc0c
tree3e529625be4c47e333b7273e01842d1fd922a3e5
parent1e4cf4d6d4fb9786d2b0772867f2158ac90f55d6
gro: comply RFC 6864 to process IPv4 ID

This patch complies RFC 6864 to process IPv4 ID fields. Specifically, GRO
ingores IPv4 ID fields for the packets whose DF bit is 1, and checks IPv4
ID fields for the packets whose DF bit is 0.

Signed-off-by: Jiayu Hu <jiayu.hu@intel.com>
Reviewed-by: Junjie Chen <junjie.j.chen@intel.com>
doc/guides/prog_guide/generic_receive_offload_lib.rst
lib/librte_gro/gro_tcp4.c
lib/librte_gro/gro_tcp4.h