diff options
author | Vasundhara Volam <vasundhara-v.volam@broadcom.com> | 2018-10-04 11:13:50 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-10-04 13:49:43 -0700 |
commit | 2dc0865e9ac7150e2d3b29afdc32d04b99f37902 (patch) | |
tree | c27ea6ffe164f39c7e5233a8cc570f3a0270177d /drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.h | |
parent | f399e8497826d35e4d83785cdff33ad779ffa62f (diff) | |
download | linux-2dc0865e9ac7150e2d3b29afdc32d04b99f37902.tar.gz |
bnxt_en: Add a driver specific gre_ver_check devlink parameter.
This patch adds following driver-specific permanent mode boolean
parameter.
gre_ver_check - Generic Routing Encapsulation(GRE) version check
will be enabled in the device. If disabled, device skips version
checking for GRE packets.
Cc: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: Vasundhara Volam <vasundhara-v.volam@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.h')
-rw-r--r-- | drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.h b/drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.h index 2bfd0823cb02..5b6b2c7d97cf 100644 --- a/drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.h +++ b/drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.h @@ -36,6 +36,7 @@ static inline void bnxt_link_bp_to_dl(struct bnxt *bp, struct devlink *dl) #define NVM_OFF_MSIX_VEC_PER_PF_MAX 108 #define NVM_OFF_MSIX_VEC_PER_PF_MIN 114 #define NVM_OFF_IGNORE_ARI 164 +#define NVM_OFF_DIS_GRE_VER_CHECK 171 #define NVM_OFF_ENABLE_SRIOV 401 #define BNXT_MSIX_VEC_MAX 1280 |