be2net: Fix a UE caused by passing large frames to the ASIC
[deliverable/linux.git] / drivers / net / ethernet / emulex / benet / be.h
index 756f25bd8ee3cb4ea6dfcc5affa747efdf9d2c50..ee584c59ff628ce1acb4f92d8d67cc299fd11ce2 100644 (file)
@@ -72,6 +72,9 @@
 #define BE_MAX_MTU              (BE_MAX_JUMBO_FRAME_SIZE -     \
                                 (ETH_HLEN + ETH_FCS_LEN))
 
+/* Accommodate for QnQ configurations where VLAN insertion is enabled in HW */
+#define BE_MAX_GSO_SIZE                (65535 - 2 * VLAN_HLEN)
+
 #define BE_NUM_VLANS_SUPPORTED 64
 #define BE_MAX_EQD             128u
 #define        BE_MAX_TX_FRAG_COUNT    30
This page took 0.031974 seconds and 5 git commands to generate.