<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/ofed, branch releng/10.3</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F10.3</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F10.3'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2016-01-23T17:08:17Z</updated>
<entry>
<title>MFC 294366:</title>
<updated>2016-01-23T17:08:17Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2016-01-23T17:08:17Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=846f722c10cd511af34130ab9ec13a475c50ff96'/>
<id>urn:sha1:846f722c10cd511af34130ab9ec13a475c50ff96</id>
<content type='text'>
Initialize vm_page_prot to VM_MEMATTR_DEFAULT instead of 0.

If a driver's Linux mmap callback passed vm_page_prot through unchanged,
then linux_dev_mmap_single() would try to apply whatever VM_MEMATTR_xxx
value 0 is to the mapping.  On x86, VM_MEMATTR_DEFAULT is the PAT value
for write-back (WB) which is 6, while 0 maps to the PAT value for
uncacheable (UC).  Thus, any mmap request that did not explicitly set
page_prot was tried to map memory as UC triggering the warning in
sg_pager_getpages().

Sponsored by:	Chelsio Communications
</content>
</entry>
<entry>
<title>MFC r292989:</title>
<updated>2016-01-12T09:00:19Z</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2016-01-12T09:00:19Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d7ab90cae1031fd7986986657e62439ecafffa83'/>
<id>urn:sha1:d7ab90cae1031fd7986986657e62439ecafffa83</id>
<content type='text'>
Handle when filedescriptors are closed before initialized. An early
fdclose() call can cause fget_unlocked() to fail.
</content>
</entry>
<entry>
<title>MFC r289563,r291481,r292537,r292538,r292542,r292543,r292544 and r292834:</title>
<updated>2016-01-04T09:37:05Z</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2016-01-04T09:37:05Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=934e403c1255b369abd906a9b41075d58f41a359'/>
<id>urn:sha1:934e403c1255b369abd906a9b41075d58f41a359</id>
<content type='text'>
Update the LinuxKPI:
- Add more functions and types.
- Implement ACCESS_ONCE(), WRITE_ONCE() and READ_ONCE().
- Implement sleepable RCU mechanism using shared exclusive locks.
- Minor workqueue cleanup:
  - Make some functions global instead of inline to ease debugging.
  - Fix some minor style issues.
- In the zero delay case in queue_delayed_work() use the return value
  from taskqueue_enqueue() instead of reading "ta_pending" unlocked and
  also ensure the callout is stopped before proceeding.
- Implement drain_workqueue() function.
- Reduce memory consumption when allocating kobject strings in the
  LinuxKPI. Compute string length before allocating memory instead of
  using fixed size allocations. Make kobject_set_name_vargs() global
  instead of inline to save some bytes when compiling.

Sponsored by:	Mellanox Technologies
</content>
</entry>
<entry>
<title>MFC r270212,r270332:</title>
<updated>2015-12-30T08:52:03Z</updated>
<author>
<name>Enji Cooper</name>
<email>ngie@FreeBSD.org</email>
</author>
<published>2015-12-30T08:52:03Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2e3e895cbebc0a05956e5416879df40ac7473799'/>
<id>urn:sha1:2e3e895cbebc0a05956e5416879df40ac7473799</id>
<content type='text'>
This helps reduce the diff in pci(4) between head and stable/10 to help pave
the way for bringing in IOV/nv(9) more cleanly

Differential Revision: https://reviews.freebsd.org/D4728
Relnotes: yes
Reviewed by: hselasky (ofed piece), royger (overall change)
Sponsored by: EMC / Isilon Storage Division

r270212 (by royger):

pci: make MSI(-X) enable and disable methods of the PCI bus

Make the functions pci_disable_msi, pci_enable_msi and pci_enable_msix
methods of the newbus PCI bus. This code should not include any
functional change.

Sponsored by: Citrix Systems R&amp;D
Reviewed by: imp, jhb
Differential Revision: https://reviews.freebsd.org/D354

dev/pci/pci.c:
 - Convert the mentioned functions to newbus methods.
 - Fix the callers of the converted functions.

sys/dev/pci/pci_private.h:
dev/pci/pci_if.m:
 - Declare the new methods.

dev/pci/pcivar.h:
 - Add helpers to call the newbus methods.

ofed/include/linux/pci.h:
 - Add define to prevent the ofed version of pci_enable_msix from
   clashing with the FreeBSD native version.

r270332 (by royger):

pci: add a new pci_child_added newbus method.

