svn commit: r343598 - in head/sys: dev/qlnx/qlnxe dev/qlnx/qlnxr modules/qlnx modules/qlnx/qlnxe modules/qlnx/qlnxr

2019-01-30 Thread David C Somayajulu
Author: davidcs Date: Thu Jan 31 00:09:38 2019 New Revision: 343598 URL: https://svnweb.freebsd.org/changeset/base/343598 Log: Add RDMA (iWARP and RoCEv1) support David Somayajulu (davidcs): Overall RDMA Driver infrastructure and iWARP Anand Khoje (akh...@marvell.com): RoCEv1 verbs

svn commit: r339366 - head/sys/dev/bxe

2018-10-15 Thread David C Somayajulu
Author: davidcs Date: Mon Oct 15 18:39:33 2018 New Revision: 339366 URL: https://svnweb.freebsd.org/changeset/base/339366 Log: Add support for Error Recovery Submitted by:vaishali.kulka...@cavium.com Approved by:re(kib) MFC after:5 days Modified: head/sys/dev/bxe/bxe.c

svn commit: r338734 - head/sys/dev/bxe

2018-09-17 Thread David C Somayajulu
Author: davidcs Date: Mon Sep 17 20:15:18 2018 New Revision: 338734 URL: https://svnweb.freebsd.org/changeset/base/338734 Log: Fixed isses: State check before enqueuing transmit task in bxe_link_attn() routine. State check before invoking bxe_nic_unload in bxe_shutdown(). Submitted

svn commit: r336695 - in head/sys: dev/qlnx/qlnxe modules/qlnx modules/qlnx/qlnxe modules/qlnx/qlnxev

2018-07-24 Thread David C Somayajulu
Author: davidcs Date: Wed Jul 25 02:36:55 2018 New Revision: 336695 URL: https://svnweb.freebsd.org/changeset/base/336695 Log: Remove support for QLNX_RCV_IN_TASKQ - i.e., Rx only in TaskQ. Added support for LLDP passthru Upgrade ECORE to version 8.33.5.0 Upgrade STORMFW to version

svn commit: r336680 - head/share/man/man4

2018-07-24 Thread David C Somayajulu
Author: davidcs Date: Tue Jul 24 18:39:46 2018 New Revision: 336680 URL: https://svnweb.freebsd.org/changeset/base/336680 Log: Update man page with support for 41000 Series adapters MFC after:5 days Modified: head/share/man/man4/qlnxe.4 Modified: head/share/man/man4/qlnxe.4

svn commit: r336438 - head/sys/dev/bxe

2018-07-17 Thread David C Somayajulu
Author: davidcs Date: Tue Jul 17 23:56:13 2018 New Revision: 336438 URL: https://svnweb.freebsd.org/changeset/base/336438 Log: 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

svn commit: r333004 - head/sys/dev/bxe

2018-04-25 Thread David C Somayajulu
Author: davidcs Date: Wed Apr 25 18:06:22 2018 New Revision: 333004 URL: https://svnweb.freebsd.org/changeset/base/333004 Log: Fix Issue with adding MUltiCast Addresses. When multicast addresses are added/deleted, the delete the multicast addresses previously programmed in HW and reprogram

svn commit: r333003 - head/sys/dev/qlxgbe

2018-04-25 Thread David C Somayajulu
Author: davidcs Date: Wed Apr 25 17:51:17 2018 New Revision: 333003 URL: https://svnweb.freebsd.org/changeset/base/333003 Log: Upgraded FW Related Files to version 5.4.67 MFC after:5 days Modified: head/sys/dev/qlxgbe/ql_boot.c head/sys/dev/qlxgbe/ql_fw.c

svn commit: r331739 - head/sys/dev/qlxgbe

2018-03-29 Thread David C Somayajulu
Author: davidcs Date: Thu Mar 29 17:36:34 2018 New Revision: 331739 URL: https://svnweb.freebsd.org/changeset/base/331739 Log: 1. Add additional debug prints. 2. Break transmit when IFF_DRV_RUNNING is OFF. 3. set desc_count=0 for default case in switch in ql_rcv_isr() MFC after:5 days

svn commit: r329855 - head/sys/dev/qlxgbe

2018-02-22 Thread David C Somayajulu
Author: davidcs Date: Fri Feb 23 03:36:24 2018 New Revision: 329855 URL: https://svnweb.freebsd.org/changeset/base/329855 Log: 1. Added support to offline a port if is error recovery on successful. 2. Sysctls to enable/disable driver_state_dump and error_recovery. 3. Sysctl to control the

svn commit: r324538 - head/sys/dev/qlxgbe

2017-10-11 Thread David C Somayajulu
Author: davidcs Date: Wed Oct 11 20:22:01 2017 New Revision: 324538 URL: https://svnweb.freebsd.org/changeset/base/324538 Log: Added support driver state capture/retrieval MFC after:5 days Modified: head/sys/dev/qlxgbe/ql_def.h head/sys/dev/qlxgbe/ql_glbl.h

svn commit: r324535 - head/sys/dev/qlxgbe

2017-10-11 Thread David C Somayajulu
Author: davidcs Date: Wed Oct 11 18:25:05 2017 New Revision: 324535 URL: https://svnweb.freebsd.org/changeset/base/324535 Log: Add sanity checks in ql_hw_send() qla_send() to ensure that empty slots in Tx Ring map to empty slot in Tx_buf array before Transmits. If the checks fail further

