Author: hselasky
Date: Fri Jun 3 08:49:04 2016
New Revision: 301250
URL: https://svnweb.freebsd.org/changeset/base/301250
Log:
MFC r299060:
Extend the UQ_NO_STRINGS quirk to also cover the USB language string
descriptor. This fixes enumeration of some older Samsung Galaxy S3
phones.
Modi
Author: hselasky
Date: Fri Jun 3 08:55:28 2016
New Revision: 301253
URL: https://svnweb.freebsd.org/changeset/base/301253
Log:
MFC r300667:
Check for signals when locking the USB enumeration thread from
userspace, so that USB applications can be killed if an enumeration
thread should be s
Author: hselasky
Date: Fri Jun 3 09:03:44 2016
New Revision: 301258
URL: https://svnweb.freebsd.org/changeset/base/301258
Log:
MFC r300277:
Implement TX completion event interleaving.
This patch implements a sysctl which allows setting a factor, N, for
how many work queue elements can
Author: hselasky
Date: Fri Jun 3 09:05:49 2016
New Revision: 301259
URL: https://svnweb.freebsd.org/changeset/base/301259
Log:
MFC r300280:
Optimise use of doorbell and remove redundant NOPs
Store the last doorbell write in the mlx5e_sq structure and write the
doorbell to the hardware
Author: hselasky
Date: Fri Jun 3 09:07:40 2016
New Revision: 301260
URL: https://svnweb.freebsd.org/changeset/base/301260
Log:
MFC r300282:
Verify one sysctl parameter at a time. When a mlx5en sysctl parameter
is updated only verify the changed one instead of all.
No functional change.
Author: hselasky
Date: Fri Jun 3 09:10:37 2016
New Revision: 301261
URL: https://svnweb.freebsd.org/changeset/base/301261
Log:
MFC r300489:
Use DELAY() instead of _sleep() when SCHEDULER_STOPPED() is set inside
pause_sbt(). This allows pause() to continue working during a panic()
which is
Author: hselasky
Date: Fri Jun 3 10:17:19 2016
New Revision: 301264
URL: https://svnweb.freebsd.org/changeset/base/301264
Log:
MFC r294832:
Implement ether_addr_equal(), ether_addr_equal_64bits() and
random_ether_addr() for the LinuxKPI.
Sponsored by: Mellanox Technologies
Modified:
Author: hselasky
Date: Wed Jun 29 10:21:45 2016
New Revision: 302266
URL: https://svnweb.freebsd.org/changeset/base/302266
Log:
MFC r302076:
Update the definition for number of scratch pages to match the latest
version of the XHCI specification. Make sure the code can handle the
maximum nu
Author: hselasky
Date: Wed Jun 29 10:29:52 2016
New Revision: 302269
URL: https://svnweb.freebsd.org/changeset/base/302269
Log:
MFC r302139:
Use correct Q-counter output array.
Sponsored by: Mellanox Technologies
Modified:
stable/10/sys/dev/mlx5/mlx5_core/mlx5_vport.c
Directory Propert
Author: hselasky
Date: Wed Jun 29 10:33:11 2016
New Revision: 302270
URL: https://svnweb.freebsd.org/changeset/base/302270
Log:
MFC r301545:
Add SR-IOV guest support to the mlx5en driver.
This patch adds the missing pieces needed for device setup using the
mlx5en driver inside a virtual
Author: hselasky
Date: Wed Jun 29 10:40:34 2016
New Revision: 302271
URL: https://svnweb.freebsd.org/changeset/base/302271
Log:
MFC r301544:
Fallback to arc4rand() in the LinuxKPI when read_random() returns
zero. This can happen for virtual machines.
Sponsored by: Mellanox Technologies
Author: hselasky
Date: Wed Jun 29 10:43:31 2016
New Revision: 302272
URL: https://svnweb.freebsd.org/changeset/base/302272
Log:
MFC r301842:
Implement code to stop all USB endpoints before executing a USB device
reset command, alternate setting command or set configuration
command. Else Li
id == NULL ||
+ dev_cap->bDevCapabilityType != LIBUSB_BT_CONTAINER_ID)
+ return (LIBUSB_ERROR_INVALID_PARAM);
+ if (dev_cap->bLength < LIBUSB_BT_CONTAINER_ID_SIZE)
+ return (LIBUSB_ERROR_IO);
+
+ desc = malloc(sizeof(*desc));
+ if (desc
Author: hselasky
Date: Mon Jul 11 12:59:23 2016
New Revision: 302562
URL: https://svnweb.freebsd.org/changeset/base/302562
Log:
MFC r302306:
Fix detection of USB device disconnects in USB host mode when the USB
device is connected directly to the USB port of the DWC OTG, in this
case a RPI
Author: hselasky
Date: Mon Jul 11 13:01:42 2016
New Revision: 302563
URL: https://svnweb.freebsd.org/changeset/base/302563
Log:
MFC r302336:
Fix interrupt loop when switching from USB device to USB host mode by
clearing all endpoint interrupt bits.
PR: 210736
Modified:
stab
Author: hselasky
Date: Fri Aug 12 07:57:27 2016
New Revision: 303993
URL: https://svnweb.freebsd.org/changeset/base/303993
Log:
MFC r301039:
Add support for simplex USB MIDI devices, which only provide BULK or
INTERRUPT endpoints for moving data in one direction, like the KeyRig
49 from M-
Author: hselasky
Date: Fri Aug 12 08:05:40 2016
New Revision: 303996
URL: https://svnweb.freebsd.org/changeset/base/303996
Log:
MFC r302371:
Fix regression issue with XHCI on 32-bit ARMv7 Armada-38x. Make sure
"struct xhci_dev_ctx_addr" fits into a single 4K page until further.
Modified:
Author: hselasky
Date: Mon Aug 15 09:00:46 2016
New Revision: 304125
URL: https://svnweb.freebsd.org/changeset/base/304125
Log:
MFC r303765:
Keep a reference count on USB keyboard polling to allow recursive
cngrab() during a panic for example, similar to what the AT-keyboard
driver is doin
Author: hselasky
Date: Mon Aug 15 09:09:01 2016
New Revision: 304134
URL: https://svnweb.freebsd.org/changeset/base/304134
Log:
MFC r303870:
Fix for use after free.
Clear the device description to avoid use after free because the
bsddev is not destroyed when the mlx5en module is unloade
Author: hselasky
Date: Fri Aug 26 12:06:43 2016
New Revision: 304846
URL: https://svnweb.freebsd.org/changeset/base/304846
Log:
MFC r304342:
Add support for setting blocking and non-blocking mode on /dev/rdma_cm
by returning success on FIONBIO and FIOASYNC IOCTLs. The actual flags
handling
Author: hselasky
Date: Mon Aug 29 08:42:37 2016
New Revision: 304993
URL: https://svnweb.freebsd.org/changeset/base/304993
Log:
MFC r304597:
Fix for invalid use of bits in input context. Basically split
configuring of EP0 and non-EP0 into xhci_cmd_evaluate_ctx() and
xhci_cmd_configure_ep()
Author: hselasky
Date: Mon Aug 29 08:49:38 2016
New Revision: 304997
URL: https://svnweb.freebsd.org/changeset/base/304997
Log:
MFC r304601:
Increase the maximum RX/TX queue size. This allows for a RX/TX queue
size of 16384 mbufs. Previously the limit was 8192.
Sponsored by: Mellanox Te
Author: hselasky
Date: Mon Aug 29 08:51:27 2016
New Revision: 304998
URL: https://svnweb.freebsd.org/changeset/base/304998
Log:
MFC r304629:
Don't separate the status stage of the XHCI USB control transfers into
its own job because this breaks the simplified QEMU XHCI TRB parser,
which exp
Author: hselasky
Date: Thu Sep 8 09:50:03 2016
New Revision: 305589
URL: https://svnweb.freebsd.org/changeset/base/305589
Log:
MFC r281499:
Modify the return value of the uhci/ehci/xhci PCI probe routines to
'BUS_PROBE_DEFAULT'. This allows bhyve's 'ppt' driver to claim ownership
of the d
Author: hselasky
Date: Fri Sep 9 06:27:25 2016
New Revision: 305641
URL: https://svnweb.freebsd.org/changeset/base/305641
Log:
MFC r305284:
Fix array size issue when using the pre-scaling feature for
ISOCHRONOUS USB transfers. Make sure enough length and buffer pointers
are allocated when
Author: hselasky
Date: Fri Sep 9 06:38:13 2016
New Revision: 305645
URL: https://svnweb.freebsd.org/changeset/base/305645
Log:
MFC r304571:
Make the UKBD USB transfers double buffered and set them up one by one,
so they are memory independent which allows for handling panics
triggered by
Author: hselasky
Date: Mon Sep 12 10:17:25 2016
New Revision: 305734
URL: https://svnweb.freebsd.org/changeset/base/305734
Log:
MFC r305421:
Resolve deadlock between device_detach() and usbd_do_request_flags()
by reviving the SX control request lock and refining which lock
protects the com
Author: hselasky
Date: Thu Sep 15 08:35:46 2016
New Revision: 305829
URL: https://svnweb.freebsd.org/changeset/base/305829
Log:
MFC r305590:
Correctly map the USB mouse tilt delta values into buttons 5 and 6
instead of 3 and 4 which is used for the scroll wheel, according to
X.org.
PR
Author: hselasky
Date: Fri Sep 23 08:28:44 2016
New Revision: 306244
URL: https://svnweb.freebsd.org/changeset/base/306244
Log:
MFC r305867:
Update the MLX5 core module:
- Add new firmware commands and update existing ones.
- Add more firmware related structures and update existing ones.
Author: hselasky
Date: Fri Sep 23 08:29:27 2016
New Revision: 306245
URL: https://svnweb.freebsd.org/changeset/base/306245
Log:
MFC r305868:
mlx5en: Separate the sendqueue from using the mlx5e_channel structure.
This change allows for reusing the transmit path for so called
rate limited
Author: hselasky
Date: Fri Sep 23 08:30:09 2016
New Revision: 306246
URL: https://svnweb.freebsd.org/changeset/base/306246
Log:
MFC r305869:
mlx5en: Minor completion queue control path code refactor.
Move setting of CQ moderation mode together with the other
CQ moderation parameters. Pa
Author: hselasky
Date: Fri Sep 23 08:31:38 2016
New Revision: 306248
URL: https://svnweb.freebsd.org/changeset/base/306248
Log:
MFC r305871:
mlx5en: Optimise away duplicate UAR pointers.
This change also reduces the size of the mlx5e_sq structure so that the last
queue_state element wil
Author: hselasky
Date: Fri Sep 23 08:30:53 2016
New Revision: 306247
URL: https://svnweb.freebsd.org/changeset/base/306247
Log:
MFC r305870:
mlx5en: Make the mlx5e_open_cq() and mlx5e_close_cq() functions global.
Make some functions and structures global to allow for code reuse
when cre
Author: hselasky
Date: Fri Sep 23 08:32:18 2016
New Revision: 306249
URL: https://svnweb.freebsd.org/changeset/base/306249
Log:
MFC r305872:
mlx5en: Properly declare doorbell lock for 32-bit CPUs.
Sponsored by: Mellanox Technologies
Modified:
stable/10/sys/dev/mlx5/mlx5_en/en.h
stabl
Author: hselasky
Date: Fri Sep 23 08:33:47 2016
New Revision: 306251
URL: https://svnweb.freebsd.org/changeset/base/306251
Log:
MFC r305874:
mlx5en: Allow setting the software MTU size below 1500 bytes
The hardware MTU size can't be set to a value less than 1500 bytes due
to side-band m
Author: hselasky
Date: Fri Sep 23 08:33:03 2016
New Revision: 306250
URL: https://svnweb.freebsd.org/changeset/base/306250
Log:
MFC r305873:
mlx5en: Factor out common sendqueue code for use with rate limiting SQs.
Try to reuse code to setup sendqueues when possible by making some static
Author: hselasky
Date: Fri Sep 23 08:34:28 2016
New Revision: 306252
URL: https://svnweb.freebsd.org/changeset/base/306252
Log:
MFC r305875:
mlx5en: Verify port type is ethernet before creating network device
Else the mlx5en driver might attach to infiniband ports.
Sponsored by: Mell
Author: hselasky
Date: Fri Sep 23 08:35:11 2016
New Revision: 306253
URL: https://svnweb.freebsd.org/changeset/base/306253
Log:
MFC r305876:
mlx5en: Remove unused pdev pointer.
Sponsored by: Mellanox Technologies
Modified:
stable/10/sys/dev/mlx5/mlx5_en/en.h
stable/10/sys/dev/mlx5/ml
Author: hselasky
Date: Fri Sep 23 08:35:56 2016
New Revision: 306254
URL: https://svnweb.freebsd.org/changeset/base/306254
Log:
MFC r305877:
mlx5en: Fix duplicate mbuf free-by-code.
When mlx5e_sq_xmit() returns an error code and the mbuf pointer is set,
we should not free the mbuf, beca
Author: hselasky
Date: Mon Oct 10 11:25:11 2016
New Revision: 306947
URL: https://svnweb.freebsd.org/changeset/base/306947
Log:
MFC r306441 and r306634:
While draining a timeout task prevent the taskqueue_enqueue_timeout()
function from restarting the timer.
Commonly taskqueue_enqueue_t
Author: hselasky
Date: Mon Oct 10 11:34:51 2016
New Revision: 306950
URL: https://svnweb.freebsd.org/changeset/base/306950
Log:
MFC r306451:
The IORESOURCE_XXX defines should resemble a bitmask while SYS_RES_XXX
are not bitmasks. Fix return value of pci_resource_flags() to reflect
this cha
Author: hselasky
Date: Mon Oct 10 11:40:52 2016
New Revision: 306953
URL: https://svnweb.freebsd.org/changeset/base/306953
Log:
MFC r306453:
Set hardware stats flag to avoid double counting the number of incoming bytes.
Found by: Ben RUBSON
Sponsored by: Mellanox Technologies
Modi
Author: hselasky
Date: Mon Oct 10 11:43:55 2016
New Revision: 306955
URL: https://svnweb.freebsd.org/changeset/base/306955
Log:
MFC r306454:
Set hardware stats flag to avoid double counting the number of incoming bytes.
Found by: Ben RUBSON
Sponsored by: Mellanox Technologies
Modi
Author: hselasky
Date: Mon Oct 10 11:47:29 2016
New Revision: 306957
URL: https://svnweb.freebsd.org/changeset/base/306957
Log:
MFC r306478:
Add new USB ID.
While at it remove some whitespaces.
Submitted by: Jose Luis Duran
PR: 213110
Modified:
stable/10/sys/dev/usb/s
Author: hselasky
Date: Fri Oct 28 12:46:38 2016
New Revision: 308033
URL: https://svnweb.freebsd.org/changeset/base/308033
Log:
MFC r307651:
Add support for adjusting the hardware buffering delay for USB audio.
Requested by: Goran Mekic
Modified:
stable/10/sys/dev/sound/usb/uaudio.c
D
Author: hselasky
Date: Mon Nov 7 08:15:58 2016
New Revision: 308395
URL: https://svnweb.freebsd.org/changeset/base/308395
Log:
MFC r308144 and r308165:
Fixes for virtual T-axis buttons.
Make sure the virtual T-axis buttons gets cleared for USB mice which has
less than 6 buttons.
M
Author: hselasky
Date: Mon Nov 7 08:24:29 2016
New Revision: 308399
URL: https://svnweb.freebsd.org/changeset/base/308399
Log:
MFC r308031:
Fix indentation and remove duplicate queue stopped stats increment.
Found by: Ryan Stone
Sponsored by: Mellanox Technologies
Modified:
sta
Author: hselasky
Date: Mon Nov 7 09:19:04 2016
New Revision: 308402
URL: https://svnweb.freebsd.org/changeset/base/308402
Log:
MFC r307518:
Fix device delete child function.
When detaching device trees parent devices must be detached prior to
detaching its children. This is because par
Author: hselasky
Date: Sat Nov 12 17:30:55 2016
New Revision: 308572
URL: https://svnweb.freebsd.org/changeset/base/308572
Log:
MFC r308437 and r308461:
Range check the jitter values to avoid bogus sample rate adjustments.
The expected deviation should not be more than 1Hz per second. The US
Author: hselasky
Date: Tue Nov 15 08:56:18 2016
New Revision: 308680
URL: https://svnweb.freebsd.org/changeset/base/308680
Log:
MFC r308409:
When a firmware command times out do not free the command structure to
avoid use after free.
Sponsored by: Mellanox Technologies
Modified:
stab
Author: hselasky
Date: Tue Nov 15 08:56:59 2016
New Revision: 308681
URL: https://svnweb.freebsd.org/changeset/base/308681
Log:
MFC r308411:
Ensure the firmware is notified of any host memory allocation
failures. Else firmware commands may time out waiting for host
memory.
Sponsored b
Author: hselasky
Date: Tue Nov 15 08:57:36 2016
New Revision: 308682
URL: https://svnweb.freebsd.org/changeset/base/308682
Log:
MFC r308412:
Correct checksum fields in the "mlx5_mini_cqe8" structure. The fields
in question are currently not used.
Sponsored by: Mellanox Technologies
Mod
Author: hselasky
Date: Tue Nov 15 08:58:12 2016
New Revision: 308683
URL: https://svnweb.freebsd.org/changeset/base/308683
Log:
MFC r308413:
Query flow table capabilities according to the correct capability bit
for infiniband.
Sponsored by: Mellanox Technologies
Modified:
stable/10/s
Author: hselasky
Date: Tue Nov 15 08:58:51 2016
New Revision: 308684
URL: https://svnweb.freebsd.org/changeset/base/308684
Log:
MFC r308414:
Add more firmware related structures and update existing ones in the
MLX5 core module. Update the set and query diagnostics counter API.
Sponsored
Author: hselasky
Date: Tue Nov 15 09:00:01 2016
New Revision: 308685
URL: https://svnweb.freebsd.org/changeset/base/308685
Log:
MFC r308416:
Add timer to watch the RQ when we are out of mbufs.
The firmware/hardware does not generate additional completion
events unless we post new buffer
Author: hselasky
Date: Mon Nov 28 17:24:24 2016
New Revision: 309255
URL: https://svnweb.freebsd.org/changeset/base/309255
Log:
MFC r308730:
Make sure MAC address is reprogrammed when if_init() callback is
invoked. Else promiscious mode must be used to pass traffic. While at
it fix a debug
Author: hselasky
Date: Mon Jan 4 07:27:58 2016
New Revision: 293146
URL: https://svnweb.freebsd.org/changeset/base/293146
Log:
MFC r291199:
Fix compile warning about shifting signed negative constant.
Modified:
stable/10/sys/dev/usb/controller/uhci.h
Modified: stable/10/sys/dev/usb/contro
Author: hselasky
Date: Mon Jan 4 09:37:05 2016
New Revision: 293151
URL: https://svnweb.freebsd.org/changeset/base/293151
Log:
MFC r289563,r291481,r292537,r292538,r292542,r292543,r292544 and r292834:
Update the LinuxKPI:
- Add more functions and types.
- Implement ACCESS_ONCE(), WRITE_
Author: hselasky
Date: Mon Jan 4 09:38:33 2016
New Revision: 293152
URL: https://svnweb.freebsd.org/changeset/base/293152
Log:
Add missed mergeinfo.
Modified:
Directory Properties:
stable/10/ (props changed)
___
svn-src-stable-10@freebsd.org mail
Author: hselasky
Date: Mon Jan 4 09:47:20 2016
New Revision: 293153
URL: https://svnweb.freebsd.org/changeset/base/293153
Log:
MFC r292835:
Make the eeprom dump function more readable and rename variables for
better clarity.
Submitted by: Daria Genzel
Differential Revision:h
Author: hselasky
Date: Mon Jan 4 09:49:53 2016
New Revision: 293154
URL: https://svnweb.freebsd.org/changeset/base/293154
Log:
MFC r292837:
Add support for sysctl tunables to 10-stable and older. Pushed through
head first to simplify driver maintenance.
MFC after:1 week
Submitted
Author: hselasky
Date: Mon Jan 4 09:52:40 2016
New Revision: 293155
URL: https://svnweb.freebsd.org/changeset/base/293155
Log:
MFC r292838:
Add support for CQE zipping. CQE zipping reduces PCI overhead by
coalescing and zipping multiple CQEs into a single merged CQE. The
feature is enable
Author: hselasky
Date: Mon Jan 4 09:55:21 2016
New Revision: 293156
URL: https://svnweb.freebsd.org/changeset/base/293156
Log:
MFC r292946:
10G ER/LR should present itself as LR.
MFC after:1 week
Submitted by: Shahar Klein
Sponsored by: Mellanox Technologies
Modified:
stable/
Author: hselasky
Date: Mon Jan 4 09:56:57 2016
New Revision: 293157
URL: https://svnweb.freebsd.org/changeset/base/293157
Log:
MFC r292948:
Allow I2C to read address 0x51 as well as address 0x50.
Submitted by: Shahar Klein
Sponsored by: Mellanox Technologies
Modified:
stable/10/sys
Author: hselasky
Date: Mon Jan 4 09:58:16 2016
New Revision: 293158
URL: https://svnweb.freebsd.org/changeset/base/293158
Log:
MFC r292949:
Add support for modifying coalescing parameters runtime.
Sponsored by: Mellanox Technologies
Modified:
stable/10/sys/dev/mlx5/mlx5_en/en.h
stab
Author: hselasky
Date: Tue Jan 12 08:49:40 2016
New Revision: 293735
URL: https://svnweb.freebsd.org/changeset/base/293735
Log:
MFC r293192:
Fix for directly connected FULL or LOW speed USB devices.
Modified:
stable/10/sys/dev/usb/controller/dwc_otg.c
Directory Properties:
stable/10/ (p
Author: hselasky
Date: Tue Jan 12 09:00:19 2016
New Revision: 293736
URL: https://svnweb.freebsd.org/changeset/base/293736
Log:
MFC r292989:
Handle when filedescriptors are closed before initialized. An early
fdclose() call can cause fget_unlocked() to fail.
Modified:
stable/10/sys/ofed/i
Author: hselasky
Date: Wed Jan 27 14:55:41 2016
New Revision: 294917
URL: https://svnweb.freebsd.org/changeset/base/294917
Log:
MFC r294314:
Allow RX and TX pause frames to be set through ifconfig.
Sponsored by: Mellanox Technologies
Differential Revision:https://reviews.freebsd
Author: hselasky
Date: Wed Jan 27 14:57:37 2016
New Revision: 294918
URL: https://svnweb.freebsd.org/changeset/base/294918
Log:
MFC r294317:
Declare local variables at top of function.
Sponsored by: Mellanox Technologies
Differential Revision:https://reviews.freebsd.org/D4939
M
Author: hselasky
Date: Wed Jan 27 14:59:22 2016
New Revision: 294919
URL: https://svnweb.freebsd.org/changeset/base/294919
Log:
MFC r294318:
Add clarifying comment about CQE zipping.
Sponsored by: Mellanox Technologies
Differential Revision:https://reviews.freebsd.org/D4940
Mod
Author: hselasky
Date: Wed Jan 27 15:01:08 2016
New Revision: 294920
URL: https://svnweb.freebsd.org/changeset/base/294920
Log:
MFC r294319:
Fix an issue where the network adapter could be left in down state
after changing the HW LRO sysctl when previously in up state.
Sponsored by: Mel
Author: hselasky
Date: Sat Feb 6 08:58:10 2016
New Revision: 295346
URL: https://svnweb.freebsd.org/changeset/base/295346
Log:
MFC r294915:
Fix generation of dependency rules for the LinuxKPI, the MLX5 driver
and all of OFED except MLX4[EN/IB].
Sponsored by: Mellanox Technologies
App
Author: hselasky
Date: Mon Mar 7 09:35:20 2016
New Revision: 296443
URL: https://svnweb.freebsd.org/changeset/base/296443
Log:
MFC r295608:
Fix variable assignment inside if-clause in the smsc driver.
Found by D5245 / PVS.
Modified:
stable/10/sys/dev/usb/net/if_smsc.c
Directory Propertie
Author: hselasky
Date: Mon Mar 7 09:37:07 2016
New Revision: 296444
URL: https://svnweb.freebsd.org/changeset/base/296444
Log:
MFC r295923:
Be more verbose when truncating number of HID items.
Suggested by: Larry Rosenman
Modified:
stable/10/sys/dev/usb/usb_hid.c
Directory Properties
Author: hselasky
Date: Mon Mar 7 09:42:16 2016
New Revision: 296446
URL: https://svnweb.freebsd.org/changeset/base/296446
Log:
MFC r295928:
Configure the correct bMaxPacketSize for control endpoints before
requesting the initial complete device descriptor and not as part of
the subsequent
Author: hselasky
Date: Thu Mar 24 09:22:58 2016
New Revision: 297228
URL: https://svnweb.freebsd.org/changeset/base/297228
Log:
MFC r292254:
Properly drain callouts in the IPFW subsystem to avoid use after free
panics when unloading the dummynet and IPFW modules:
- The callout drain
Author: hselasky
Date: Thu Apr 7 07:12:14 2016
New Revision: 297640
URL: https://svnweb.freebsd.org/changeset/base/297640
Log:
MFC r296902:
Improve detection of extended QSFP diagnostics.
The standards in the QSFP diagnostics area are not clear when the
additional measurements are pres
Author: hselasky
Date: Thu Apr 7 07:17:23 2016
New Revision: 297643
URL: https://svnweb.freebsd.org/changeset/base/297643
Log:
MFC r296342:
Allow for overlapping quirk device ranges. Prior to this patch only
the first device entry matching the USB vendor, product and revision
would be sea
Author: hselasky
Date: Thu Apr 7 07:21:27 2016
New Revision: 297645
URL: https://svnweb.freebsd.org/changeset/base/297645
Log:
MFC r294526:
Add missing atomic wrapper macro.
Reviewed by: alfred @
Sponsored by: Mellanox Technologies
Modified:
stable/10/sys/amd64/include/atomic.h
Dir
Author: hselasky
Date: Thu Apr 7 07:29:57 2016
New Revision: 297648
URL: https://svnweb.freebsd.org/changeset/base/297648
Log:
MFC r296909:
Fix witness panic in the ipoib_ioctl() function when unloading the
ipoib module.
The bpfdetach() function is trying to turn off promiscious mode o
Author: hselasky
Date: Thu Apr 7 07:35:02 2016
New Revision: 297651
URL: https://svnweb.freebsd.org/changeset/base/297651
Log:
MFC r296910:
Use hardware computed Toeplitz hash for incoming flowids
Use the Toeplitz hash value as source for the flowid. This makes the
hash value more suit
Author: hselasky
Date: Thu Apr 7 07:36:54 2016
New Revision: 297652
URL: https://svnweb.freebsd.org/changeset/base/297652
Log:
MFC r296987:
Add missing curly brackets in for loop.
Sponsored by: Mellanox Technologies
Modified:
stable/10/sys/ofed/drivers/net/mlx4/en_port.c
Directory Pro
Author: hselasky
Date: Thu Apr 7 07:41:06 2016
New Revision: 297655
URL: https://svnweb.freebsd.org/changeset/base/297655
Log:
MFC r296934:
Fix crash in krping when run as a client due to NULL pointer access.
Initialize pointer in question which is used only when fast registers
mode is se
Author: hselasky
Date: Thu Apr 7 07:44:01 2016
New Revision: 297656
URL: https://svnweb.freebsd.org/changeset/base/297656
Log:
MFC r297444:
Fix bugs in currently unused bit searching loop.
Sponsored by: Mellanox Technologies
Modified:
stable/10/sys/ofed/include/linux/bitops.h
Director
Author: hselasky
Date: Thu Apr 7 07:52:09 2016
New Revision: 297658
URL: https://svnweb.freebsd.org/changeset/base/297658
Log:
MFC r294520:
LinuxKPI atomic fixes:
- Fix implementation of atomic_add_unless(). The atomic_cmpset_int()
function returns a boolean and not the previous value o
Author: hselasky
Date: Fri Apr 29 11:06:24 2016
New Revision: 298773
URL: https://svnweb.freebsd.org/changeset/base/298773
Log:
MFC r297966:
Add missing port_up checks.
When downing a mlxen network adapter we need to check the port_up variable
to ensure we don't continue to transmit dat
Author: hselasky
Date: Fri Apr 29 11:14:02 2016
New Revision: 298775
URL: https://svnweb.freebsd.org/changeset/base/298775
Log:
MFC r297967:
Ensure the received IP header gets 32-bits aligned.
The FreeBSD's TCP/IP stack assumes that the IP-header is 32-bits aligned
when decoding it. Els
Author: hselasky
Date: Fri Apr 29 11:18:48 2016
New Revision: 298778
URL: https://svnweb.freebsd.org/changeset/base/298778
Log:
MFC r297968:
Remove some unused fields.
Sponsored by: Mellanox Technologies
Modified:
stable/10/sys/ofed/drivers/net/mlx4/en_netdev.c
stable/10/sys/ofed/dri
Author: hselasky
Date: Fri Apr 29 11:29:52 2016
New Revision: 298779
URL: https://svnweb.freebsd.org/changeset/base/298779
Log:
MFC r298458:
Add missing set of the current VNET when inputting IP packets in IPoIB.
This fixes a kernel panic when using IPoIB with VIMAGE and infiniband.
Author: hselasky
Date: Fri Apr 29 11:37:06 2016
New Revision: 298781
URL: https://svnweb.freebsd.org/changeset/base/298781
Log:
MFC r297696 and r298424:
Add new USB quirks.
Submitted by: AJ
PR: 208623
Submitted by: Naram Qashat
PR: 208642
Modified:
stable/10
Author: hselasky
Date: Mon May 9 13:09:41 2016
New Revision: 299258
URL: https://svnweb.freebsd.org/changeset/base/299258
Log:
MFC r298771:
Add function to detect the presence of a port module and use this
function to error out early when no port module is present and doing
eeprom access.
Author: hselasky
Date: Mon May 9 13:11:00 2016
New Revision: 299259
URL: https://svnweb.freebsd.org/changeset/base/299259
Log:
MFC r298772:
Correct some error codes to native FreeBSD ones.
Sponsored by: Mellanox Technologies
Tested by:Netflix
Modified:
stable/10/sys/dev/mlx5/mlx
Author: hselasky
Date: Mon May 9 13:12:12 2016
New Revision: 299260
URL: https://svnweb.freebsd.org/changeset/base/299260
Log:
MFC r298783:
Regenerate usb.conf .
Modified:
stable/10/etc/devd/usb.conf
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/etc/devd/usb.con
Author: hselasky
Date: Wed Jan 28 19:41:31 2015
New Revision: 277845
URL: https://svnweb.freebsd.org/changeset/base/277845
Log:
MFC r277417:
Fix returned data for the USB_GET_DEV_PORT_PATH IOCTL in particular
the value returned in the "udp_port_level" field.
Modified:
stable/10/sys/dev/us
Author: hselasky
Date: Wed Jan 28 19:49:53 2015
New Revision: 277847
URL: https://svnweb.freebsd.org/changeset/base/277847
Log:
MFC r277245:
Add more USB request definitions. The values are described in section
9.4.11 and 9.4.12 of the "Universal Serial Bus 3.0 Specification"
Modified:
st
Author: hselasky
Date: Wed Jan 28 20:01:21 2015
New Revision: 277852
URL: https://svnweb.freebsd.org/changeset/base/277852
Log:
MFC r277246:
Add more USB device IDs.
PR: 196362
Modified:
stable/10/sys/dev/usb/serial/u3g.c
stable/10/sys/dev/usb/usbdevs
Directory Properties:
Author: hselasky
Date: Thu Feb 5 20:03:02 2015
New Revision: 278278
URL: https://svnweb.freebsd.org/changeset/base/278278
Log:
MFC r266969 and r276717:
Add 64-bit DMA support in the XHCI controller driver.
- Fix some comments and whitespaces while at it.
- Add support for PAE.
Modified:
Author: hselasky
Date: Thu Feb 5 20:49:13 2015
New Revision: 278283
URL: https://svnweb.freebsd.org/changeset/base/278283
Log:
MFC r277179, r277199 and r277391:
Add a kernel function to delist our kernel character devices, so that
the device name can be re-used right away in case we are des
Author: hselasky
Date: Thu Feb 5 21:18:44 2015
New Revision: 278289
URL: https://svnweb.freebsd.org/changeset/base/278289
Log:
MFC r277136:
Resolve a special case deadlock: When two or more threads are
simultaneously detaching kernel drivers on the same USB device we can
get stuck in the
Author: hselasky
Date: Tue Feb 10 13:16:53 2015
New Revision: 278507
URL: https://svnweb.freebsd.org/changeset/base/278507
Log:
MFC r278071:
Section 3.2.9 in the XHCI specification about control transfers says
that we should use a normal-TRB if there are more TRBs extending the
data-stage
1 - 100 of 385 matches
Mail list logo