summaryrefslogtreecommitdiff
path: root/sys/dev/pci/ixgbe
AgeCommit message (Collapse)Author
2023-05-15Count the number of link down events in the MAC using with LINK_DN_CNT.msaitoh
- Add new event counter "link_dn_cnt" to count the number of link down events in the MAC. - The LINK_DN_CNT register (at 0x0403c) is described only in the Denverton's datasheet, so use it only on ixgbe_mac_X550EM_a.
2023-02-03Use thermal sensor code for IXGBE_DEV_ID_X550EM_A_10G_T, too.msaitoh
PCI device ID 0x15c8 also use X557-AT PHY, so create the thermal sensor sysctl for it, too.
2022-10-28Make three "Unsupported SFP+ module..." messages the same.msaitoh
2022-09-16ixg(4) add an option for Tx to use deferred softint regardless of whether ↵knakahara
can get txq lock or not. That imporve (7%) and stabilize throughput. But that can cause latency degradation, so off by default. ok'ed by msaitoh@n.o.
2022-08-07fix typos in comments.andvar
2022-07-06Call txeof first, then rxeof for the consistency.msaitoh
There are three functions where the txeof and rxeof are called. The legacy interrupt function and MSI-X function call rxeof first, then rxeof. For the workqueue function. rxeof is called first. Modify it to match with other two.
2022-06-18aprintf_normal -> aprint_normalskrll
2022-06-06s/filer/filter/ in comment. No functional change.msaitoh
2022-06-02Modify comment. ixgbe_enable_queue() can be used on both MSI-X and legacy intr.msaitoh
2022-06-02KNF. Modify comment. No functional change.msaitoh
2022-06-02KNF. No functional change.msaitoh
2022-06-01Correctly enter the recovery mode. Not tested.msaitoh
2022-06-01Correctly re-enable queue interrupt in ixgbe_legacy_irq().msaitoh
- Don't enable queue 1-15 interrupt. - Don't enable queue 0 interrupt when the queue work is being scheduled. - OK'd by knakahara.
2022-06-01Simplify ixgbe_msix_que(). No functional change.msaitoh
2022-05-31s/disbale/disable/ and s/enbale/enable/ in comments. also one more typo fix.andvar
2022-05-30Remove unused adapter->msix_mem.msaitoh
2022-05-30Fix a bug that the legacy interrupt doesn't work when MSI-X allocation failed.msaitoh
Fixes PR kern/56857.
2022-05-11bus_dmamem_unmap() before bus_dmamem_free(), otherwise we may give back meomrybouyer
which is still (and will stay) mapped. Fixes one instance of "panic: HYPERVISOR_mmu_update failed" on Xen. There may be others.
2022-04-25Add missing num_{tx,rx}_desc sysctl to sync with ixgbe.c.msaitoh
2022-04-25Add missing num_tx_desc sysctl.msaitoh
2022-04-25Limit {tx,rx}_process_limit sysctl values from 1 to num_{tx,rx}_desc.msaitoh
2022-04-25Use cached rx_copy_len in ixgbe_rxeof().msaitoh
2022-04-25Modify comment for consistency. No functional change.msaitoh
2022-03-10Print ECC, PHY and temp error log using with ratecheck().msaitoh
- The ratecheck() is for just in case. All of the interrupts might occur only once, but I don't know whether it's true or not. For the fan failure, it seems it occurs only once. - All of the interval is 60s.
2022-03-10 Enclose flow director stuff in ixgbe_intr_admin_common() with IXGBE_FIR.msaitoh
2022-03-10 Move the definition of eicr_mask variable. No functional change.msaitoh
2022-03-10 Modify comment to clarify EIAC setting.msaitoh
2022-03-10Add IFF_RUNNING check in ixgbe_legacy_irq() again.msaitoh
- This change might fix small race between ifconfig down and an interrupt. If the race really exists, txeof() is called and it's not so dangerous. The rxeof is blocked in the beginning of ixgbe_handle_que(). - This change makes consistent with ixgbe_handle_que(). - Found and OK'd by knakahara.
2022-02-16Print Printed Board Assembly (PBA) number.msaitoh
2022-02-01Increment legacy interrupt counter after checking INTx sharing.msaitoh
2022-01-25Fix compile error for non __HAVE_ATOMIC64_LOADSTORE arch.msaitoh
2022-01-25Use atomic_{load,store}_relaxed() for event counters.msaitoh
2022-01-24 Fix ixv.c rev. 1.176. Calculate 36bit counter correctly.msaitoh
2022-01-24Use 32bit for 32bit counter.msaitoh
2022-01-19Improve ixv(4)'s some event counters.msaitoh
- 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.
2022-01-18Update ixv_print_debug_info() to print similar data to ixg(4).msaitoh
The old hw.ixvN.debug=1 printed evcnt(9) data. The same values are printed by vmstat -e, so it's not worth to print. Remove all of the old output and make it similar to ixgbe_print_debug_info().
2022-01-18Don't expose garbage data of hw.ixvN.debug.msaitoh
2022-01-18Don't clear mailbox related counters in ixgbe_upgrade_mbx_params_pf().msaitoh
2022-01-18Don't clear mailbox related counters in ixgbe_upgrade_mbx_params_vf().msaitoh
2022-01-18Use 64bit for lxon + lxoff.msaitoh
2022-01-17Fix ierror counting again.msaitoh
ixgbe.c rev. 1.298 added total values kept in evcnt(9) instead of incremental values read from registers. Fix it.
2021-12-31sys: Use if_init wrapper function.riastradh
Exception: Not in kern_pmf.c, for the kind of silly reason that it avoids having kern_pmf.c refer to symbols defined only in net; this avoids a pain in the rump.
2021-12-24Enable mailbox API 1.5 support. Tested on ESXi with ixgben 1.10.3.0.msaitoh
2021-12-24Add code to support API version 1.5. No functional change.msaitoh
- This change adds almost all code to support API 1.5 except real negotiation and upgrade mailbox functions. - From ix-3.3.18, ix-3.3.22 and ixv-1.5.24.
2021-12-24Whitespace fix. Remove old comment. No functional change.msaitoh
- From FreeBSD ixv-1.5.22.
2021-12-24Restore some mailbox related functions. No functional change.msaitoh
- Revert some part of ixgbe_mbx.c rev. 1.7 and ixgbe_mbx.h rev. 1.11. It's also part of FreeBSD 3f66b96d8658f8721e6b1c6f035611bec44675b9. - This change reduces diff against FreeBSD ix-3.3.14.
2021-12-24Update copyright to 2020.msaitoh
FreeBSD: 8455e365f77f5b66ac9521dbcd690f79345ce147
2021-12-24Change the first argument of ixgbe_send_vf_msg(). No functional change.msaitoh
- This is a part of FreeBSD ix-3.2.17.
2021-12-24Rename IXGBE_VT_MSGTYPE_{ACK,NACK} to IXGBE_VT_MSGTYPE_{SUCCESS,FAILURE}.msaitoh
- Sync with FreeBSD ix-3.3.18. - No functional change.
2021-12-24Move some definitions. No functional change. Part of FreeBSD ix-3.3.18.msaitoh