net: define the TSO header size in net/tso.h
authorAntoine Ténart <antoine.tenart@free-electrons.com>
Wed, 23 Aug 2017 07:46:54 +0000 (09:46 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 24 Aug 2017 03:42:09 +0000 (20:42 -0700)
commitf9cbe9a556afca9e82df9aebe4412d93769566b5
tree1a0ef5607419df300a725c4b56702b213fb3bd37
parent5f9ae3d9e7e4ad6db0491abc7c4ae5452dbeadd8
net: define the TSO header size in net/tso.h

The TSO header size was defined in many drivers. Factorize the code and
define its size in net/tso.h.

Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cavium/thunder/nicvf_queues.h
drivers/net/ethernet/freescale/fec_main.c
drivers/net/ethernet/marvell/mv643xx_eth.c
drivers/net/ethernet/marvell/mvneta.c
include/net/tso.h