• Ramkrishna Vepa's avatar
    Neterion: New driver: Main entry points · 703da5a1
    Ramkrishna Vepa authored
    This patch implements all the driver entry point functions.
    - Definition of all module loadable paramters.
    - Implementation of all driver entry point functions.
    
    - Changes in this submission -
            - Fixed compilation error when enabling debug statements
            - Fixed few warnings when CONFIG_PCI_MSI is not defined
            - Removed unnecessary volatile variables
            - Removed compare_ether_addr as it causes unaligned memory access on
              the sparc64 platform.
    
    - Changes in previous submissions -
            - As per Stephen Hemminger's comments removed the following loadable
              parameters - gro, rx_& tx max_indicate_pkts, exec_mode, rx & tx
              pause_enable, tx_steering_type and intr_type.
            - Added Device ID definition in vxge-main.h instead of
              include/linux/pci_ids.h file - Reported by David Miller
     - Incorporated following review comments from Ben Hutchings
            - NAPI is always enabled (no option to turn it OFF).
            - Loadable parameters
             rx_steering_type: This loadable option is removed.
             ring_blocks: This loadable option is removed.
             The driver default settings work well in most if not all cases.
             Another patch to configure these parameters with ethtool will be
             released in the future.
     - LRO has been deprecated in favour of GRO - Bill Fink & Dave Miller's comment
     - Fixed sparse warnings - Reported by Andi Kleen
     - Removed unused variables
    Signed-off-by: default avatarSivakumar Subramani <sivakumar.subramani@neterion.com>
    Signed-off-by: default avatarRastapur Santosh <santosh.rastapur@neterion.com>
    Signed-off-by: default avatarRamkrishna Vepa <ram.vepa@neterion.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    703da5a1
vxge-main.c 118 KB