#
339884 |
|
29-Oct-2018 |
davidcs |
MFC r339366 Add support for Error Recovery
Submitted by:Vaishali.Kulkarni@cavium.com
|
#
339882 |
|
29-Oct-2018 |
davidcs |
MFC r338734
Fixed isses: State check before enqueuing transmit task in bxe_link_attn() routine. State check before invoking bxe_nic_unload in bxe_shutdown().
Submitted by:Vaishali.Kulkarni@cavium.com
|
#
337511 |
|
09-Aug-2018 |
davidcs |
MFC r336438
Fixes for the following issues: 1. Fix taskqueues drain/free to fix panic seen when interface is being bought down and in parallel asynchronous link events happening.
2. Fix bxe_ifmedia_status()
Submitted by:Vaishali.Kulkarni@cavium.com and Anand.Khoje@cavium.com
|
#
335340 |
|
18-Jun-2018 |
dim |
Follow-up to r335289, which merged r334948 from head, to really fix the bxe build on i386. In the stable/10 branch, the rman functions still use u_long instead of uintmax_t (this was changed in r294883 and r297000), so these have to be printed using the l modifier instead.
Pointy hat to: me Noticed by: gjb
|
#
335289 |
|
17-Jun-2018 |
dim |
MFC r334948:
Fix build of bxe with base gcc on i386
Casting from rman_res_t to a pointer results in "cast to pointer from integer of different size" warnings with base gcc on i386, so print these without casting. The kva field of struct bxe_bar is of type vm_offset_t, which can be 32 or 64 bit, so cast it to uintmax_t before printing.
Reviewed by: markj Differential Revision: https://reviews.freebsd.org/D15733
|
#
333431 |
|
09-May-2018 |
davidcs |
MFC r333004 Fix Issue with adding MUltiCast Addresses. When multicast addresses are added/deleted, the delete the multicast addresses previously programmed in HW and reprogram the new set of multicast addresses.
Submitted by:Vaishali.Kulkarni@cavium.com
|
#
321516 |
|
26-Jul-2017 |
ae |
MFC r321203: Add HPE FlexFabric 10Gb 4-port 536FLR-T device id to the bxe(4) driver.
|
#
315882 |
|
24-Mar-2017 |
davidcs |
MFC r314365 1. state checks in bxe_tx_mq_start_locked() and bxe_tx_mq_start() to sync 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
|
#
307973 |
|
26-Oct-2016 |
davidcs |
MFC r307578 1. Use taskqueue_create() instead of taskqueue_create_fast() for both fastpath and slowpath taskqueues. 2. Service all transmits in taskqueue threads. 3. additional stats counters for keeping track of - bd availability - tx buf ring not emptied in the fp task queue. These are drained via timeout taskqueue. - tx attempts during link down.
|
#
305615 |
|
08-Sep-2016 |
pfg |
MFC r303891, r303892: sys: replace comma with semicolon when pertinent.
Uses of commas instead of a semicolons can easily go undetected. The comma can serve as a statement separator but this shouldn't be abused when statements are meant to be standalone.
|
#
299298 |
|
10-May-2016 |
davidcs |
MFC r298496
Remove Unused/Dead Code
|
#
299297 |
|
10-May-2016 |
davidcs |
MFC r298294 1. modify fwdump (a.k.a grcdump) so that grcdump memory is allocated 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
|
#
298282 |
|
19-Apr-2016 |
davidcs |
MFC r297884 Add support for Flash Update
Submitted by:nrapendra.singh@qlogic.com;vaishali.kulkarni@qlogic.com;davidcs@freebsd.org
|
#
298281 |
|
19-Apr-2016 |
davidcs |
MFC r297873 1. Process tx completions in bxe_periodic_callout_func() and restart transmissions if possible. 2. For SIOCSIFFLAGS call bxe_init_locked() only if !BXE_STATE_DISABLED 3. remove code not needed in bxe_init_internal_common()
Submitted by:vaishali.kulkarni@qlogic.com;venkata.bhavaraju@qlogic.com
|
#
297622 |
|
06-Apr-2016 |
davidcs |
MFC r297155 Modifications to achieve a common source base from FreeBSD7.x thru 10.x
|
#
296876 |
|
14-Mar-2016 |
davidcs |
MFC r296579 Fix code so that buf_ring allocation for Tx Queues and their mutexes is done during during bxe_attach() and freed during bxe_detach()
|
#
296580 |
|
09-Mar-2016 |
davidcs |
MFC r296071 Upgrade the firmware carried in driver and loaded during hardware initialization (a.k.a STORM firmware) to version 7.13.1 (latest version)
|
#
296069 |
|
25-Feb-2016 |
davidcs |
MFC r295830 Remove dead code. Code Cleanup. Improve clarity in debug messages
Approved by:re (marius)
|
#
296061 |
|
25-Feb-2016 |
davidcs |
MFC r295823
Modified the use of bxe_grc_dump() function so that it can be invoked directly at any potential error path, where a fwdump is needed. The fwdump (a.k.a grcdump) is stored in a driver buffer. The sysctl grcdump_done indicates if a fwdump was taken and waiting to be retrieved. The sysctl trigger_grcdump can be used to manually trigger a fwdump.
Approved by:re (marius)
|
#
293788 |
|
12-Jan-2016 |
davidcs |
MFC r292639 Add support for firmware dump (a.k.a grcdump)
|
#
293787 |
|
12-Jan-2016 |
davidcs |
MFC r292638 Check for packet_length is greater than 60 bytes as well as packet_length is 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()
|
#
293786 |
|
12-Jan-2016 |
davidcs |
MFC r289199 Add support for reading device temperature
|
#
286297 |
|
04-Aug-2015 |
davidcs |
MFC r285973 - Avoid lock contention in the if_transmit callback by using trylock and enqueueing the frames when it fails. This way there is some latency removed from the transmitting path. - If IFF_DRV_OACTIVE is set (and also if IFF_DRV_RUNNING is not) just enqueue the desired frames and return successful transmit. This way we avoid to return errors on transmit side and resulting in possible out-of-order frames. Please note that IFF_DRV_OACTIVE is set everytime we get the threshold ring hit, so this can be happening quite often.
Submitted by: Attilio.Rao@isilon.com
|
#
284966 |
|
30-Jun-2015 |
davidcs |
MFC r284739 tx_mtx should be grabbed before calling buf_ring_dequeue_sc()
Submitted by:Attilio.Rao@isilon.com
|
#
284963 |
|
30-Jun-2015 |
davidcs |
MFC r284470 In bxe_init_mcast_macs_list(): mc_mac->mac needs to point to the multicast mac address In bxe_set_mc_list(): added missing BXE_MCAST_UNLOCK() In __ecore_vlan_mac_h_exec_pending(): need to check for ECORE_PENDING
Submitted by: gary.zambrano@qlogic.com
|
#
284962 |
|
30-Jun-2015 |
davidcs |
MFC r284335
PHY LOCK acquires the hardware lock via bxe_acquire_phy_lock() and releases it via bxe_release_phy_lock(). It was simply acquiring a mutex earlier which can cause the PHY to use bogus values. Fixes intermittent link failures.
bxe_ioctl() completes all functions within its context as opposed to a taskqueue earlier.
bxe_handle_rx_mode_tq() no longer required. bxe_set_rx_mode() handles the functionality within its context
Submitted by: gary.zambrano@qlogic.com
|
#
283755 |
|
29-May-2015 |
davidcs |
MFC r283274
Submitted by: gary.zambrano@qlogic.com Approved by:davidcs@freebsd.org
|
#
283752 |
|
29-May-2015 |
davidcs |
MFC r283269
Submitted by:gary.zambrano@qlogic.com Approved by:davidcs@freebsd.org
|
#
281955 |
|
24-Apr-2015 |
hiren |
MFC r275358 r275483 r276982 - Removing M_FLOWID by hps@
r275358: Start process of removing the use of the deprecated "M_FLOWID" flag from the FreeBSD network code. The flag is still kept around in the "sys/mbuf.h" header file, but does no longer have any users. Instead the "m_pkthdr.rsstype" field in the mbuf structure is now used to decide the meaning of the "m_pkthdr.flowid" field. To modify the "m_pkthdr.rsstype" field please use the existing "M_HASHTYPE_XXX" macros as defined in the "sys/mbuf.h" header file.
This patch introduces new behaviour in the transmit direction. Previously network drivers checked if "M_FLOWID" was set in "m_flags" before using the "m_pkthdr.flowid" field. This check has now now been replaced by checking if "M_HASHTYPE_GET(m)" is different from "M_HASHTYPE_NONE". In the future more hashtypes will be added, for example hashtypes for hardware dedicated flows.
"M_HASHTYPE_OPAQUE" indicates that the "m_pkthdr.flowid" value is valid and has no particular type. This change removes the need for an "if" statement in TCP transmit code checking for the presence of a valid flowid value. The "if" statement mentioned above is now a direct variable assignment which is then later checked by the respective network drivers like before.
r275483: Remove M_FLOWID from SCTP code.
r276982: Remove no longer used "M_FLOWID" flag from mbuf.h and update the netisr manpage.
Note: The FreeBSD version has been bumped.
Reviewed by: hps, tuexen Sponsored by: Limelight Networks
|
#
281215 |
|
07-Apr-2015 |
davidcs |
MFC r281006 When an mbuf allocation fails in the receive path, the mbuf containing the received packet is not sent to the host network stack and is reused again on the receive ring. Remaining received packets in the ring are not processed in that invocation of bxe_rxeof() and defered to the task thread
|
#
273736 |
|
27-Oct-2014 |
hselasky |
MFC r263710, r273377, r273378, r273423 and r273455:
- De-vnet hash sizes and hash masks. - Fix multiple issues related to arguments passed to SYSCTL macros.
Sponsored by: Mellanox Technologies
|
#
271725 |
|
17-Sep-2014 |
davidcs |
MFC r268854 Initiate error recovery stats fail to update after 3 retries. Change bxe_panic() ECORE_DBG_BREAK_IF() ECORE_BUG() ECORE_BUG_ON() to panic only if ECORE_STOP_ON_ERROR is defined.
Approved by: re(gjb)
|
#
265917 |
|
12-May-2014 |
davidcs |
MFC r265703 Modify Copyright information and other strings to reflect Qlogic Corporation's purchase of Broadcom's NetXtreme business. Added clean option to Makefile
Submitted by:David C Somayajulu (davidcs@freebsd.org) QLogic Corporation
|
#
265797 |
|
10-May-2014 |
davidcs |
MFC r265411 Modify Copyright information to reflect Qlogic Corporation's purchase of Broadcom's NetXtreme business
Submitted by:David C Somayajulu (davidcs@freebsd.org) QLogic Corporation
|
#
263581 |
|
21-Mar-2014 |
edavis |
MFC 262999 Fixed MSI interrupt allocation and handling. Fixed a DMA mapping leak that occurs when defragmenting packet chains.
Approved by: davidch (mentor)
|
#
260416 |
|
07-Jan-2014 |
edavis |
Merged r260415 from head.
Approved by: davidch
|
#
260114 |
|
30-Dec-2013 |
edavis |
Approved by: re@ (gjb) Approved by: davidch (mentor)
|
#
260101 |
|
30-Dec-2013 |
dim |
MFC r259928:
In sys/dev/bxe/bxe.c, remove static function bxe_has_tx_work_unload(), which has never been used.
Reviewed by: edavis
|
#
258203 |
|
15-Nov-2013 |
edavis |
Merge r258187 from head.
Approved by: re@ (delphij) Approved by: davidch (mentor)
|
#
256342 |
|
11-Oct-2013 |
dim |
In sys/dev/bxe/bxe.c, print bus_addr_t values using %#jx, to fix several gcc warnings for PAE kernels.
Approved by: re (glebius) Reviewed by: davidch, edavis
|
#
256319 |
|
11-Oct-2013 |
edavis |
Merge r256299 from head.
Approved by: re@ (gjb) Approved by: davidch (mentor)
|
#
286297 |
|
04-Aug-2015 |
davidcs |
MFC r285973 - Avoid lock contention in the if_transmit callback by using trylock and enqueueing the frames when it fails. This way there is some latency removed from the transmitting path. - If IFF_DRV_OACTIVE is set (and also if IFF_DRV_RUNNING is not) just enqueue the desired frames and return successful transmit. This way we avoid to return errors on transmit side and resulting in possible out-of-order frames. Please note that IFF_DRV_OACTIVE is set everytime we get the threshold ring hit, so this can be happening quite often.
Submitted by: Attilio.Rao@isilon.com
|
#
284966 |
|
30-Jun-2015 |
davidcs |
MFC r284739 tx_mtx should be grabbed before calling buf_ring_dequeue_sc()
Submitted by:Attilio.Rao@isilon.com
|
#
284963 |
|
30-Jun-2015 |
davidcs |
MFC r284470 In bxe_init_mcast_macs_list(): mc_mac->mac needs to point to the multicast mac address In bxe_set_mc_list(): added missing BXE_MCAST_UNLOCK() In __ecore_vlan_mac_h_exec_pending(): need to check for ECORE_PENDING
Submitted by: gary.zambrano@qlogic.com
|
#
284962 |
|
30-Jun-2015 |
davidcs |
MFC r284335
PHY LOCK acquires the hardware lock via bxe_acquire_phy_lock() and releases it via bxe_release_phy_lock(). It was simply acquiring a mutex earlier which can cause the PHY to use bogus values. Fixes intermittent link failures.
bxe_ioctl() completes all functions within its context as opposed to a taskqueue earlier.
bxe_handle_rx_mode_tq() no longer required. bxe_set_rx_mode() handles the functionality within its context
Submitted by: gary.zambrano@qlogic.com
|
#
283755 |
|
29-May-2015 |
davidcs |
MFC r283274
Submitted by: gary.zambrano@qlogic.com Approved by:davidcs@freebsd.org
|
#
283752 |
|
29-May-2015 |
davidcs |
MFC r283269
Submitted by:gary.zambrano@qlogic.com Approved by:davidcs@freebsd.org
|
#
281955 |
|
24-Apr-2015 |
hiren |
MFC r275358 r275483 r276982 - Removing M_FLOWID by hps@
r275358: Start process of removing the use of the deprecated "M_FLOWID" flag from the FreeBSD network code. The flag is still kept around in the "sys/mbuf.h" header file, but does no longer have any users. Instead the "m_pkthdr.rsstype" field in the mbuf structure is now used to decide the meaning of the "m_pkthdr.flowid" field. To modify the "m_pkthdr.rsstype" field please use the existing "M_HASHTYPE_XXX" macros as defined in the "sys/mbuf.h" header file.
This patch introduces new behaviour in the transmit direction. Previously network drivers checked if "M_FLOWID" was set in "m_flags" before using the "m_pkthdr.flowid" field. This check has now now been replaced by checking if "M_HASHTYPE_GET(m)" is different from "M_HASHTYPE_NONE". In the future more hashtypes will be added, for example hashtypes for hardware dedicated flows.
"M_HASHTYPE_OPAQUE" indicates that the "m_pkthdr.flowid" value is valid and has no particular type. This change removes the need for an "if" statement in TCP transmit code checking for the presence of a valid flowid value. The "if" statement mentioned above is now a direct variable assignment which is then later checked by the respective network drivers like before.
r275483: Remove M_FLOWID from SCTP code.
r276982: Remove no longer used "M_FLOWID" flag from mbuf.h and update the netisr manpage.
Note: The FreeBSD version has been bumped.
Reviewed by: hps, tuexen Sponsored by: Limelight Networks
|
#
281215 |
|
07-Apr-2015 |
davidcs |
MFC r281006 When an mbuf allocation fails in the receive path, the mbuf containing the received packet is not sent to the host network stack and is reused again on the receive ring. Remaining received packets in the ring are not processed in that invocation of bxe_rxeof() and defered to the task thread
|
#
273736 |
|
27-Oct-2014 |
hselasky |
MFC r263710, r273377, r273378, r273423 and r273455:
- De-vnet hash sizes and hash masks. - Fix multiple issues related to arguments passed to SYSCTL macros.
Sponsored by: Mellanox Technologies
|
#
271725 |
|
17-Sep-2014 |
davidcs |
MFC r268854 Initiate error recovery stats fail to update after 3 retries. Change bxe_panic() ECORE_DBG_BREAK_IF() ECORE_BUG() ECORE_BUG_ON() to panic only if ECORE_STOP_ON_ERROR is defined.
Approved by: re(gjb)
|
#
265917 |
|
12-May-2014 |
davidcs |
MFC r265703 Modify Copyright information and other strings to reflect Qlogic Corporation's purchase of Broadcom's NetXtreme business. Added clean option to Makefile
Submitted by:David C Somayajulu (davidcs@freebsd.org) QLogic Corporation
|
#
265797 |
|
10-May-2014 |
davidcs |
MFC r265411 Modify Copyright information to reflect Qlogic Corporation's purchase of Broadcom's NetXtreme business
Submitted by:David C Somayajulu (davidcs@freebsd.org) QLogic Corporation
|
#
263581 |
|
21-Mar-2014 |
edavis |
MFC 262999 Fixed MSI interrupt allocation and handling. Fixed a DMA mapping leak that occurs when defragmenting packet chains.
Approved by: davidch (mentor)
|
#
260416 |
|
07-Jan-2014 |
edavis |
Merged r260415 from head.
Approved by: davidch
|
#
260114 |
|
30-Dec-2013 |
edavis |
Approved by: re@ (gjb) Approved by: davidch (mentor)
|
#
260101 |
|
30-Dec-2013 |
dim |
MFC r259928:
In sys/dev/bxe/bxe.c, remove static function bxe_has_tx_work_unload(), which has never been used.
Reviewed by: edavis
|
#
258203 |
|
15-Nov-2013 |
edavis |
Merge r258187 from head.
Approved by: re@ (delphij) Approved by: davidch (mentor)
|
#
256342 |
|
11-Oct-2013 |
dim |
In sys/dev/bxe/bxe.c, print bus_addr_t values using %#jx, to fix several gcc warnings for PAE kernels.
Approved by: re (glebius) Reviewed by: davidch, edavis
|
#
256319 |
|
11-Oct-2013 |
edavis |
Merge r256299 from head.
Approved by: re@ (gjb) Approved by: davidch (mentor)
|