RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 642424 - [RFE] Support performance statistics in /sys/class/fc_host/host?/statistics for QLogic FibreChannel HBAs
Summary: [RFE] Support performance statistics in /sys/class/fc_host/host?/statistics f...
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: kernel
Version: 6.1
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Red Hat Kernel Manager
QA Contact: Red Hat Kernel QE team
URL:
Whiteboard:
Depends On: 642422
Blocks: 662543
TreeView+ depends on / blocked
 
Reported: 2010-10-12 21:06 UTC by Chris Williams
Modified: 2018-11-14 16:51 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of: 642422
Environment:
Last Closed: 2011-03-18 12:35:57 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Comment 5 Julio Entrena Perez 2011-02-17 17:02:52 UTC
The kernel module for the QLogic FibreChannel HBAs does not provide the
performance statistics announced at /sys/class/fc_host/host?/statistics:

[root statistics]# pwd
/sys/class/fc_host/host5/statistics
[root statistics]# for i in `ls`
> do
> echo -n "$i: "
> cat $i
> done
dumped_frames: 0xffffffffffffffff
error_frames: 0xffffffffffffffff
fcp_control_requests: 0xffffffffffffffff
fcp_input_megabytes: 0x613
fcp_input_requests: 0xffffffffffffffff
fcp_output_megabytes: 0x36a
fcp_output_requests: 0xffffffffffffffff
invalid_crc_count: 0x0
invalid_tx_word_count: 0xb
link_failure_count: 0x0
lip_count: 0xffffffffffffffff
loss_of_signal_count: 0x1
loss_of_sync_count: 0x1
nos_count: 0xffffffffffffffff
prim_seq_protocol_err_count: 0x0
reset_statistics: cat: reset_statistics: Permission denied
rx_frames: 0xffffffffffffffff
rx_words: 0xffffffffffffffff
seconds_since_last_reset: 0xffffffffffffffff
tx_frames: 0xffffffffffffffff
tx_words: 0xffffffffffffffff

Most values have -1 values. Furthermore, the QLogic SANSurfer CLI is not able
to display HBA statistics from the Red Hat provided driver: 

[root statistics]# scli -gs 0
This feature is not supported with current driver!

The driver should provide this information and/or should support the QLogic
SANSurfer CLI utility.

Currently the QLogic driver provided by Red Hat does not provide this
information. The QLogic driver provided by QLogic does.


Files in /sys/class/fc_host/host?/statistics should show the proper statistics
information for each HBA. Also, if possible, the QLogic SANSurfer utility should be able to grab this information from the driver too.

Comment 7 Julio Entrena Perez 2011-03-18 12:35:57 UTC
According to Bug #642422, we can't really export more fc host statistics as we already export what is available from our firmware. Closing.


Note You need to log in before you can comment on or make changes to this bug.