Print this page
XXXX Intel X540 support
        
@@ -1076,12 +1076,12 @@
 
         /*
          * The Insert Ethernet CRC (IFCS) bit and the checksum fields are only
          * valid in the first descriptor of the packet.
          * Setting paylen in every first_tbd for all parts.
-         * 82599 requires the packet length in paylen field with or without
-         * LSO and 82598 will ignore it in non-LSO mode.
+         * 82599 and X540 require the packet length in paylen field with or
+         * without LSO and 82598 will ignore it in non-LSO mode.
          */
         ASSERT(first_tbd != NULL);
         first_tbd->read.cmd_type_len |= IXGBE_ADVTXD_DCMD_IFCS;
 
         switch (hw->mac.type) {
@@ -1093,10 +1093,11 @@
                             - ctx->l4_hdr_len) << IXGBE_ADVTXD_PAYLEN_SHIFT;
                 }
                 break;
 
         case ixgbe_mac_82599EB:
+        case ixgbe_mac_X540:
                 if (ctx != NULL && ctx->lso_flag) {
                         first_tbd->read.cmd_type_len |= IXGBE_ADVTXD_DCMD_TSE;
                         first_tbd->read.olinfo_status |=
                             (mbsize - ctx->mac_hdr_len - ctx->ip_hdr_len
                             - ctx->l4_hdr_len) << IXGBE_ADVTXD_PAYLEN_SHIFT;