diff options
author | Antoine Ténart <antoine.tenart@free-electrons.com> | 2017-08-23 09:46:54 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-08-23 20:42:09 -0700 |
commit | f9cbe9a556afca9e82df9aebe4412d93769566b5 (patch) | |
tree | 1a0ef5607419df300a725c4b56702b213fb3bd37 /drivers/net/ethernet/cavium/thunder/nicvf_queues.h | |
parent | 5f9ae3d9e7e4ad6db0491abc7c4ae5452dbeadd8 (diff) |
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>
Diffstat (limited to 'drivers/net/ethernet/cavium/thunder/nicvf_queues.h')
-rw-r--r-- | drivers/net/ethernet/cavium/thunder/nicvf_queues.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/cavium/thunder/nicvf_queues.h b/drivers/net/ethernet/cavium/thunder/nicvf_queues.h index 57858522c33c..67d1a3230773 100644 --- a/drivers/net/ethernet/cavium/thunder/nicvf_queues.h +++ b/drivers/net/ethernet/cavium/thunder/nicvf_queues.h @@ -277,7 +277,6 @@ struct snd_queue { u16 xdp_free_cnt; bool is_xdp; -#define TSO_HEADER_SIZE 128 /* For TSO segment's header */ char *tso_hdrs; dma_addr_t tso_hdrs_phys; |