1. 19 Dec, 2004 2 commits
    • James Bottomley's avatar
      SCSI: Add FC transport host statistics · b68999ea
      James Bottomley authored
      From: 	James.Smart@Emulex.Com
      
      This patch updates the fc_transport with statistics for local FC ports
      (e.g. Hosts).  The statistics are defined per HBAAPI v2.0 definitions.
      
      Caveats:
      ------------
      - The information below is supplied by a simple test driver 
      that does not
        talk to real hardware, but fully acts as a LLDD that supports the
        fc transport.
      
      
      This patch results in the following in /sys/class:
      -----------------------------------------------------
      
      [jsmart@elxware class]$ cd /sys/class
      [jsmart@elxware class]$ ls
      fc_host       graphics  misc     pci_bus       scsi_host  usb_host
      fc_transport  input     net      scsi_device   tty        vc
      firmware      mem       netlink  scsi_generic  usb
      [jsmart@elxware class]$ cd fc_host
      [jsmart@elxware fc_host]$ ls
      host4
      
      [jsmart@elxware fc_host]$ cd host4
      [jsmart@elxware host4]$ ls
      device                 host_link_down_tmo           statistics
      [jsmart@elxware host4]$ ls -ld *
      lrwxrwxrwx  1 root root    0 Oct 13 17:16 device -> 
      ../../../devices/platform/host4
      -rw-r--r--  1 root root 4096 Oct 13 17:16 host_link_down_tmo
      drwxr-xr-x  2 root root    0 Oct 13 17:16 statistics
      
      [jsmart@elxware host4]$ cd statistics
      dumped_frames         invalid_crc_count      
      prim_seq_protocol_err_count
      error_frames          invalid_tx_word_count  reset_statistics
      fcp_control_requests  link_failure_count     rx_frames
      fcp_input_megabytes   lip_count              rx_words
      fcp_input_requests    loss_of_signal_count   seconds_since_last_reset
      fcp_output_megabytes  loss_of_sync_count     tx_frames
      fcp_output_requests   nos_count              tx_words
      Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
      b68999ea
    • James Bottomley's avatar
      SCSI: Add basic infrastructure for transport host statistics · 5a0cd4a7
      James Bottomley authored
      From: 	James.Smart@Emulex.Com
      
      This patch adds the basic hooks to the scsi subsystem to 
      support transport-specific statistics to be added to a host. 
      Its basic nature follows the way in which net devices showed 
      their statistics.
      Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
      5a0cd4a7
  2. 11 Dec, 2004 1 commit
  3. 06 Dec, 2004 1 commit
  4. 26 Nov, 2004 7 commits
  5. 25 Nov, 2004 3 commits
  6. 23 Nov, 2004 3 commits
  7. 22 Nov, 2004 15 commits
  8. 21 Nov, 2004 8 commits