Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/dev/pci/ixgbe



Module Name:    src
Committed By:   msaitoh
Date:           Wed Jan 19 10:30:04 UTC 2022

Modified Files:
        src/sys/dev/pci/ixgbe: ixgbe_vf.h ixv.c

Log Message:
Improve ixv(4)'s some event counters.

 - The virtual function's packet counter registers are not cleared on read.
   To solve this problem, <REGNAME>, base_<REGNAME>, last_<REGNAME> and
   saved_reset_<REGNAME> are in the struct ixgbevf_hw_stats and some
   functions use them. However, saved_reset_<REGNAME> is set but never
   referenced. base_<REGNAME> is set and it's only used for
   saved_reset_<REGNAME>, so it's also unused in reality. THERE ARE A LOT
   OF GARBAGE. Remove them.
 - Call ixv_init_stats() in ixv_clear_evcnt() to make ifconfig -z ixvN
   work correctly.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/sys/dev/pci/ixgbe/ixgbe_vf.h
cvs rdiff -u -r1.175 -r1.176 src/sys/dev/pci/ixgbe/ixv.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index