Skip to content
Commits on Apr 19, 2016
  1. MFC r297884

    davidcs committed Apr 19, 2016
    Add support for Flash Update
    
    Submitted by:nrapendra.singh@qlogic.com;vaishali.kulkarni@qlogic.com;davidcs@freebsd.org
  2. MFC r297873

    davidcs committed Apr 19, 2016
    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
Commits on Apr 6, 2016
  1. MFC r297155

    davidcs committed Apr 6, 2016
    Modifications to achieve a common source base from FreeBSD7.x thru 10.x
Commits on Mar 14, 2016
  1. MFC r296579

    davidcs committed Mar 14, 2016
    Fix code so that buf_ring allocation for Tx Queues and their mutexes
    is done during during bxe_attach() and freed during bxe_detach()
Commits on Mar 9, 2016
  1. MFC r296071

    davidcs committed Mar 9, 2016
    Upgrade the firmware carried in driver and loaded during hardware
    initialization (a.k.a STORM firmware) to version 7.13.1 (latest version)
Commits on Feb 25, 2016
  1. MFC r295830

    davidcs committed Feb 25, 2016
    Remove dead code. Code Cleanup. Improve clarity in debug messages
  2. MFC r295823

    davidcs committed Feb 25, 2016
    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.
Commits on Feb 2, 2016
  1. @bsdjhb

    Return the timestamps from the corresponding namecache entry on a neg…

    bsdjhb committed Feb 2, 2016
    …ative
    
    namecache hit.  This was ommitted due to a merging error in r238913.  The
    effect was to usually break caching of negative name lookups in the NFS
    client.
    
    Submitted by:	bde
Commits on Jan 13, 2016
  1. MFC r292639

    davidcs committed Jan 13, 2016
        Add support for firmware dump (a.k.a grcdump)
  2. MFC r292638

    davidcs committed Jan 13, 2016
          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()
  3. MFC r289199

    davidcs committed Jan 13, 2016
        Add support for reading device temperature
Commits on Nov 12, 2015
  1. MFC of 290697,tzdata7:

    edwin committed Nov 12, 2015
    Update to tzdata2015g:
    
    Turkey's 2015 fall-back transition is scheduled for Nov. 8, not Oct. 25.
    
    Norfolk moves from +1130 to +1100 on 2015-10-04 at 02:00 local time.
    
    Fiji's 2016 fall-back transition is scheduled for January 17, not 24.
    
    Fort Nelson, British Columbia will not fall back on 2015-11-01.  It has
    effectively been on MST (-0700) since it advanced its clocks on 2015-03-08.
    New zone America/Fort_Nelson.
Commits on Oct 26, 2015
Commits on Oct 24, 2015
  1. MFC r238980:

    avatar committed Oct 24, 2015
      Just like the other file systems found in /sys/fs, g_vfs_open()
    should be paried with g_vfs_close().  Though g_vfs_close() is a wrapper
    around g_wither_geom_close(), r206130 added the following test in
    g_vfs_open():
    
    	if (bo->bo_private != vp)
    		return (EBUSY);
    
      Which will cause a 'Device busy' error inside reiserfs_mountfs() if
    the same file system is re-mounted again after umount or mounting failure:
    
    	(case 1, /dev/ad4s3 is not a valid REISERFS partition)
    	# mount -t reiserfs -o ro /dev/ad4s3 /mnt
    	mount: /dev/ad4s3: Invalid argument
    	# mount -t msdosfs -o ro /dev/ad4s3 /mnt
    	mount: /dev/ad4s3: Device busy
    
    	(case 2, /dev/ad4s3 is a valid REISERFS partition)
    	# mount -t reiserfs -o ro /dev/ad4s3 /mnt
    	# umount /mnt
    	# mount -t reiserfs -o ro /dev/ad4s3 /mnt
    	mount: /dev/ad4s3: Device busy
    
      On the other hand, g_vfs_close() 'fixed' the above cases by doing an
    extra step to keep 'sc->sc_bo->bo_private' and 'cp->private' pointers
    synchronised.
    
    Reviewed by:	kib
Commits on Oct 7, 2015
  1. MFC r286888: Using consistent coding style to deal with error inside …

    avatar committed Oct 7, 2015
    …the loop.
Commits on Sep 17, 2015
  1. MFC r286887: Using the error return code documented in the comment.

    avatar committed Sep 17, 2015
    Though there is no direct midi_uninit() caller amongst existing drivers
    at this moment, a quick experiment indicates that EBUSY gives users more
    precise error message once drivers start to honour this result.  For example,
    emu_midi_detach() should check the result of mpu401_uninit() and block
    module unloading if there is any MIDI I/O in progress.
Commits on Sep 16, 2015
Commits on Aug 14, 2015
  1. MFC of 286750,tzdata7:

    edwin committed Aug 14, 2015
    Update to tzdata2015f:
    
    Changes affecting future time stamps
    
        North Korea switches to +0830 on 2015-08-15.  (Thanks to Steffen Thorsen.)
        The abbreviation remains "KST".  (Thanks to Robert Elz.)
        Uruguay no longer observes DST.  (Thanks to Steffen Thorsen and Pablo Camargo.)
        Changes affecting past and future time stamps
        Moldova starts and ends DST at 00:00 UTC, not at 01:00 UTC. (Thanks to Roman Tudos.)
Commits on Aug 12, 2015
  1. @DimitryAndric

    MFC r286519:

    DimitryAndric committed Aug 12, 2015
    In GNU as, avoid left-shifting negative integers, which is undefined.
Commits on Aug 5, 2015
  1. MFC r285973

    davidcs committed Aug 5, 2015
          - 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
Commits on Jul 28, 2015
  1. @DimitryAndric

    MFC r285340:

    DimitryAndric committed Jul 28, 2015
    Fix swapped copyin(9) arguments in cxgb's iwch_arm_cq() function.
    Detected by clang 3.7.0 with the warning:
    
    sys/dev/cxgb/ulp/iw_cxgb/iw_cxgb_provider.c:309:18: error: variable
    'rptr' is uninitialized when used here [-Werror,-Wuninitialized]
    		chp->cq.rptr = rptr;
    			       ^~~~
Commits on Jun 30, 2015
  1. MFC r284739

    davidcs committed Jun 30, 2015
    tx_mtx should be grabbed before calling buf_ring_dequeue_sc()
    
    Submitted by: Attilio.Rao@isilon.com
  2. MFC r284470

    davidcs committed Jun 30, 2015
    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
  3. MFC r284335

    davidcs committed Jun 30, 2015
    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
Commits on Jun 20, 2015
  1. @DimitryAndric

    MFC r284346:

    DimitryAndric committed Jun 20, 2015
    Fix the following clang 3.7.0 warnings in lib/libfetch/http.c:
    
        lib/libfetch/http.c:1628:26: error: address of array 'purl->user'
        will always evaluate to 'true' [-Werror,-Wpointer-bool-conversion]
                                        aparams.user = purl->user ?
                                                       ~~~~~~^~~~ ~
        lib/libfetch/http.c:1630:30: error: address of array 'purl->pwd'
        will always evaluate to 'true' [-Werror,-Wpointer-bool-conversion]
                                        aparams.password = purl->pwd?
                                                           ~~~~~~^~~~
        lib/libfetch/http.c:1657:25: error: address of array 'url->user'
        will always evaluate to 'true' [-Werror,-Wpointer-bool-conversion]
                                        aparams.user = url->user ?
                                                       ~~~~~^~~~ ~
        lib/libfetch/http.c:1659:29: error: address of array 'url->pwd'
        will always evaluate to 'true' [-Werror,-Wpointer-bool-conversion]
                                        aparams.password = url->pwd ?
                                                           ~~~~~^~~ ~
        lib/libfetch/http.c:1669:25: error: address of array 'url->user'
        will always evaluate to 'true' [-Werror,-Wpointer-bool-conversion]
                                        aparams.user = url->user ?
                                                       ~~~~~^~~~ ~
        lib/libfetch/http.c:1671:29: error: address of array 'url->pwd'
        will always evaluate to 'true' [-Werror,-Wpointer-bool-conversion]
                                        aparams.password = url->pwd ?
                                                           ~~~~~^~~ ~
    
    Since url->user and url->pwd are arrays, they can never be NULL, so the
    checks can be removed.
    
    Reviewed by:	bapt
    Differential Revision: https://reviews.freebsd.org/D2673
Commits on Jun 15, 2015
  1. MFC of 284397,tzdata7:

    edwin committed Jun 15, 2015
    Update to tzdata2015e:
    
      Changes affecting future time stamps
    
        Morocco will suspend DST from 2015-06-14 03:00 through 2015-07-19 02:00,
        not 06-13 and 07-18 as we had guessed.  (Thanks to Milamber.)
    
        Assume Cayman Islands will observe DST starting next year, using US rules.
        Although it isn't guaranteed, it is the most likely.
Commits on Jun 2, 2015
  1. @bsdjhb

    MFC 281887:

    bsdjhb committed Jun 2, 2015
    Reassign copyright statements on several files from Advanced
    Computing Technologies LLC to Hudson River Trading LLC.
Commits on May 30, 2015
  1. MFC r283274

    davidcs committed May 30, 2015
    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 use SGE ring.
    
    Submitted by:gary.zambrano@qlogic.com
Commits on May 29, 2015
  1. MFC r283269

    davidcs committed May 29, 2015
    Submitted by:	gary.zambrano@qlogic.com
