Print this page
MFV: illumos-joyent@757454db6669c1186f60bc625510c1b67217aae6
OS-7082 i40e: blown assert in i40e_tx_cleanup_ring()
OS-7086 i40e: add mdb dcmd to dump info on tx descriptor rings
OS-7101 i40e: add kstat to track TX DMA bind failures
Reviewed by: Ryan Zezeski <rpz@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Approved by: Patrick Mooney <patrick.mooney@joyent.com>
Author: Rob Johnston <rob.johnston@joyent.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/mdb/intel/modules/i40e/amd64/Makefile
          +++ new/usr/src/cmd/mdb/intel/modules/i40e/amd64/Makefile
↓ open down ↓ 2 lines elided ↑ open up ↑
   3    3  # Common Development and Distribution License ("CDDL"), version 1.0.
   4    4  # You may only use this file in accordance with the terms of version
   5    5  # 1.0 of the CDDL.
   6    6  #
   7    7  # A full copy of the text of the CDDL should have accompanied this
   8    8  # source.  A copy of the CDDL is also available via the Internet at
   9    9  # http://www.illumos.org/license/CDDL.
  10   10  #
  11   11  
  12   12  #
  13      -# Copyright 2017 Joyent, Inc.
       13 +# Copyright 2018 Joyent, Inc.
  14   14  #
  15   15  
  16   16  MODULE = i40e.so
  17   17  MDBTGT = kvm
  18   18  
  19   19  MODSRCS = i40e.c
  20   20  
  21   21  include ../../../../../Makefile.cmd
  22   22  include ../../../../../Makefile.cmd.64
  23   23  include ../../../Makefile.amd64
  24   24  include ../../../../Makefile.module
  25   25  
       26 +CPPFLAGS += -I$(SRC)/cmd/mdb/common
  26   27  CPPFLAGS += -I$(SRC)/uts/common/io/i40e
  27   28  CPPFLAGS += -I$(SRC)/uts/common/io/i40e/core
  28   29  CPPFLAGS += -I$(SRC)/uts/common
  29   30  CPPFLAGS += -D_I40E_MDB_DMOD
  30   31  
  31   32  #
  32   33  # i40e needs this due to the use of Intel provided headers.
  33   34  #
  34   35  LINTFLAGS64 += -erroff=E_STATIC_UNUSED
  35   36  
  36   37  #
  37   38  # The Intel common code defines some enums which are valid unsigned ints that
  38   39  # GCC is fine with, but not Studio.
  39   40  #
  40   41  CERRWARN        += -_cc=-erroff=E_ENUM_VAL_OVERFLOWS_INT_MAX
  41   42  LINTTAGS        += -erroff=E_ENUM_VAL_OVERFLOWS_INT_MAX
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX