| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
ADC data across the AC-link.
Without this patch, some CS4614 cards will need users to reload the driver manually or
the hardware won't be initialised properly. Something like:
# kldload snd_csa
# kldunload snd_csa
# kldload snd_csa
Tested with: Terratec SiXPack 5.1+
Notes:
svn path=/stable/7/; revision=338329
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/stable/7/; revision=337514
|
| |
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/stable/7/; revision=333441
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/stable/7/; revision=315885
|
| |
|
|
|
|
|
|
| |
1. Removed -Wno-shift-negative-value from Makefile
2. Fixed warning its absence caused in bxe_elink.c
Notes:
svn path=/stable/7/; revision=299308
|
| |
|
|
|
|
|
| |
Remove Unused/Dead Code
Notes:
svn path=/stable/7/; revision=299307
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/stable/7/; revision=299306
|
| |
|
|
|
|
|
|
|
| |
Add support for Flash Update
Submitted by:nrapendra.singh@qlogic.com;vaishali.kulkarni@qlogic.com;davidcs@freebsd.org
Notes:
svn path=/stable/7/; revision=298291
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/stable/7/; revision=298290
|
| |
|
|
|
|
|
| |
Modifications to achieve a common source base from FreeBSD7.x thru 10.x
Notes:
svn path=/stable/7/; revision=297625
|
| |
|
|
|
|
|
|
| |
Fix code so that buf_ring allocation for Tx Queues and their mutexes
is done during during bxe_attach() and freed during bxe_detach()
Notes:
svn path=/stable/7/; revision=296879
|
| |
|
|
|
|
|
|
| |
Upgrade the firmware carried in driver and loaded during hardware
initialization (a.k.a STORM firmware) to version 7.13.1 (latest version)
Notes:
svn path=/stable/7/; revision=296583
|
| |
|
|
|
|
|
| |
Remove dead code. Code Cleanup. Improve clarity in debug messages
Notes:
svn path=/stable/7/; revision=296044
|
| |
|
|
|
|
|
|
| |
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.
Notes:
svn path=/stable/7/; revision=296043
|
| |
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/stable/7/; revision=295160
|
| |
|
|
|
|
|
| |
Add support for firmware dump (a.k.a grcdump)
Notes:
svn path=/stable/7/; revision=293799
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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()
Notes:
svn path=/stable/7/; revision=293798
|
| |
|
|
|
|
|
| |
Add support for reading device temperature
Notes:
svn path=/stable/7/; revision=293797
|
| |
|
|
| |
Notes:
svn path=/stable/7/; revision=289988
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/stable/7/; revision=289889
|
| |
|
|
| |
Notes:
svn path=/stable/7/; revision=288988
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/stable/7/; revision=287888
|
| |
|
|
| |
Notes:
svn path=/stable/7/; revision=287858
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
Notes:
svn path=/stable/7/; revision=286301
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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;
^~~~
Notes:
svn path=/stable/7/; revision=285942
|
| |
|
|
|
|
|
|
|
| |
tx_mtx should be grabbed before calling buf_ring_dequeue_sc()
Submitted by: Attilio.Rao@isilon.com
Notes:
svn path=/stable/7/; revision=284981
|
| |
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/stable/7/; revision=284980
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/stable/7/; revision=284979
|
| |
|
|
|
|
|
|
| |
Reassign copyright statements on several files from Advanced
Computing Technologies LLC to Hudson River Trading LLC.
Notes:
svn path=/stable/7/; revision=283927
|
| |
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/stable/7/; revision=283763
|
| |
|
|
|
|
|
| |
Submitted by: gary.zambrano@qlogic.com
Notes:
svn path=/stable/7/; revision=283761
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/stable/7/; revision=283642
|
| |
|
|
|
|
|
| |
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
Notes:
svn path=/stable/7/; revision=281219
|
| |
|
|
|
|
|
| |
For ECORE_DBG_BREAK_IF() ECORE_BUG() ECORE_BUG_ON() check bxe_debug flag before printing error message.
Notes:
svn path=/stable/7/; revision=271986
|
| |
|
|
|
|
|
| |
Remove clean option form Makefile
Notes:
svn path=/stable/7/; revision=271985
|
| |
|
|
|
|
|
| |
Remove clean option in Makefile
Notes:
svn path=/stable/7/; revision=271984
|
| |
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/stable/7/; revision=271479
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
In camisr() clear CAM_SIM_ON_DONEQ flag after camisr_runqueue() purged SIM
done queue. Clearing it before caused extra SIM queueing in some cases.
It was invisible during normal operation, but during USB device unplug and
respective SIM destruction it could keep pointer on SIM without having
counted reference and as result crash the system by use afer free.
PR: usb/168743
Notes:
svn path=/stable/7/; revision=267052
|
| |
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/stable/7/; revision=265920
|
| |
|
|
|
|
|
|
|
|
| |
Modify Copyright information to reflect Qlogic Corporation's purchase
of Broadcom's NetXtreme business
Submitted by:David C Somayajulu (davidcs@freebsd.org) QLogic Corporation
Notes:
svn path=/stable/7/; revision=265794
|
| |
|
|
|
|
|
|
|
|
| |
Fixed MSI interrupt allocation and handling.
Fixed a DMA mapping leak that occurs when defragmenting packet chains.
Approved by: davidch (mentor)
Notes:
svn path=/stable/7/; revision=263584
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In g_eli_crypto_hmac_init(), zero out after using the ipad buffer,
k_ipad.
Note that the two consumers in geli(4) are not affected by this
issue because the way the code is constructed and as such, we
believe there is no security impact with or without this change
with geli(4)'s usage.
Reported by: Serge van den Boom <serge vdboom.org>
Reviewed by: pjd
Notes:
svn path=/stable/7/; revision=262319
|
| |
|
|
|
|
|
| |
Pointy hat to: peter
Notes:
svn path=/stable/7/; revision=260437
|
| |
|
|
|
|
|
| |
Approved by: davidch
Notes:
svn path=/stable/7/; revision=260427
|
| |
|
|
|
|
|
| |
PR: kern/99188
Notes:
svn path=/stable/7/; revision=260421
|
| |
|
|
|
|
|
|
|
| |
Merged r255736, r255861, r256299, r256341, r258187, r259928, r260113
Approved by: davidch (mentor)
Notes:
svn path=/stable/7/; revision=260357
|
| |
|
|
|
|
|
| |
In sys/dev/sound/pci/maestro.c, #if 0 two unused static functions.
Notes:
svn path=/stable/7/; revision=260298
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
For sys/boot/i386 and sys/boot/pc98, separate flags to be passed
directly to the linker (LD_FLAGS) from flags passed indirectly, via the
compiler driver (LDFLAGS).
This is because several Makefiles under sys/boot/i386 and sys/boot/pc98
use ${LD} directly to link, and the normal LDFLAGS value should not be
used in these cases.
Notes:
svn path=/stable/7/; revision=260291
|
| |
|
|
|
|
|
|
|
|
| |
In sys/amd64/amd64/pmap.c, remove static function pmap_is_current(),
which has been unused since r189415.
Reviewed by: alc
Notes:
svn path=/stable/7/; revision=260289
|
| |
|
|
|
|
|
|
|
|
| |
In sys/dev/scc, remove unused static function scc_setmreg(). While
here, invoke scc_getmreg() in two more places where it can be used.
Reviewed by: marcel
Notes:
svn path=/stable/7/; revision=260287
|