net/ena: prepare TSO offload calculation
authorJakub Palider <jpa@semihalf.com>
Tue, 24 Jan 2017 14:22:53 +0000 (15:22 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 30 Jan 2017 21:18:26 +0000 (22:18 +0100)
commit83277a7ccca5e1551b4bfdec3866961d9af09356
tree7b16bc9be90c3349146c1a0bb8e1ce8ff0f0627e
parentd2b46fd1357f5a33698711e26be0835b41add542
net/ena: prepare TSO offload calculation

While ENA can handle checksum calculations in almost all cases,
it cannot do so when DF bit in IPv4 header is not set,
that is DF=0, and TSO is requested. For that situation pseudo
header must be prepared manually.

Signed-off-by: Jakub Palider <jpa@semihalf.com>
drivers/net/ena/ena_ethdev.c
drivers/net/ena/ena_ethdev.h