svn commit: r324504 - head/sys/dev/qlxgbe

2017-10-10 Thread David C Somayajulu
Author: davidcs Date: Tue Oct 10 20:45:45 2017 New Revision: 324504 URL: https://svnweb.freebsd.org/changeset/base/324504 Log: Revert Commit r324290 Add sanity checks in ql_hw_send() qla_send() to ensure that empty slots in Tx Ring map to empty slot in Tx_buf array before Transmits. If

svn commit: r324290 - head/sys/dev/qlxgbe

2017-10-04 Thread David C Somayajulu
Author: davidcs Date: Wed Oct 4 23:03:09 2017 New Revision: 324290 URL: https://svnweb.freebsd.org/changeset/base/324290 Log: Add sanity checks in ql_hw_send() qla_send() to ensure that empty slots in Tx Ring map to empty slot in Tx_buf array before Transmits. If the checks fail further

svn commit: r324065 - head/sys/dev/qlxgbe

2017-09-27 Thread David C Somayajulu
Author: davidcs Date: Wed Sep 27 17:46:11 2017 New Revision: 324065 URL: https://svnweb.freebsd.org/changeset/base/324065 Log: Tx Ring Shadow Consumer Index Register needs to be cleared prior to passing it's physical address to the FW during Tx Create Context. MFC after:3 days Modified:

svn commit: r324026 - head/sys/dev/qlxgbe

2017-09-26 Thread David C Somayajulu
Author: davidcs Date: Tue Sep 26 20:53:25 2017 New Revision: 324026 URL: https://svnweb.freebsd.org/changeset/base/324026 Log: Fix delete all multicast addresses Submitted by:anand.kh...@cavium.com MFC after:5 days Modified: head/sys/dev/qlxgbe/ql_glbl.h head/sys/dev/qlxgbe/ql_hw.c

svn commit: r323824 - head/sys/dev/qlxgbe

2017-09-20 Thread David C Somayajulu
Author: davidcs Date: Wed Sep 20 20:07:45 2017 New Revision: 323824 URL: https://svnweb.freebsd.org/changeset/base/323824 Log: 1. ql_hw.c: In ql_hw_send() return EINVAL when TSO framelength exceeds max supported length by HW.(davidcs) 2. ql_os.c: In qla_send() call

svn commit: r323782 - head/sys/dev/qlxgbe

2017-09-19 Thread David C Somayajulu
Author: davidcs Date: Tue Sep 19 23:26:27 2017 New Revision: 323782 URL: https://svnweb.freebsd.org/changeset/base/323782 Log: Add sysctl "enable_minidump" to turn on/off automatic minidump retrieval MFC after:5 days Modified: head/sys/dev/qlxgbe/ql_def.h head/sys/dev/qlxgbe/ql_os.c

svn commit: r323781 - head/sys/dev/qlxgbe

2017-09-19 Thread David C Somayajulu
Author: davidcs Date: Tue Sep 19 22:17:30 2017 New Revision: 323781 URL: https://svnweb.freebsd.org/changeset/base/323781 Log: Update minidump template for version 5.4.66 MFC after:5 days Modified: head/sys/dev/qlxgbe/ql_minidump.c Modified: head/sys/dev/qlxgbe/ql_minidump.c

svn commit: r322852 - head/sys/dev/qlnx/qlnxe

2017-08-24 Thread David C Somayajulu
Author: davidcs Date: Thu Aug 24 19:09:42 2017 New Revision: 322852 URL: https://svnweb.freebsd.org/changeset/base/322852 Log: Fix qlnx_tso_check() so that every window of (ETH_TX_LSO_WINDOW_BDS_NUM - nbds_in_hdr) has atleast ETH_TX_LSO_WINDOW_MIN_LEN bytes MFC after:5 days Modified:

svn commit: r322771 - in head/sys: dev/qlxgbe modules/qlxgbe

2017-08-21 Thread David C Somayajulu
Author: davidcs Date: Mon Aug 21 20:27:45 2017 New Revision: 322771 URL: https://svnweb.freebsd.org/changeset/base/322771 Log: Upgrade FW to 5.4.66 sysctls to display stats, stats polled every 2 seconds Modify QLA_LOCK()/QLA_UNLOCK() to not sleep after acquiring mtx_lock Add support to

svn commit: r322408 - in head/sys: dev/qlnx/qlnxe modules/qlnx/qlnxe

2017-08-11 Thread David C Somayajulu
Author: davidcs Date: Fri Aug 11 17:43:25 2017 New Revision: 322408 URL: https://svnweb.freebsd.org/changeset/base/322408 Log: Performance enhancements to reduce CPU utililization for large number of TCP connections (order of tens of thousands), with predominantly Transmits. Choice to

svn commit: r322331 - in head/sys: dev/qlnx/qlnxe modules/qlnx/qlnxe

2017-08-09 Thread David C Somayajulu
Author: davidcs Date: Wed Aug 9 22:18:49 2017 New Revision: 322331 URL: https://svnweb.freebsd.org/changeset/base/322331 Log: Provide compile to choose receive processing in either Ithread or Taskqueue Thread. Modified: head/sys/dev/qlnx/qlnxe/qlnx_os.c head/sys/dev/qlnx/qlnxe/qlnx_ver.h

svn commit: r321233 - head/sys/dev/qlxgbe

2017-07-19 Thread David C Somayajulu
Author: davidcs Date: Wed Jul 19 19:08:37 2017 New Revision: 321233 URL: https://svnweb.freebsd.org/changeset/base/321233 Log: Raise the watchdog timer interval to 2 ticks, there by guaranteeing that it fires between 1ms and 2ms. ` Treat two consecutive occurrences of Heartbeat failures as

svn commit: r320705 - head/sys/dev/qlxgbe

2017-07-05 Thread David C Somayajulu
Author: davidcs Date: Thu Jul 6 05:16:06 2017 New Revision: 320705 URL: https://svnweb.freebsd.org/changeset/base/320705 Log: Release mtx hw_lock before calling pause() in qla_stop() and qla_error_recovery() MFC after: 5 days Modified: head/sys/dev/qlxgbe/ql_os.c Modified:

svn commit: r320175 - head/sys/dev/qlxgbe

2017-06-20 Thread David C Somayajulu
Author: davidcs Date: Tue Jun 20 21:17:05 2017 New Revision: 320175 URL: https://svnweb.freebsd.org/changeset/base/320175 Log: Add pkts_cnt_oversized to stats. Modified: head/sys/dev/qlxgbe/ql_hw.c head/sys/dev/qlxgbe/ql_hw.h Modified: head/sys/dev/qlxgbe/ql_hw.c

svn commit: r319964 - head/sys/dev/qlnx/qlnxe

2017-06-14 Thread David C Somayajulu
Author: davidcs Date: Thu Jun 15 02:45:43 2017 New Revision: 319964 URL: https://svnweb.freebsd.org/changeset/base/319964 Log: Upgrade STORMFW to 8.30.0.0 and ecore version to 8.30.0.0 Add support for pci deviceID 0x8070 for QLE41xxx product line which supports 10GbE/25GbE/40GbE MFC

svn commit: r318676 - head/sys/dev/qlnx/qlnxe

2017-05-22 Thread David C Somayajulu
Author: davidcs Date: Mon May 22 19:57:28 2017 New Revision: 318676 URL: https://svnweb.freebsd.org/changeset/base/318676 Log: Check for IPV6 TCP/UDP CSUM offload in pkt header during transmits. Submitted by:shminderjit.si...@cavium.com Modified: head/sys/dev/qlnx/qlnxe/qlnx_os.c

svn commit: r318383 - head/sys/dev/qlnx/qlnxe

2017-05-16 Thread David C Somayajulu
Author: davidcs Date: Tue May 16 21:46:30 2017 New Revision: 318383 URL: https://svnweb.freebsd.org/changeset/base/318383 Log: QL_DPRINT macro modfied to handle multiple args; print line#. Submitted by:shminderjit.si...@cavium.com MFC after:3 days Modified:

svn commit: r318382 - in head/sys: dev/qlnx/qlnxe modules/qlnx/qlnxe

2017-05-16 Thread David C Somayajulu
Author: davidcs Date: Tue May 16 21:34:40 2017 New Revision: 318382 URL: https://svnweb.freebsd.org/changeset/base/318382 Log: 1. Move Rx Processing to fp_taskqueue(). With this CPU utilization for processing interrupts drops to around 1% for 100G and under 1% for other speeds. 2. Use

svn commit: r318126 - head/sys/dev/qlnx/qlnxe

2017-05-09 Thread David C Somayajulu
Author: davidcs Date: Wed May 10 01:01:20 2017 New Revision: 318126 URL: https://svnweb.freebsd.org/changeset/base/318126 Log: llh_func_filter needs to be configured for 100G MFC after:3 days Modified: head/sys/dev/qlnx/qlnxe/ecore_dev.c Modified: head/sys/dev/qlnx/qlnxe/ecore_dev.c

svn commit: r317996 - head/sys/dev/qlxgbe

2017-05-08 Thread David C Somayajulu
Author: davidcs Date: Tue May 9 01:01:41 2017 New Revision: 317996 URL: https://svnweb.freebsd.org/changeset/base/317996 Log: Fix bug where MTX_DEF lock was held while taskqueue_drain() was invoked. Check IFF_DRV_RUNNING flag is set prior to calling ql_hw_set_multi() MFC after:3 days

svn commit: r317180 - head/sys/dev/qlxgbe

2017-04-19 Thread David C Somayajulu
Author: davidcs Date: Thu Apr 20 03:41:42 2017 New Revision: 317180 URL: https://svnweb.freebsd.org/changeset/base/317180 Log: Cleanup QLA_LOCK/QLA_UNLOCK macros remove unused QLA_TX_LOCK/QLA_TX_UNLOCK macros format qla_error_recovery() MFC after:3 days Modified:

svn commit: r316747 - head/sys/dev/qlnx/qlnxe

2017-04-12 Thread David C Somayajulu
Author: davidcs Date: Thu Apr 13 01:17:49 2017 New Revision: 316747 URL: https://svnweb.freebsd.org/changeset/base/316747 Log: Fix rss_ind_table entry for num_funcs > 1 MFC after:3 days Modified: head/sys/dev/qlnx/qlnxe/qlnx_os.c Modified: head/sys/dev/qlnx/qlnxe/qlnx_os.c