Commits on May 28, 2015
  1. @DimitryAndric

    MFC r283254:

    DimitryAndric committed May 28, 2015
    Ensure that the static structs emitted by the MODULE_DEPEND() and
    MODULE_VERSION() macros don't end up as .comm symbols, when all the
    version fields are zero.
    
    Normally, such symbols will end up in .bss, but for kernel module
    version objects, this can lead to "garbage" version numbers.
    
    Fix this by instructing the compiler to always put these structs in the
    .data segment instead.
    
    Reported by:	delphij, ae
Commits on May 18, 2015
  1. MFC of 283079,tzdata7:

    edwin committed May 18, 2015
    Update to tzdata2015d:
    
    Release 2015d - 2015-04-24 08:09:46 -0700
    
      Changes affecting future time stamps
    
        Egypt will not observe DST in 2015 and will consider canceling it
        permanently.  For now, assume no DST indefinitely.
        (Thanks to Ahmed Nazmy and Tim Parenti.)
    
      Change affecting past and future time zone abbreviations
    
        The abbreviations for Hawaii-Aleutian standard and daylight times
        have been changed from HAST/HADT to HST/HDT, as per US Government
        Printing Office style.  This affects only America/Adak since 1983,
        as America/Honolulu was already using the new style.
  2. MFC of 283042,tzdata7:

    edwin committed May 18, 2015
    Update to tzdata2015c:
    
        Release 2015c - 2015-04-11 08:55:55 -0700
    
        Changes affecting future time stamps
    
        Egypt's spring-forward transition is at 24:00 on April's last Thursday,
        not 00:00 on April's last Friday.  2015's transition will therefore be on
        Thursday, April 30 at 24:00, not Friday, April 24 at 00:00.  Similar fixes
        apply to 2026, 2037, 2043, etc.  (Thanks to Steffen Thorsen.)
Commits on Apr 7, 2015
  1. MFC r281006

    davidcs committed Apr 7, 2015
    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
Commits on Mar 24, 2015
  1. MFC of 280413,tzdata7:

    edwin committed Mar 24, 2015
    Release 2015b - 2015-03-19 23:28:11 -0700
    
      Changes affecting future time stamps
    
        Mongolia will start observing DST again this year, from the last
        Saturday in March at 02:00 to the last Saturday in September at 00:00.
        (Thanks to Ganbold Tsagaankhuu.)
    
        Palestine will start DST on March 28, not March 27.  Also,
        correct the fall 2014 transition from September 26 to October 24.
        Adjust future predictions accordingly.  (Thanks to Steffen Thorsen.)
    
      Changes affecting past time stamps
    
        The 1982 zone shift in Pacific/Easter has been corrected, fixing a 2015a
        regression.  (Thanks to Stuart Bishop for reporting the problem.)
    
        Some more zones have been turned into links, when they differed
        from existing zones only for older time stamps.  As usual,
        these changes affect UTC offsets in pre-1970 time stamps only.
        Their old contents have been moved to the 'backzone' file.
        The affected zones are: America/Antigua, America/Cayman,
        Pacific/Midway, and Pacific/Saipan.
    
      Changes affecting time zone abbreviations
    
        Correct the 1992-2010 DST abbreviation in Volgograd from "MSK" to "MSD".
        (Thanks to Hank W.)
Commits on Mar 6, 2015
  1. MFC of 279706,tzdata7:

    edwin committed Mar 6, 2015
    Release 2015a - 2015-01-29
    
    Changes affecting future time stamps
    
        The Mexican state of Quintana Roo, represented by America/Cancun,
        will shift from Central Time with DST to Eastern Time without DST
        on 2015-02-01 at 02:00.  (Thanks to Steffen Thorsen and Gwillim Law.)
    
        Chile will not change clocks in April or thereafter; its new standard time
        will be its old daylight saving time.  This affects America/Santiago,
        Pacific/Easter, and Antarctica/Palmer.  (Thanks to Juan Correa.)
    
        New leap second 2015-06-30 23:59:60 UTC as per IERS Bulletin C 49.
        (Thanks to Tim Parenti.)
    
      Changes affecting past time stamps
    
        Iceland observed DST in 1919 and 1921, and its 1939 fallback
        transition was Oct. 29, not Nov. 29.  Remove incorrect data from
        Shanks about time in Iceland between 1837 and 1908.
    
        Some more zones have been turned into links, when they differed
        from existing zones only for older time stamps.  As usual,
        these changes affect UTC offsets in pre-1970 time stamps only.
        Their old contents have been moved to the 'backzone' file.
        The affected zones are: Asia/Aden, Asia/Bahrain, Asia/Kuwait,
        and Asia/Muscat.
Something went wrong with that request. Please try again.