Source-Changes archive

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

CVS commit: [netbsd-10] src/sys/dev/pci/ixgbe



Module Name:    src
Committed By:   martin
Date:           Wed Oct 18 11:53:22 UTC 2023

Modified Files:
        src/sys/dev/pci/ixgbe [netbsd-10]: ix_txrx.c ixgbe.c ixgbe.h
            ixgbe_type.h ixv.c

Log Message:
Pull up following revision(s) (requested by msaitoh in ticket #420):

        sys/dev/pci/ixgbe/ixgbe.c: revision 1.340
        sys/dev/pci/ixgbe/ixgbe.c: revision 1.341
        sys/dev/pci/ixgbe/ixgbe.c: revision 1.342
        sys/dev/pci/ixgbe/ixgbe.c: revision 1.343
        sys/dev/pci/ixgbe/ixgbe.c: revision 1.344
        sys/dev/pci/ixgbe/ixgbe_type.h: revision 1.61
        sys/dev/pci/ixgbe/ix_txrx.c: revision 1.104
        sys/dev/pci/ixgbe/ixv.c: revision 1.190
        sys/dev/pci/ixgbe/ixv.c: revision 1.191
        sys/dev/pci/ixgbe/ixv.c: revision 1.192
        sys/dev/pci/ixgbe/ixgbe.h: revision 1.93

ixg(4): Print DEVICE_CAPS register.

ixgbe: Whitespace. No functional change.

ixg(4): Don't print wrong error message about ixgbe_num_queues.
 Don't override the ixgbe_num_queues global variable. It's the default
value of the number of queues and should not override it because it
will be referenced by later device attach. For example, the number of
MSI-X vector is 64 on X540 and 18 on 82599. When both cards are inserted
to a machine that the number of CPU is 24 and X540 is probed earlier,
ixgbe_num_queues is overridden to 24 and the following error message is
printed when attaching 82599:
        ixg2: autoconfiguration error: ixgbe_num_queues (24) is too large,
        using reduced amount (17).

Note that the number of queues is in sc->num_queuss and referenced
by hw.ixgN.num_queues sysctl.

ixgbe: Don't override the {ixgbe,ixv}_max_interrupt_rate global variable.

 Fix a bug that changing hw.ix[gv]X.qY.interrupt_rate would change all
devices all queues default interrupt rate.

ixgbe: Whitespace. No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.100.4.3 -r1.100.4.4 src/sys/dev/pci/ixgbe/ix_txrx.c
cvs rdiff -u -r1.324.2.4 -r1.324.2.5 src/sys/dev/pci/ixgbe/ixgbe.c
cvs rdiff -u -r1.86.4.3 -r1.86.4.4 src/sys/dev/pci/ixgbe/ixgbe.h
cvs rdiff -u -r1.55.4.4 -r1.55.4.5 src/sys/dev/pci/ixgbe/ixgbe_type.h
cvs rdiff -u -r1.183.4.3 -r1.183.4.4 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