svn commit: r316720 - head/sys/dev/qlnx/qlnxe

2017-04-11 Thread David C Somayajulu
Author: davidcs Date: Wed Apr 12 00:52:09 2017 New Revision: 316720 URL: https://svnweb.freebsd.org/changeset/base/316720 Log: Fix defects reported by Coverity 1. Deadcode in ecore_init_cache_line_size(), qlnx_ioctl() and qlnx_clean_filters() 2. ARRAY_VS_SINGLETON issue in

svn commit: r316485 - in head: share/man/man4 sys/conf sys/dev/qlnx sys/dev/qlnx/qlnxe sys/modules sys/modules/qlnx sys/modules/qlnx/qlnxe

2017-04-04 Thread David C Somayajulu
-compact +.It +QLogic 45000 series +.El +.Sh SUPPORT +For support questions please contact your Cavium approved reseller or +Cavium Technical Support at +.Pa http://support.qlogic.com , +or by E-mail at +.Aq Mt supp...@qlogic.com . +.Sh SEE ALSO +.Xr altq 4 , +.Xr arp 4 , +.Xr netintro 4 , +.

svn commit: r316310 - head/share/man/man4

2017-03-30 Thread David C Somayajulu
Author: davidcs Date: Thu Mar 30 23:49:57 2017 New Revision: 316310 URL: https://svnweb.freebsd.org/changeset/base/316310 Log: Update man page for commit r316309 "Add support for optional Soft LRO". The driver provides the ability to select either HW or Software LRO, when LRO is enabled

svn commit: r316309 - head/sys/dev/qlxgbe

2017-03-30 Thread David C Somayajulu
Author: davidcs Date: Thu Mar 30 22:43:32 2017 New Revision: 316309 URL: https://svnweb.freebsd.org/changeset/base/316309 Log: Add support for optional Soft LRO MFC after:5 days Modified: head/sys/dev/qlxgbe/ql_hw.c head/sys/dev/qlxgbe/ql_hw.h head/sys/dev/qlxgbe/ql_isr.c

svn commit: r316183 - head/sys/dev/qlxgbe

2017-03-29 Thread David C Somayajulu
Author: davidcs Date: Wed Mar 29 23:00:07 2017 New Revision: 316183 URL: https://svnweb.freebsd.org/changeset/base/316183 Log: Upgrade firmware and other related files to version 5.4.64 Modified: head/sys/dev/qlxgbe/ql_boot.c head/sys/dev/qlxgbe/ql_fw.c head/sys/dev/qlxgbe/ql_minidump.c

svn commit: r314365 - head/sys/dev/bxe

2017-02-27 Thread David C Somayajulu
Author: davidcs Date: Mon Feb 27 23:38:51 2017 New Revision: 314365 URL: https://svnweb.freebsd.org/changeset/base/314365 Log: 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.

svn commit: r314062 - head/sys/dev/qlxgbe

2017-02-21 Thread David C Somayajulu
Author: davidcs Date: Tue Feb 21 23:32:27 2017 New Revision: 314062 URL: https://svnweb.freebsd.org/changeset/base/314062 Log: add bus_dmamap_unload in ql_free_dmabuf() MFC after:5 days Modified: head/sys/dev/qlxgbe/ql_os.c Modified: head/sys/dev/qlxgbe/ql_os.c

svn commit: r312728 - head/sys/dev/qlxgbe

2017-01-24 Thread David C Somayajulu
Author: davidcs Date: Wed Jan 25 00:23:38 2017 New Revision: 312728 URL: https://svnweb.freebsd.org/changeset/base/312728 Log: Added support for if_transmit and if_qflush Removed if_start updated version to 3.10.33 MFC after:5 days Modified: head/sys/dev/qlxgbe/ql_def.h

svn commit: r307578 - head/sys/dev/bxe

2016-10-18 Thread David C Somayajulu
Author: davidcs Date: Tue Oct 18 21:33:57 2016 New Revision: 307578 URL: https://svnweb.freebsd.org/changeset/base/307578 Log: 1. Use taskqueue_create() instead of taskqueue_create_fast() for both fastpath and slowpath taskqueues. 2. Service all transmits in taskqueue threads. 3.

svn commit: r306790 - head/sys/dev/qlxgbe

2016-10-06 Thread David C Somayajulu
Author: davidcs Date: Thu Oct 6 21:39:04 2016 New Revision: 306790 URL: https://svnweb.freebsd.org/changeset/base/306790 Log: Add support for adding up to 64 Multicast addresses with a single mailbox command MFC after:5 days Modified: head/sys/dev/qlxgbe/ql_hw.c

svn commit: r306522 - head/sys/dev/qlxgbe

2016-09-30 Thread David C Somayajulu
Author: davidcs Date: Fri Sep 30 19:21:02 2016 New Revision: 306522 URL: https://svnweb.freebsd.org/changeset/base/306522 Log: Upgrade Firmware/Bootloader/ResetSeq/Minidump to revision 5.4.62 MFC after:5 days Modified: head/sys/dev/qlxgbe/ql_boot.c head/sys/dev/qlxgbe/ql_fw.c

svn commit: r306515 - head/sys/dev/bxe

