aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/bxe/bxe_stats.c
Commit message (Collapse)AuthorAgeFilesLines
* sys: Remove $FreeBSD$: one-line .c patternWarner Losh2023-08-161-2/+0
| | | | Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
* Add support for Error RecoveryDavid C Somayajulu2018-10-151-11/+9
| | | | | | | | | Submitted by:Vaishali.Kulkarni@cavium.com Approved by:re(kib) MFC after:5 days Notes: svn path=/head/; revision=339366
* sys/dev: further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-201-0/+2
| | | | | | | | | | | | | | | | | Mainly focus on files that use BSD 3-Clause license. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. Special thanks to Wind River for providing access to "The Duke of Highlander" tool: an older (2014) run over FreeBSD tree was useful as a starting point. Notes: svn path=/head/; revision=326022
* 1. state checks in bxe_tx_mq_start_locked() and bxe_tx_mq_start() to sync ↵David C Somayajulu2017-02-271-0/+2
| | | | | | | | | | | | | | | threads during interface down or detach. 2. add sysctl to set pause frame parameters 3. increase max segs for TSO packets to BXE_TSO_MAX_SEGMENTS (32) 4. add debug messages for PHY 5. HW LRO support restricted to FreeBSD versions 8.x and above. Submitted by:Vaishali.Kulkarni@cavium.com MFC after:5 days Notes: svn path=/head/; revision=314365
* sys/dev: minor spelling fixes.Pedro F. Giffuni2016-05-031-1/+1
| | | | | | | Most affect comments, very few have user-visible effects. Notes: svn path=/head/; revision=298955
* 1. modify fwdump (a.k.a grcdump) so that grcdump memory is allocatedDavid C Somayajulu2016-04-191-2/+10
| | | | | | | | | | | | | and freed on as needed basis. 2. grcdump can be taken at failure points by invoking bxe_grc_dump() when trigger_grcdump sysctl flag is set. When grcdump is taken grcdump_done sysctl flag is set. 3. grcdump_done can be monitored by the user to retrieve the grcdump. Submitted by:vaishali.kulkarni@qlogic.com Notes: svn path=/head/; revision=298294
* reversed commits r297916 r297909 r297898 due to i386 build failures.David C Somayajulu2016-04-131-10/+2
| | | | | | | MFC after:5 days Notes: svn path=/head/; revision=297922
* 1. modify fwdump (a.k.a grcdump) memory is allocated and freed on as neededDavid C Somayajulu2016-04-131-2/+10
| | | | | | | | | | | | | | | basis. 2. grcdump can be taken at failure points by invoking bxe_grc_dump() when trigger_grcdump sysctl flag is set. When grcdump is taken grcdump_done sysctl flag is set. 3. grcdump_done can be monitored by the user to retrieve the grcdump. Submitted by:vaishali.kulkarni@qlogic.com Approved by:davidcs@freebsd.org MFC after:5 days Notes: svn path=/head/; revision=297898
* Upgrade the firmware carried in driver and loaded during hardwareDavid C Somayajulu2016-02-251-10/+10
| | | | | | | initialization (a.k.a STORM firmware) to version 7.13.1 (latest version) Notes: svn path=/head/; revision=296071
* Remove dead code. Code Cleanup. Improve clarity in debug messagesDavid C Somayajulu2016-02-191-191/+1
| | | | | | | MFC after:5 days Notes: svn path=/head/; revision=295830
* Check for packet_length is greater than 60 bytes as well as packet_length isDavid C Somayajulu2015-12-231-0/+2
| | | | | | | | | | | | | | greater than len_on_bd, before invoking the routine to handle jumbo over SGL (bxe_service_rxsgl()). Add counters for number of jumbo_over_SGL packets (rx_bxe_service_rxsgl) and erroneous jumbo_over_SGL packets (rx_erroneous_jumbo_sge_pkts) Fix formatting in bxe_sysctl_state() MFC after:5 days Notes: svn path=/head/; revision=292638
* Add stat counters for Jumbo Frames using SGE ring.David C Somayajulu2015-05-221-0/+1
| | | | | | | | | | | Also remove the checks for IFCAP_LRO in bxe_alloc_fp_buffers() and bxe_pf_rx_q_prep() since both TPA and Jumbo can use SGE ring. Submitted by:gary.zambrano@qlogic.com Approved by:davidcs@freebsd.org MFC after:5 days Notes: svn path=/head/; revision=283274
* - Use if_inc_counter() to increment various counters.Gleb Smirnoff2014-09-181-52/+44
| | | | | | | | | | | | - Do not ever set a counter to a value. For those counters that we don't increment, but return directly from hardware create cases in if_get_counter() method. Sponsored by: Netflix Sponsored by: Nginx, Inc. Notes: svn path=/head/; revision=271782
* Fix build by using the driver API (driver converted in r266979 which shouldXin LI2014-07-181-1/+1
| | | | | | | | | | be upstreamed). X-MFC with: r268854 MFC after: 5 days Notes: svn path=/head/; revision=268856
* Initiate error recovery stats fail to update after 3 retries.David C Somayajulu2014-07-181-1/+4
| | | | | | | | | | Change bxe_panic() ECORE_DBG_BREAK_IF() ECORE_BUG() ECORE_BUG_ON() to panic only if ECORE_STOP_ON_ERROR is defined. MFC after:5 days Notes: svn path=/head/; revision=268854
* Convert bxe(4) to use the driver API.Marcel Moolenaar2014-06-021-29/+25
| | | | | | | | Submitted by: Sreekanth Rupavatharam <rupavath@juniper.net> Obtained from: Juniper Networks, Inc. Notes: svn path=/head/; revision=266979
* Modify Copyright information to reflect Qlogic Corporation's purchaseDavid C Somayajulu2014-05-061-8/+1
| | | | | | | | | | of Broadcom's NetXtreme business Submitted by:David C Somayajulu (davidcs@freebsd.org) QLogic Corporation MFC after:5 days Notes: svn path=/head/; revision=265411
* Fixed the media type shown via ifconfig.Eric Davis2013-10-101-0/+11
| | | | | | | | | | | | | Fixed a panic that occurs when bringing up an interface on 57710/57711 running very old bootcode versions. Fixed how bool is defined for those who have been using this code on older versions of FreeBSD. Approved by: re@ (gjb) Approved by: davidch (mentor) Notes: svn path=/head/; revision=256299
* Substantial rewrite of bxe(4) to add support for the BCM57712 andDavid Christensen2013-09-201-0/+2032
BCM578XX controllers. Approved by: re MFC after: 4 weeks Notes: svn path=/head/; revision=255736