| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Reported by: Andrei Martin <andrei.cos.martin@gmail.com>
(cherry picked from commit 109260d202fb64be6f2efcf243c25090c1f64420)
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
It appears we must read MIB values as 2 4-byte words, lower address
first. A single 8-byte MIB read returns the value with the lower 4
bytes copied into the upper 4 bytes, resulting in bogus byte counter
values.
Reviewed by: mw
Sponsored by: Rubicon Communications, LLC (Netgate)
Differential Revision: https://reviews.freebsd.org/D27870
(cherry picked from commit caf552a607191ffc798e3edb697ae99d5b15711a)
|
| |
|
|
|
|
|
|
|
|
| |
Tested on SG-3100 (ARMADA38X) and Espresso.bin (A37x0). Fixes the network
on espresso.bin.
Sponsored by: Rubicon Communications, LLC (Netgate)
Notes:
svn path=/head/; revision=337811
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
OF_getprop_alloc takes element size argument and returns number of
elements in the property. There are valid use cases for such behavior
but mostly API consumers pass 1 as element size to get string
properties. What API users would expect from OF_getprop_alloc is to be
a combination of malloc + OF_getprop with the same semantic of return
value. This patch modifies API signature to match these expectations.
For the valid use cases with element size != 1 and to reduce
modification scope new OF_getprop_alloc_multi function has been
introduced that behaves the same way OF_getprop_alloc behaved prior to
this patch.
Reviewed by: ian, manu
Differential Revision: https://reviews.freebsd.org/D14850
Notes:
svn path=/head/; revision=332310
|
| |
|
|
|
|
|
|
|
| |
Defining a variable with the description and then only use it in the
SYSCTL declaration led to an unused variable warning. In the SYSCTL the
passed value is discarded using __DESCR.
Notes:
svn path=/head/; revision=324089
|
| |
|
|
|
|
|
|
|
|
|
| |
Compiling mvneta driver with gcc unveiled two issues, that
required fixing.
Reported by: andrew
Obtained from: Semihalf
Notes:
svn path=/head/; revision=323983
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch enables using NETA driver on Marvell Armada 3700 SoC
by introducing new compatible string, modifying clock source
obtaining and also excluding unnecessary parts.
The driver is added as a build option for arm64 platforms as well.
Submitted by: Patryk Duda <pdk@semihalf.com>
Obtained from: Semihalf
Sponsored by: Semihalf
Differential Revision: https://reviews.freebsd.org/D12258
Notes:
svn path=/head/; revision=323362
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Now the virtual address of received buffer is taken from a software ring.
Thanks to this, we can use the NETA driver on 64 bits architecture and
avoid 32-bit buf_cookie descriptor field limitation.
Submitted by: Patryk Duda <pdk@semihalf.com>
Obtained from: Semihalf
Sponsored by: Semihalf
Differential Revision: https://reviews.freebsd.org/D12257
Notes:
svn path=/head/; revision=323361
|
| |
|
|
|
|
|
|
|
|
|
| |
speeds properly.
While here remove a couple of stray white spaces.
Sponsored by: Rubicon Communications, LLC (Netgate)
Notes:
svn path=/head/; revision=320158
|
|
|
This patch contains a new driver for the network unit of Marvell
Armada 38x/XP SoCs, called NETA. This support was thoroughly tested
and optimised in terms of stability and performance. Additional
hardware features, like Buffer Management (BM) or Parser and Classifier
(PnC) will be progressively supported as needed.
Submitted by: Fabien Thomas <fabien.thomas@stormshield.eu>
Arnaud Ysmal <arnaud.ysmal@stormshield.eu>
Zbigniew Bodek <zbb@semihalf.com>
Michal Mazur <mkm@semihalf.com>
Bartosz Szczepanek <bsz@semihalf.com>
Marcin Wojtas <mw@semihalf.com>
Obtained from: Semihalf
Sponsored by: Stormshield (main development)
Netgate (cleanup and upstreaming)
Differential revision: https://reviews.freebsd.org/D10706
Notes:
svn path=/head/; revision=319907
|