2016-09-30 Thread David C Somayajulu
Author: davidcs Date: Fri Sep 30 18:08:16 2016 New Revision: 306515 URL: https://svnweb.freebsd.org/changeset/base/306515 Log: Revert commit r306284 - Fixes for issues under high workloads Will fix and recommit patch Modified: head/sys/dev/bxe/bxe.c head/sys/dev/bxe/bxe.h

svn commit: r306284 - head/sys/dev/bxe

2016-09-23 Thread David C Somayajulu
Author: davidcs Date: Fri Sep 23 23:18:54 2016 New Revision: 306284 URL: https://svnweb.freebsd.org/changeset/base/306284 Log: Fixes for issues under high workloads MFC after:5 days Modified: head/sys/dev/bxe/bxe.c head/sys/dev/bxe/bxe.h head/sys/dev/bxe/bxe_stats.h Modified:

svn commit: r304249 - head/sys/dev/qlxgbe

2016-08-16 Thread David C Somayajulu
Author: davidcs Date: Wed Aug 17 02:40:17 2016 New Revision: 304249 URL: https://svnweb.freebsd.org/changeset/base/304249 Log: Add support for set/get cam search mode MFC after: 5 days Modified: head/sys/dev/qlxgbe/ql_dbg.h head/sys/dev/qlxgbe/ql_hw.c head/sys/dev/qlxgbe/ql_hw.h

svn commit: r304248 - head/sys/dev/qlxgbe

2016-08-16 Thread David C Somayajulu
Author: davidcs Date: Wed Aug 17 01:57:58 2016 New Revision: 304248 URL: https://svnweb.freebsd.org/changeset/base/304248 Log: Add ql_minidump.h MFC after:5 days Added: head/sys/dev/qlxgbe/ql_minidump.h (contents, props changed) Added: head/sys/dev/qlxgbe/ql_minidump.h

svn commit: r304247 - head/sys/dev/qlxgbe

2016-08-16 Thread David C Somayajulu
Author: davidcs Date: Wed Aug 17 01:56:37 2016 New Revision: 304247 URL: https://svnweb.freebsd.org/changeset/base/304247 Log: Upgrade fw, bootloader and minidump template to version 5.4.58 Add minidump retrieval code MFC after: 5 days Modified: head/sys/dev/qlxgbe/ql_boot.c

svn commit: r298591 - in head/sys: dev/bxe modules/bxe

2016-04-25 Thread David C Somayajulu
Author: davidcs Date: Mon Apr 25 18:55:01 2016 New Revision: 298591 URL: https://svnweb.freebsd.org/changeset/base/298591 Log: 1. Removed -Wno-shift-negative-value from Makefile 2. Fixed warning its absence caused in bxe_elink.c MFC after:5 days Modified: head/sys/dev/bxe/bxe_elink.c

svn commit: r298496 - head/sys/dev/bxe

2016-04-22 Thread David C Somayajulu
Author: davidcs Date: Sat Apr 23 01:22:12 2016 New Revision: 298496 URL: https://svnweb.freebsd.org/changeset/base/298496 Log: Remove Unused/Dead Code MFC after:5 days Modified: head/sys/dev/bxe/bxe.c Modified: head/sys/dev/bxe/bxe.c

svn commit: r298294 - head/sys/dev/bxe

2016-04-19 Thread David C Somayajulu
Author: davidcs Date: Tue Apr 19 20:28:30 2016 New Revision: 298294 URL: https://svnweb.freebsd.org/changeset/base/298294 Log: 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

svn commit: r297922 - head/sys/dev/bxe

2016-04-13 Thread David C Somayajulu
Author: davidcs Date: Wed Apr 13 13:14:18 2016 New Revision: 297922 URL: https://svnweb.freebsd.org/changeset/base/297922 Log: reversed commits r297916 r297909 r297898 due to i386 build failures. MFC after:5 days Modified: head/sys/dev/bxe/bxe.c head/sys/dev/bxe/bxe.h

svn commit: r297916 - head/sys/dev/bxe

2016-04-13 Thread David C Somayajulu
Author: davidcs Date: Wed Apr 13 11:24:24 2016 New Revision: 297916 URL: https://svnweb.freebsd.org/changeset/base/297916 Log: Fix compilation error on i386 Modified: head/sys/dev/bxe/bxe.c Modified: head/sys/dev/bxe/bxe.c

svn commit: r297909 - head/sys/dev/bxe

2016-04-12 Thread David C Somayajulu
Author: davidcs Date: Wed Apr 13 04:13:36 2016 New Revision: 297909 URL: https://svnweb.freebsd.org/changeset/base/297909 Log: Fix build failure on i386. Need to typecast a bunch of variables to (uintmax_t) MFC after:5 days Modified: head/sys/dev/bxe/bxe.c Modified:

svn commit: r297898 - head/sys/dev/bxe

2016-04-12 Thread David C Somayajulu
Author: davidcs Date: Wed Apr 13 00:53:04 2016 New Revision: 297898 URL: https://svnweb.freebsd.org/changeset/base/297898 Log: 1. modify fwdump (a.k.a grcdump) memory is allocated and freed on as needed basis. 2. grcdump can be taken at failure points by invoking bxe_grc_dump() when

svn commit: r297884 - head/sys/dev/bxe