This is needed so when running under Xen the calls to pci_child_added
can be intercepted and a custom Xen method can be used to register
those devices with Xen. This should not include any functional
change, since the Xen implementation will be added in a following
patch and the native implementation is a noop.

Sponsored by: Citrix Systems R&amp;D
Reviewed by: jhb

dev/pci/pci.c:
dev/pci/pci_if.m:
dev/pci/pci_private.h:
dev/pci/pcivar.h:
 - Add the pci_child_added newbus method.
</content>
</entry>
<entry>
<title>MFC r290003:</title>
<updated>2015-12-14T10:03:04Z</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2015-12-14T10:03:04Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9fe975f1f2b727c070da9f82f94a4290ed798dce'/>
<id>urn:sha1:9fe975f1f2b727c070da9f82f94a4290ed798dce</id>
<content type='text'>
Add support for binding IRQs to CPUs in the LinuxKPI. The new function
added is for BSD only and does not exist in Linux.

Sponsored by:	Mellanox Technologies
</content>
</entry>
<entry>
<title>MFC r291753:</title>
<updated>2015-12-13T03:32:41Z</updated>
<author>
<name>Enji Cooper</name>
<email>ngie@FreeBSD.org</email>
</author>
<published>2015-12-13T03:32:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f8f6daec9be3f65d154cacf45ab7359deaa3854c'/>
<id>urn:sha1:f8f6daec9be3f65d154cacf45ab7359deaa3854c</id>
<content type='text'>
Fix scope of bridge_header and bridge_pcix_cap in mthca_reset(..)

They're only used in the __linux__ case

Differential Revision: https://reviews.freebsd.org/D4332
Reported by: cppcheck
Reviewed by: hselasky
Sponsored by: EMC / Isilon Storage Division
</content>
</entry>
<entry>
<title>Enable the mlx4en TSO limits.</title>
<updated>2015-12-11T15:35:47Z</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2015-12-11T15:35:47Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e1f72f095fa0f66b9f624f5b5d0d863ca08cdb5b'/>
<id>urn:sha1:e1f72f095fa0f66b9f624f5b5d0d863ca08cdb5b</id>
<content type='text'>
This is a direct commit to stable/10.

Sponsored by:	Mellanox Technologies
</content>
</entry>
<entry>
<title>MFC r290710, r291694, r291699 and r291793:</title>
<updated>2015-12-11T14:21:58Z</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2015-12-11T14:21:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5794bc0940e844a9b1f1a1554bf48315a25c08c6'/>
<id>urn:sha1:5794bc0940e844a9b1f1a1554bf48315a25c08c6</id>
<content type='text'>
- Fix print formatting compile warnings for Sparc64 and PowerPC platforms.
- Updated the mlx4 and mlxen drivers to the latest version, v2.1.6:
  - Added support for dumping the SFP EEPROM content to dmesg.
  - Fixed handling of network interface capability IOCTLs.
  - Fixed race when loading and unloading the mlxen driver by applying
    appropriate locking.
  - Removed two unused C-files.
- Convert the mlxen driver to use the BUSDMA(9) APIs instead of
  vtophys() when loading mbufs for transmission and reception. While at
  it all pointer arithmetic and cast qualifier issues were fixed, mostly
  related to transmission and reception.
- Fix i386 build WITH_OFED=YES. Remove some redundant KASSERTs.

Sponsored by:	Mellanox Technologies
Differential Revision:	https://reviews.freebsd.org/D4283
Differential Revision:	https://reviews.freebsd.org/D4284
</content>
</entry>
<entry>
<title>MFC r291693:</title>
<updated>2015-12-11T13:30:49Z</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2015-12-11T13:30:49Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=7df28707baa192d4f85f4c3248601cce8f0b903e'/>
<id>urn:sha1:7df28707baa192d4f85f4c3248601cce8f0b903e</id>
<content type='text'>
Add some structures and defines which will be used when decoding small
form factor, SFF, standards compliant ethernet EEPROMs.

Obtained from:	Linux
Sponsored by:	Mellanox Technologies
</content>
</entry>
<entry>
<title>MFC r291690:</title>
<updated>2015-12-11T13:19:33Z</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2015-12-11T13:19:33Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6e8b187385d837d69ffbffad9c551a5e80bf113c'/>
<id>urn:sha1:6e8b187385d837d69ffbffad9c551a5e80bf113c</id>
<content type='text'>
Remove incorrect defines. The proper version of these macros is
defined in linux/etherdevice.h.

Sponsored by:	Mellanox Technologies
</content>
</entry>
</feed>
