From: Qi Zhang Date: Wed, 8 Mar 2017 06:19:02 +0000 (-0500) Subject: net/fm10k/base: add macro for geneve tunnel offload X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=e4482482299daa715734d6d7576bfbc5c225a8b9;p=dpdk.git net/fm10k/base: add macro for geneve tunnel offload add necessary macro to support geneve tunnel offload. Signed-off-by: Qi Zhang --- diff --git a/drivers/net/fm10k/base/fm10k_type.h b/drivers/net/fm10k/base/fm10k_type.h index 0620847a29..c871f7c220 100644 --- a/drivers/net/fm10k/base/fm10k_type.h +++ b/drivers/net/fm10k/base/fm10k_type.h @@ -188,6 +188,7 @@ struct fm10k_hw; #define FM10K_DGLORTDEC_INNERRSS_ENABLE 0x08000000 #define FM10K_TUNNEL_CFG 0x0040 #define FM10K_TUNNEL_CFG_NVGRE_SHIFT 16 +#define FM10K_TUNNEL_CFG_GENEVE 0x0041 #define FM10K_SWPRI_MAP(_n) ((_n) + 0x0050) #define FM10K_SWPRI_MAX 16 #define FM10K_RSSRK(_n, _m) (((_n) * 0x10) + (_m) + 0x0800)