2016-04-12 Thread David C Somayajulu
Author: davidcs Date: Tue Apr 12 22:31:48 2016 New Revision: 297884 URL: https://svnweb.freebsd.org/changeset/base/297884 Log: Add support for Flash Update Submitted by:nrapendra.si...@qlogic.com;vaishali.kulka...@qlogic.com;davi...@freebsd.org Approved by:davi...@freebsd.org MFC

svn commit: r297155 - head/sys/dev/bxe

2016-03-21 Thread David C Somayajulu
Author: davidcs Date: Mon Mar 21 18:48:20 2016 New Revision: 297155 URL: https://svnweb.freebsd.org/changeset/base/297155 Log: Modifications to achieve a common source base from FreeBSD7.x thru 10.x MFC after:5 days Modified: head/sys/dev/bxe/bxe.c head/sys/dev/bxe/bxe.h Modified:

svn commit: r296579 - head/sys/dev/bxe

2016-03-09 Thread David C Somayajulu
Author: davidcs Date: Wed Mar 9 21:12:26 2016 New Revision: 296579 URL: https://svnweb.freebsd.org/changeset/base/296579 Log: Fix code so that buf_ring allocation for Tx Queues and their mutexes is done during during bxe_attach() and freed during bxe_detach() MFC after: 5 days

svn commit: r296071 - in head/sys: dev/bxe modules/bxe

2016-02-25 Thread David C Somayajulu
Author: davidcs Date: Thu Feb 25 22:44:00 2016 New Revision: 296071 URL: https://svnweb.freebsd.org/changeset/base/296071 Log: Upgrade the firmware carried in driver and loaded during hardware initialization (a.k.a STORM firmware) to version 7.13.1 (latest version) Modified:

svn commit: r295830 - head/sys/dev/bxe

2016-02-19 Thread David C Somayajulu
Author: davidcs Date: Fri Feb 19 22:46:52 2016 New Revision: 295830 URL: https://svnweb.freebsd.org/changeset/base/295830 Log: Remove dead code. Code Cleanup. Improve clarity in debug messages MFC after:5 days Modified: head/sys/dev/bxe/bxe.c head/sys/dev/bxe/bxe.h

svn commit: r295823 - head/sys/dev/bxe

2016-02-19 Thread David C Somayajulu
Author: davidcs Date: Fri Feb 19 21:32:49 2016 New Revision: 295823 URL: https://svnweb.freebsd.org/changeset/base/295823 Log: 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

svn commit: r294854 - head/sys/dev/qlxgbe

2016-01-26 Thread David C Somayajulu
Author: davidcs Date: Tue Jan 26 22:32:58 2016 New Revision: 294854 URL: https://svnweb.freebsd.org/changeset/base/294854 Log: Upgrade FW to 5.4.56 Update driver version to 3.10.26 Modified: head/sys/dev/qlxgbe/ql_fw.c head/sys/dev/qlxgbe/ql_ver.h Modified: head/sys/dev/qlxgbe/ql_fw.c

svn commit: r292639 - head/sys/dev/bxe

2015-12-22 Thread David C Somayajulu
Author: davidcs Date: Wed Dec 23 03:19:12 2015 New Revision: 292639 URL: https://svnweb.freebsd.org/changeset/base/292639 Log: Add support for firmware dump (a.k.a grcdump) MFC after:5 days Added: head/sys/dev/bxe/bxe_dump.h (contents, props changed) head/sys/dev/bxe/bxe_ioctl.h

svn commit: r292638 - head/sys/dev/bxe

2015-12-22 Thread David C Somayajulu
Author: davidcs Date: Wed Dec 23 01:31:32 2015 New Revision: 292638 URL: https://svnweb.freebsd.org/changeset/base/292638 Log: 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

svn commit: r289635 - head/sys/dev/qlxgbe

2015-10-20 Thread David C Somayajulu
Author: davidcs Date: Tue Oct 20 17:27:11 2015 New Revision: 289635 URL: https://svnweb.freebsd.org/changeset/base/289635 Log: ql_hw.c: fixed error code INJCT_HEARTBEAT_FAILURE ql_os.c: removed unnecessary debug printf ql_ver.h: updated version number MFC after:5 days Modified:

svn commit: r289199 - head/sys/dev/bxe

2015-10-12 Thread David C Somayajulu
Author: davidcs Date: Mon Oct 12 20:21:17 2015 New Revision: 289199 URL: https://svnweb.freebsd.org/changeset/base/289199 Log: Add support for reading device temperature MFC after:5 days Modified: head/sys/dev/bxe/bxe.c Modified: head/sys/dev/bxe/bxe.c

svn commit: r285973 - head/sys/dev/bxe

2015-07-28 Thread David C Somayajulu
Author: davidcs Date: Tue Jul 28 19:15:44 2015 New Revision: 285973 URL: https://svnweb.freebsd.org/changeset/base/285973 Log: - 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

svn commit: r284739 - head/sys/dev/bxe

2015-06-23 Thread David C Somayajulu
Author: davidcs Date: Tue Jun 23 20:09:52 2015 New Revision: 284739 URL: https://svnweb.freebsd.org/changeset/base/284739 Log: tx_mtx should be grabbed before calling buf_ring_dequeue_sc() Submitted by:attilio@isilon.com MFC after:5 days Modified: head/sys/dev/bxe/bxe.c Modified:

svn commit: r284741 - in head/sys: dev/qlxgbe modules/qlxgbe

