1. 02 4月, 2009 4 次提交
    • R
      Neterion: New driver: Hardware init & configuration · 40a3a915
      Ramkrishna Vepa 提交于
      This patch takes care of Initialization and configuration steps of
      Neterion Inc's X3100 Series 10GbE PCIe I/O Virtualized Server Adapter.
      - Device Initialization.
      - Verification and setting of device config parameters.
      - Allocation of Tx FIFO and Rx Ring descriptors (DTR).
      - APIs to get various type of hw stats
      - APIs to configure RTS (Receive Traffic Steering)
      
      - Changes in this submission -
              - Include vmalloc header without which a compilation error occured
                on sparc64, ppc64 and IA64 plaforms.
      	- Fixed compilation warning in register_poll, write32_upper,
                write32_lower and the special write64 functions on ppc64.
              - General cleanup - removed redundant includes and defines.
      
      - Changes in previous submissions -
              - Add readq/writeq implementation for the driver for 32 bit systems -
                reported by Dave Miller.
      - Incorporated following comments from Ben Hutchings
              - Start a comment with "/**" to make it a kernel-doc comment.
              - Use prefix, "__vxge" in front of hw functions to make them globally
                unique.
              - Fixed unnecessary clearing members of *channel just before freeing
              - Use backslashes only for macro definitions and not in multi-line
                statements.
              - Used pci_find_capability instead of redefining it.
              - Used device and revision ids that are already in pdev - no need to
                read them again.
              - Used pci_save_state() and pci_restore_state() around resets.
              - Used udelay and mdelay directly instead of wrapper.
              - In __vxge_hw_device_register_poll() reset i to 0 after the
                microsecond delay loop to commence the millisecond delay loop.
              - Corrected spelling "sapper" - should be "swapper"
              - Remove too much vertical whitespace.
              - Replaced magic numbers with appropriate macros
      - Incorporated following comments from Andi Kleen [andi@firstfloor.org]
              - Reduced the arguments in functions or refactored them into smaller
              functions.
              - Allocate page sized memories used in slow path with vmalloc.
              - Use asserts where necessary.
              - Use macros instead of magic numbers.
              - Use the pci layer code instead of defining own functions
              - Remove driver wrappers such as xge_hw_device_private_set().
              - Fixed sparse warnings.
      Signed-off-by: NSivakumar Subramani <sivakumar.subramani@neterion.com>
      Signed-off-by: NRastapur Santosh <santosh.rastapur@neterion.com>
      Signed-off-by: NRamkrishna Vepa <ram.vepa@neterion.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      40a3a915
    • R
      Neterion: New driver: register set - vxge-reg.h · 66d97fed
      Ramkrishna Vepa 提交于
      - Complete Register map details of Neterion Inc's X3100 Series 10GbE PCIe I/O
        Virtualized Server Adapter.
      
      - No change from previous submission.
      
      - Changes in previous submissions -
      - Incorporated following comments from Ben Hutchings
              - Use original macros for endian checks
              - Remove VXGE_OS_PLATFORM_* macros as they are unused.
              - Converted multiple bVALX macros into single with additional
                width parameter and renamed it to vxge_bVALn.
              - Using __packed instead of pragma pack(1)
              - Added a comment of the use of a hw swapper so driver code is
                portable (does not have to change the byte order for register
                access as well as dma operations) on different ENDIAN platforms.
              - Using the <linux/pci_regs.h> definitions instead of redefing them.
              - Using the PCI capabilities registers in <linux/pci_regs.h>
                instead of redefing them.
      Signed-off-by: NSivakumar Subramani <sivakumar.subramani@neterion.com>
      Signed-off-by: NRastapur Santosh <santosh.rastapur@neterion.com>
      Signed-off-by: NRamkrishna Vepa <ram.vepa@neterion.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      66d97fed
    • R
      Neterion: New driver: Update Maintainer list · b136d1cb
      Ramkrishna Vepa 提交于
      - update to Maintainer list of S2IO 10GbE drivers (xframe/vxge).
      Signed-off-by: NSivakumar Subramani <sivakumar.subramani@neterion.com>
      Signed-off-by: NRastapur Santosh <santosh.rastapur@neterion.com>
      Signed-off-by: NRamkrishna Vepa <ram.vepa@neterion.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      b136d1cb
    • R
      Neterion: Driver help file · 5adfb64b
      Ramkrishna Vepa 提交于
      - vxge driver help text file.
      
      - No change from previous submission.
      
      - Changes in previous submissions -
        Removed the performance tuning section with instructions to disable
        time stamps and change sysctl settings - Reported by Dave Miller
        General clean up.
       - Removed tx/rx_pause, exec_mode, tx_steering_type, rx_steering_type, gro,
         intr_type, rx & tx max_indicate_pkts and exec_mode loadable parameters. 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 -
         Reported by Stephen Hemminger.
      - Incorporated following fixes based on comments from Ben Hutchings
              Removed references to earlier kernel versions.
              Removed sections that are similar for all drivers -
                      Load/Unload
                      Identifying the adapter/interface
                      Boot time configuration
              Removed loadable parameter -
                      NAPI - Napi is always enabled.
                      rx_steering_type & ring_blocks - 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.
              Removed ethtool support section - No need to duplicate ethtool
                      docs here.
              Removed Known Issue on SUSE 9 - Doesn't apply when using a
                      current kernel.
              Removed Common Problems section - These don't apply to in-tree modules.
              Removed Available Downloads section - Not sure this belongs in-tree.
              Removed Copyright information - This notice doesn't belong in
                      the kernel.
      Signed-off-by: NSivakumar Subramani <sivakumar.subramani@neterion.com>
      Signed-off-by: NRastapur Santosh <santosh.rastapur@neterion.com>
      Signed-off-by: NRamkrishna Vepa <ram.vepa@neterion.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      5adfb64b
  2. 01 4月, 2009 5 次提交
  3. 30 3月, 2009 5 次提交
  4. 29 3月, 2009 26 次提交