2015-06-23 Thread David C Somayajulu
Author: davidcs Date: Tue Jun 23 22:22:36 2015 New Revision: 284741 URL: https://svnweb.freebsd.org/changeset/base/284741 Log: Updated Copyright information Added support for the following: - iSCSI TLV (requires 64 Tx and 32 Rx rings - 9K receive buffers for jumbo frames

svn commit: r284651 - head/sys/dev/bxe

2015-06-20 Thread David C Somayajulu
Author: davidcs Date: Sat Jun 20 22:24:44 2015 New Revision: 284651 URL: https://svnweb.freebsd.org/changeset/base/284651 Log: Simplified implementation of bxe_set_mc_list() removed bxe_free_mcast_macs_list() and bxe_init_mcast_macs_list() fixed bug where copy of multicast list mta was

svn commit: r284470 - head/sys/dev/bxe

2015-06-16 Thread David C Somayajulu
Author: davidcs Date: Tue Jun 16 21:11:32 2015 New Revision: 284470 URL: https://svnweb.freebsd.org/changeset/base/284470 Log: 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

svn commit: r284335 - head/sys/dev/bxe

2015-06-12 Thread David C Somayajulu
Author: davidcs Date: Sat Jun 13 01:28:19 2015 New Revision: 284335 URL: https://svnweb.freebsd.org/changeset/base/284335 Log: 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

svn commit: r283269 - head/sys/dev/bxe

2015-05-21 Thread David C Somayajulu
Author: davidcs Date: Thu May 21 20:47:19 2015 New Revision: 283269 URL: https://svnweb.freebsd.org/changeset/base/283269 Log: Limit the size of the posted receive buffers in Rx Rings to MJUMPAGESIZE. Previously for jumbo MTUs, the rx ring buffers were MTU + any required pad. Now when this

svn commit: r283274 - head/sys/dev/bxe

2015-05-21 Thread David C Somayajulu
Author: davidcs Date: Fri May 22 01:44:07 2015 New Revision: 283274 URL: https://svnweb.freebsd.org/changeset/base/283274 Log: Add stat counters for Jumbo Frames using SGE ring. Also remove the checks for IFCAP_LRO in bxe_alloc_fp_buffers() and bxe_pf_rx_q_prep() since both TPA and Jumbo can

svn commit: r281006 - head/sys/dev/bxe

2015-04-02 Thread David C Somayajulu
Author: davidcs Date: Thu Apr 2 21:55:03 2015 New Revision: 281006 URL: https://svnweb.freebsd.org/changeset/base/281006 Log: When an mbuf allocation fails in the receive path, the mbuf containing the received packet is not sent to the host net work stack and is reused again on the receive

svn commit: r271726 - head/sys/modules/bxe

2014-09-17 Thread David C Somayajulu
Author: davidcs Date: Wed Sep 17 22:24:51 2014 New Revision: 271726 URL: http://svnweb.freebsd.org/changeset/base/271726 Log: Remove clean option MFC after:5 days Modified: head/sys/modules/bxe/Makefile Modified: head/sys/modules/bxe/Makefile

svn commit: r271727 - head/sys/modules/bce

2014-09-17 Thread David C Somayajulu
Author: davidcs Date: Wed Sep 17 22:26:01 2014 New Revision: 271727 URL: http://svnweb.freebsd.org/changeset/base/271727 Log: Remove clean option MFC after:5 days Modified: head/sys/modules/bce/Makefile Modified: head/sys/modules/bce/Makefile

svn commit: r271728 - head/sys/dev/bxe

2014-09-17 Thread David C Somayajulu
Author: davidcs Date: Wed Sep 17 22:49:29 2014 New Revision: 271728 URL: http://svnweb.freebsd.org/changeset/base/271728 Log: For ECORE_DBG_BREAK_IF() ECORE_BUG() ECORE_BUG_ON() check bxe_debug flag before printing error message. MFC after:5 days Modified: head/sys/dev/bxe/ecore_sp.h

svn commit: r268854 - head/sys/dev/bxe

2014-07-18 Thread David C Somayajulu
Author: davidcs Date: Fri Jul 18 20:04:11 2014 New Revision: 268854 URL: http://svnweb.freebsd.org/changeset/base/268854 Log: 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

svn commit: r265703 - in head: share/man/man4 sys/dev/bce sys/dev/bxe sys/modules/bce

2014-05-08 Thread David C Somayajulu
Author: davidcs Date: Thu May 8 19:40:37 2014 New Revision: 265703 URL: http://svnweb.freebsd.org/changeset/base/265703 Log: Modify Copyright information and other strings to reflect Qlogic Corporation's purchase of Broadcom's NetXtreme business. Added clean option to Makefile

svn commit: r265411 - in head/sys: dev/bxe modules/bxe

2014-05-05 Thread David C Somayajulu
Author: davidcs Date: Tue May 6 02:32:27 2014 New Revision: 265411 URL: http://svnweb.freebsd.org/changeset/base/265411 Log: Modify Copyright information to reflect Qlogic Corporation's purchase of Broadcom's NetXtreme business Submitted by:David C Somayajulu (davi...@freebsd.org)

svn commit: r261861 - head/sys/dev/qlxgb

2014-02-13 Thread David C Somayajulu
Author: davidcs Date: Fri Feb 14 01:02:06 2014 New Revision: 261861 URL: http://svnweb.freebsd.org/changeset/base/261861 Log: check for defrag only when bus_dmamap_load_mbuf_sg() returns EFBIG. Comment in qla_hw_send is moot. Modified: head/sys/dev/qlxgb/qla_hw.c

svn commit: r258155 - head/sys/dev/qlxgbe

2013-11-14 Thread David C Somayajulu
Author: davidcs Date: Fri Nov 15 01:26:24 2013 New Revision: 258155 URL: http://svnweb.freebsd.org/changeset/base/258155 Log: ql_hw.[c,h]: set minimum thresholds on pkt size for lro path. ql_ioctl.c: validate the length and address of buffer passed to QL_RD_FW_DUMP Submitted by:David C

svn commit: r258156 - head/sys/dev/qlxge

2013-11-14 Thread David C Somayajulu
Author: davidcs Date: Fri Nov 15 01:44:58 2013 New Revision: 258156 URL: http://svnweb.freebsd.org/changeset/base/258156 Log: Validate the buffer and its length passed to QLA_MPI_DUMP. copyout dump only if qls_mpi_core_dump() is successful. (like to credit x90c for pointing the issue)

svn commit: r255003 - head/sys/dev/qlxgbe

2013-08-28 Thread David C Somayajulu
Author: davidcs Date: Wed Aug 28 20:07:00 2013 New Revision: 255003 URL: http://svnweb.freebsd.org/changeset/base/255003 Log: ql_minidump() should be performed only by port 0. Submitted by: David C Somayajulu Modified: head/sys/dev/qlxgbe/ql_os.c Modified: head/sys/dev/qlxgbe/ql_os.c

svn commit: r254976 - head/sys/dev/qlxgbe

2013-08-27 Thread David C Somayajulu
Author: davidcs Date: Tue Aug 27 21:29:21 2013 New Revision: 254976 URL: http://svnweb.freebsd.org/changeset/base/254976 Log: Fix bug in Flash access code Submitted by: David C Somayajulu Modified: head/sys/dev/qlxgbe/ql_misc.c Modified: head/sys/dev/qlxgbe/ql_misc.c

svn commit: r252580 - head/sys/dev/qlxgbe

2013-07-03 Thread David C Somayajulu
Author: davidcs Date: Wed Jul 3 17:57:35 2013 New Revision: 252580 URL: http://svnweb.freebsd.org/changeset/base/252580 Log: Port 0 needs to wait for ACK only if it issued the RESET. Modified: head/sys/dev/qlxgbe/ql_os.c Modified: head/sys/dev/qlxgbe/ql_os.c

svn commit: r252206 - in head: share/man/man4 sys/conf sys/dev/qlxge sys/modules sys/modules/qlxge

2013-06-25 Thread David C Somayajulu
Author: davidcs Date: Tue Jun 25 17:50:22 2013 New Revision: 252206 URL: http://svnweb.freebsd.org/changeset/base/252206 Log: Add Qlogic 10Gb Ethernet Driver for Qlogic 8100 Series CNA Adapter Driver version (v2.0.0) Submitted by: David C Somayajulu (davi...@freebsd.org) QLogic

svn commit: r251605 - head/sys/dev/qlxgbe

2013-06-10 Thread David C Somayajulu
Author: davidcs Date: Mon Jun 10 17:12:22 2013 New Revision: 251605 URL: http://svnweb.freebsd.org/changeset/base/251605 Log: There is a one-to-one correspondence between the MSI-X vector # and the Status Descriptor Ring Index. Hence there is no need to check the Interrupt Source Register.

svn commit: r251076 - head/sys/dev/qlxgbe

2013-05-28 Thread David C Somayajulu
Author: davidcs Date: Tue May 28 22:00:37 2013 New Revision: 251076 URL: http://svnweb.freebsd.org/changeset/base/251076 Log: Avoid reading back certain registers following a write. This is an optimization. Submitted by: David C Somayajulu Approved by: George Neville Neil Modified

svn commit: r250661 - in head: share/man/man4 sys/conf sys/dev/qlxgbe sys/modules sys/modules/qlxgbe

2013-05-15 Thread David C Somayajulu
Author: davidcs Date: Wed May 15 17:03:09 2013 New Revision: 250661 URL: http://svnweb.freebsd.org/changeset/base/250661 Log: Add Qlogic 10Gigabit Ethernet CNA Adapter Driver Version 3.10.10 for QLogic 8300 Series Adapters Submitted by: David C Somayajulu (davi...@freebsd.org) QLogic

svn commit: r250375 - head/sys/dev/qlxgb

2013-05-08 Thread David C Somayajulu
. Submitted by: David C Somayajulu davi...@freebsd.org Approved by: George Neville-Neil g...@freebsd.org Modified: head/sys/dev/qlxgb/qla_os.c Modified: head/sys/dev/qlxgb/qla_os.c == --- head/sys/dev/qlxgb/qla_os.c Wed May

svn commit: r250340 - head/sys/dev/qlxgb

2013-05-07 Thread David C Somayajulu
Author: davidcs Date: Tue May 7 22:58:42 2013 New Revision: 250340 URL: http://svnweb.freebsd.org/changeset/base/250340 Log: 1. Updated Copyright Information 2. Added Flash Read/Update Support 3. Fixed TSO Handling Submitted by: David C Somayajulu (davi...@freebsd.org) Reviewed