Author: arybchik
Date: Fri Nov 23 09:03:09 2018
New Revision: 340802
URL: https://svnweb.freebsd.org/changeset/base/340802
Log:
sfxge(4): use proper MCDI command for encap filters
MC_CMD_FILTER_OP_IN_EXT is needed to set filters for encapsulated
packets.
Submitted by: Mark Spender
Author: arybchik
Date: Fri Nov 23 09:02:58 2018
New Revision: 340801
URL: https://svnweb.freebsd.org/changeset/base/340801
Log:
sfxge(4): provide information about supported tunnels
VXLAN/NVGRE (and Geneve) support is available on SFN8xxx with
full-feature firmware variant running.
S
Author: arybchik
Date: Fri Nov 23 09:03:20 2018
New Revision: 340803
URL: https://svnweb.freebsd.org/changeset/base/340803
Log:
sfxge(4): support filters for encapsulated packets
This supports filters which match all unicast or multicast
inner frames in VXLAN, GENEVE, or NVGRE packets.
Author: arybchik
Date: Fri Nov 23 09:03:32 2018
New Revision: 340804
URL: https://svnweb.freebsd.org/changeset/base/340804
Log:
sfxge(4): insert filters for encapsulated packets
On Medford, with full-featured firmware running, encapsulated
packets may not be delivered unless filters are i
Author: arybchik
Date: Fri Nov 23 09:14:57 2018
New Revision: 340806
URL: https://svnweb.freebsd.org/changeset/base/340806
Log:
sfxge(4): fix default RSS context check on Siena
Default RSS context check is carried out during filter
insertion on Siena and it needs to be fixed
Submitte
Author: arybchik
Date: Fri Nov 23 09:15:32 2018
New Revision: 340809
URL: https://svnweb.freebsd.org/changeset/base/340809
Log:
sfxge(4): add API to allocate and free RSS contexts
Submitted by: Mark Spender
Sponsored by: Solarflare Communications, Inc.
Differential Revision: https
Author: arybchik
Date: Fri Nov 23 09:14:45 2018
New Revision: 340805
URL: https://svnweb.freebsd.org/changeset/base/340805
Log:
sfxge(4): define a handle to denote default RSS context
Make the existing filter-specific define more general.
This is the same as MC_CMD_RSS_CONTEXT_ALLOC_OUT_R
Author: arybchik
Date: Fri Nov 23 09:15:08 2018
New Revision: 340807
URL: https://svnweb.freebsd.org/changeset/base/340807
Log:
sfxge(4): add the max number of RSS exclusive contexts
The patch adds enc_rx_scale_max_exclusive_contexts member
to nic_cfg_t structure and sets the correspondin
Author: arybchik
Date: Fri Nov 23 09:15:20 2018
New Revision: 340808
URL: https://svnweb.freebsd.org/changeset/base/340808
Log:
sfxge(4): rename API to check Rx scale and hash support
Rename efx_rx_scale_support_get() to efx_rx_scale_default_support_get(),
and efx_rx_hash_support_get() to
Author: arybchik
Date: Fri Nov 23 09:15:56 2018
New Revision: 340811
URL: https://svnweb.freebsd.org/changeset/base/340811
Log:
sfxge(4): add API to set an RSS context for a filter
Submitted by: Mark Spender
Sponsored by: Solarflare Communications, Inc.
Differential Revision: http
Author: arybchik
Date: Fri Nov 23 09:16:07 2018
New Revision: 340812
URL: https://svnweb.freebsd.org/changeset/base/340812
Log:
sfxge(4): add RSS key size define
Submitted by: Ivan Malov
Sponsored by: Solarflare Communications, Inc.
Differential Revision: https://reviews.freebsd.o
Author: arybchik
Date: Fri Nov 23 09:15:44 2018
New Revision: 340810
URL: https://svnweb.freebsd.org/changeset/base/340810
Log:
sfxge(4): update RSS API to take RSS context parameter
Update efx_rx_scale_mode_set(), efx_rx_scale_key_set()
and efx_rx_scale_tbl_set().
Submitted by: Ma
Author: arybchik
Date: Fri Nov 23 10:19:46 2018
New Revision: 340813
URL: https://svnweb.freebsd.org/changeset/base/340813
Log:
sfxge(4): copy new header from firmware src
Submitted by: Andrew Jackson
Sponsored by: Solarflare Communications, Inc.
Differential Revision: https://rev
Author: arybchik
Date: Fri Nov 23 10:19:57 2018
New Revision: 340814
URL: https://svnweb.freebsd.org/changeset/base/340814
Log:
sfxge(4): fix result code in MCDI NVRAM update finish
Submitted by: Andy Moreton
Sponsored by: Solarflare Communications, Inc.
MFC after: 1 week
Di
Author: arybchik
Date: Fri Nov 23 10:20:20 2018
New Revision: 340816
URL: https://svnweb.freebsd.org/changeset/base/340816
Log:
sfxge(4): report verify result from RW finish callback
This makes the verify result visible to efx_nvram_rw_finish(), which
can be extended to report it in a lat
Author: arybchik
Date: Fri Nov 23 10:20:08 2018
New Revision: 340815
URL: https://svnweb.freebsd.org/changeset/base/340815
Log:
sfxge(4): simplify verify result handling
Simplify verify result handling in NVRAM update finish
Submitted by: Andy Moreton
Sponsored by: Solarflare Co
Author: arybchik
Date: Fri Nov 23 10:20:32 2018
New Revision: 340817
URL: https://svnweb.freebsd.org/changeset/base/340817
Log:
sfxge(4): extend NVRAM RW finish to return verify result
Extend efx_nvram_rw_finish() to return firmware verify result code.
Submitted by: Andy Moreton
S
Author: arybchik
Date: Fri Nov 23 10:20:44 2018
New Revision: 340818
URL: https://svnweb.freebsd.org/changeset/base/340818
Log:
sfxge(4): rename firmware update verify result cap field
The existing name confuses support for secure boot with
support for reporting a verify result after an N
Author: arybchik
Date: Fri Nov 23 10:20:55 2018
New Revision: 340819
URL: https://svnweb.freebsd.org/changeset/base/340819
Log:
sfxge(4): simplify NVRAM type to partition mappings
Submitted by: Andy Moreton
Sponsored by: Solarflare Communications, Inc.
Differential Revision: https
Author: arybchik
Date: Fri Nov 23 10:21:50 2018
New Revision: 340824
URL: https://svnweb.freebsd.org/changeset/base/340824
Log:
sfxge(4): remove duplicate NVRAM asserts
The checking performed in the ->envo_type_to_partn
internal method make these assertions unnecessary.
Submitted by:
Author: arybchik
Date: Fri Nov 23 10:21:17 2018
New Revision: 340821
URL: https://svnweb.freebsd.org/changeset/base/340821
Log:
sfxge(4): report correct partition write chunk size
If the firmware reports a non-zero write chunk size then nvram writes
may fail if a different granularity is
Author: arybchik
Date: Fri Nov 23 10:21:28 2018
New Revision: 340822
URL: https://svnweb.freebsd.org/changeset/base/340822
Log:
sfxge(4): fix check in NVRAM validate
Submitted by: Andy Moreton
Sponsored by: Solarflare Communications, Inc.
MFC after: 1 week
Differential Revis
Author: arybchik
Date: Fri Nov 23 10:21:06 2018
New Revision: 340820
URL: https://svnweb.freebsd.org/changeset/base/340820
Log:
sfxge(4): check NVRAM locking by partition ID
Tracking which partition is locked avoids being overly conservative
when EFX_NVRAM_xxx maps to more than one partit
Author: arybchik
Date: Fri Nov 23 10:22:01 2018
New Revision: 340825
URL: https://svnweb.freebsd.org/changeset/base/340825
Log:
sfxge(4): quieten get version methods
Submitted by: Andy Moreton
Sponsored by: Solarflare Communications, Inc.
Differential Revision: https://reviews.fre
Author: arybchik
Date: Fri Nov 23 10:21:36 2018
New Revision: 340823
URL: https://svnweb.freebsd.org/changeset/base/340823
Log:
sfxge(4): precheck and verify flash writes
Read existing flash content before writing, so the flash write can be
avoided if the existing partition content matche
Author: arybchik
Date: Fri Nov 23 11:31:45 2018
New Revision: 340826
URL: https://svnweb.freebsd.org/changeset/base/340826
Log:
sfxge(4): fix ignoring function return value
fix PreFAST issue, add missing annotation that function return value
should not be ignored. Fix alignment.
Subm
Author: arybchik
Date: Fri Nov 23 11:31:57 2018
New Revision: 340827
URL: https://svnweb.freebsd.org/changeset/base/340827
Log:
sfxge(4): support MUM/SUC firmware partitions
Submitted by: Andrew Lee
Sponsored by: Solarflare Communications, Inc.
Differential Revision: https://revie
Author: arybchik
Date: Fri Nov 23 11:38:50 2018
New Revision: 340828
URL: https://svnweb.freebsd.org/changeset/base/340828
Log:
sfxge(4): improve RxQ label init prototype
RxQ type provides more information which may be useful to
setup event queue appropriately.
Sponsored by: Solarf
Author: arybchik
Date: Fri Nov 23 11:39:13 2018
New Revision: 340830
URL: https://svnweb.freebsd.org/changeset/base/340830
Log:
sfxge(4): enforce packed stream fake buffer size
In the case of packed stream real size of the buffer does not fit in
Rx descriptor byte count. Real size is spec
Author: arybchik
Date: Fri Nov 23 11:39:02 2018
New Revision: 340829
URL: https://svnweb.freebsd.org/changeset/base/340829
Log:
sfxge(4): provide simple access to RxQ state in EvQ
Packed stream Rx datapath requires access to packed stream state
stored in event queue. Number of credits is
Author: arybchik
Date: Fri Nov 23 11:39:24 2018
New Revision: 340831
URL: https://svnweb.freebsd.org/changeset/base/340831
Log:
sfxge(4): make MAC naming consistent with other modules
Submitted by: Andy Moreton
Sponsored by: Solarflare Communications, Inc.
Differential Revision: h
Author: thj
Date: Fri Nov 23 12:03:01 2018
New Revision: 340832
URL: https://svnweb.freebsd.org/changeset/base/340832
Log:
Add support for none ACPI battery method batteries
Remove the requirement that a device be a ACPI method battery to be supported
as a battery.
Require now that t
Author: arybchik
Date: Fri Nov 23 13:12:04 2018
New Revision: 340833
URL: https://svnweb.freebsd.org/changeset/base/340833
Log:
sfxge(4): support inner checksum offload on transmit
Inner checksum offloads may be used only if firmware supports
these tunnels.
Sponsored by: Solarflare
Author: emaste
Date: Fri Nov 23 13:50:18 2018
New Revision: 340834
URL: https://svnweb.freebsd.org/changeset/base/340834
Log:
Disable build-id in i386 binary boot components
A user may enable build-id for all builds by adding
LDFLAGS=-Wl,--build-id=sha1 to /etc/make.conf. In this case th
Author: yuripv
Date: Fri Nov 23 15:49:18 2018
New Revision: 340835
URL: https://svnweb.freebsd.org/changeset/base/340835
Log:
regexec: fix processing multibyte strings.
Matcher function incorrectly assumed that moffset that we get from
findmust is in bytes. Fix this by introducing a stepb
Author: arybchik
Date: Fri Nov 23 15:59:37 2018
New Revision: 340836
URL: https://svnweb.freebsd.org/changeset/base/340836
Log:
sfxge(4): use MCDIv2 for requests with too long response
Use MCDIv2 for requests with a response size too long for MCDIv1.
Required for MC_CMD_MAC_STATS to re
Author: arybchik
Date: Fri Nov 23 15:59:49 2018
New Revision: 340837
URL: https://svnweb.freebsd.org/changeset/base/340837
Log:
sfxge(4): ignore error in completion event on MCDIv2 HW
With MCDIv2, the reponse length can be to big to fit into the
CMDDONE_DATALEN field in the MCDI completio
Author: arybchik
Date: Fri Nov 23 16:18:36 2018
New Revision: 340838
URL: https://svnweb.freebsd.org/changeset/base/340838
Log:
sfxge(4): request info about outer frame in Rx events
For encapsulated packets, the firmware gives info about the inner frame
fields by default. When not using e
Author: gjb
Date: Fri Nov 23 16:32:27 2018
New Revision: 340839
URL: https://svnweb.freebsd.org/changeset/base/340839
Log:
- Update releng/12.0 from RC1 to RC2 as part of the 12.0-RELEASE
cycle.
- Update the dvd1.iso pkg(8) configuration to use the release_0
package set to populate the
Author: andrew
Date: Fri Nov 23 16:33:03 2018
New Revision: 340840
URL: https://svnweb.freebsd.org/changeset/base/340840
Log:
Mark the function called by the MIPS .init/.fini sequence with .local.
As with r328939 we need to mark local symbols as such. Without this the
assembly parser trea
alse' /etc/malloc.conf".)
+20181123:
+ The BSD crtbegin and crtend code has been enabled by default. It has
+ had extensive testing on amd64, arm64, and i386. It can be disabled
+ by building a world with -DWITHOUT_BSD_CRTBEGIN.
+
20181115:
The set of CTM comm
Author: kib
Date: Fri Nov 23 18:15:23 2018
New Revision: 340842
URL: https://svnweb.freebsd.org/changeset/base/340842
Log:
Silence gcc warnings.
Reported by: emaste
Sponsored by: The FreeBSD Foundation
MFC after:3 days
Modified:
head/libexec/rtld-elf/amd64/reloc.c
Modified: hea
Author: cem
Date: Fri Nov 23 18:23:29 2018
New Revision: 340843
URL: https://svnweb.freebsd.org/changeset/base/340843
Log:
rtld: Silence a false positive GCC 6.4.0 warning
The function reloc_non_plt has complicated variable lifetimes that GCC 6.4.0
(the version currently used by amd64-xto
Author: cem
Date: Fri Nov 23 18:27:16 2018
New Revision: 340844
URL: https://svnweb.freebsd.org/changeset/base/340844
Log:
Revert r340843 - addressed independently in r340842!
Modified:
head/libexec/rtld-elf/Makefile
Modified: head/libexec/rtld-elf/Makefile
==
Author: manu
Date: Fri Nov 23 19:43:18 2018
New Revision: 340845
URL: https://svnweb.freebsd.org/changeset/base/340845
Log:
Derive PHY class to new one specialized for USB PHY functions.
Submitted by: mmel
Added:
head/sys/dev/extres/phy/phy_internal.h (contents, props changed)
head/s
Author: manu
Date: Fri Nov 23 19:45:11 2018
New Revision: 340847
URL: https://svnweb.freebsd.org/changeset/base/340847
Log:
a10_ehci: Always set the phy to host mode
MFC after:1 month
Modified:
head/sys/arm/allwinner/a10_ehci.c
Modified: head/sys/arm/allwinner/a10_ehci.c
===
Author: manu
Date: Fri Nov 23 19:44:26 2018
New Revision: 340846
URL: https://svnweb.freebsd.org/changeset/base/340846
Log:
aw_usbphy: Convert to usbphy subclass
Instead of routing the phy when enabling it, do the configuration
and routing in the phynode_usb_set_mode function.
While her
Author: manu
Date: Fri Nov 23 19:45:57 2018
New Revision: 340848
URL: https://svnweb.freebsd.org/changeset/base/340848
Log:
axp8xx: Rework the enable part and add the GPIOXLDO regulators
MFC after:1 month
Modified:
head/sys/arm/allwinner/axp81x.c
Modified: head/sys/arm/allwinner/axp
Author: emaste
Date: Fri Nov 23 20:29:47 2018
New Revision: 340849
URL: https://svnweb.freebsd.org/changeset/base/340849
Log:
MFC r340661 (rmacklem):
r304026 added code that started statistics gathering for an operation
before the operation number (the variable called "op") was sanity che
Author: emaste
Date: Fri Nov 23 20:31:27 2018
New Revision: 340850
URL: https://svnweb.freebsd.org/changeset/base/340850
Log:
MFC r340662 (rmacklem):
nfsm_advance() would panic() when the offs argument was negative.
The code assumed that this would indicate a corrupted mbuf chain, but
i
Author: emaste
Date: Fri Nov 23 20:32:41 2018
New Revision: 340851
URL: https://svnweb.freebsd.org/changeset/base/340851
Log:
MFC r340663 (rmacklem):
Improve sanity checking for the dircount hint argument to
NFSv3's ReaddirPlus and NFSv4's Readdir operations. The code
checked for a zero
Author: emaste
Date: Fri Nov 23 20:38:50 2018
New Revision: 340852
URL: https://svnweb.freebsd.org/changeset/base/340852
Log:
MFC r340661 (rmacklem):
r304026 added code that started statistics gathering for an operation
before the operation number (the variable called "op") was sanity che
Author: emaste
Date: Fri Nov 23 20:39:37 2018
New Revision: 340853
URL: https://svnweb.freebsd.org/changeset/base/340853
Log:
MFC r340662 (rmacklem):
nfsm_advance() would panic() when the offs argument was negative.
The code assumed that this would indicate a corrupted mbuf chain, but
i
Author: emaste
Date: Fri Nov 23 20:41:54 2018
New Revision: 340854
URL: https://svnweb.freebsd.org/changeset/base/340854
Log:
MFC r340663 (rmacklem):
Improve sanity checking for the dircount hint argument to
NFSv3's ReaddirPlus and NFSv4's Readdir operations. The code
checked for a zero
Author: emaste
Date: Fri Nov 23 21:08:11 2018
New Revision: 340855
URL: https://svnweb.freebsd.org/changeset/base/340855
Log:
MFS12 r340849, r340850, r340851:
MFC r340661 (rmacklem):
r304026 added code that started statistics gathering for an operation
before the operation number (th
Author: markj
Date: Fri Nov 23 22:24:59 2018
New Revision: 340856
URL: https://svnweb.freebsd.org/changeset/base/340856
Log:
Ensure that directory entry padding bytes are zeroed.
Directory entries must be padded to maintain alignment; in many
filesystems the padding was not initialized, r
Author: sobomax
Date: Fri Nov 23 22:36:56 2018
New Revision: 340857
URL: https://svnweb.freebsd.org/changeset/base/340857
Log:
Nuke out buffer overflow safety marker code, it duplicates similar code in
the malloc()/free() as well as having potential of softening the handling
in case error is
Author: kib
Date: Fri Nov 23 22:37:35 2018
New Revision: 340858
URL: https://svnweb.freebsd.org/changeset/base/340858
Log:
rtld: parse FreeBSD Feature Control note on the object load.
Sponsored by: The FreeBSD Foundation
MFC after:2 weeks
Modified:
head/libexec/rtld-elf/rtld.c
he
Author: kib
Date: Fri Nov 23 23:07:57 2018
New Revision: 340860
URL: https://svnweb.freebsd.org/changeset/base/340860
Log:
Provide storage for the process feature control flags in struct proc.
The flags are cleared on exec, it is up to the image activator to set
them.
Sponsored by: T
Author: markj
Date: Fri Nov 23 23:07:49 2018
New Revision: 340859
URL: https://svnweb.freebsd.org/changeset/base/340859
Log:
Ensure the dirent remains initialized when dirent.d_fileno is unset.
Reported by: rmacklem
MFC with: r340856
Sponsored by: The FreeBSD Foundation
Modified:
Author: markj
Date: Fri Nov 23 23:10:03 2018
New Revision: 340861
URL: https://svnweb.freebsd.org/changeset/base/340861
Log:
Honour the waitok parameter in kevent_expand().
Reviewed by: kib
MFC after:1 week
Sponsored by: The FreeBSD Foundation
Differential Revision:https:
Author: kib
Date: Fri Nov 23 23:16:01 2018
New Revision: 340862
URL: https://svnweb.freebsd.org/changeset/base/340862
Log:
Trivial reduction of the code duplication, reuse the return FALSE code.
Sponsored by: The FreeBSD Foundation
MFC after:2 weeks
Modified:
head/sys/kern/imgact_e
Author: kib
Date: Fri Nov 23 23:29:14 2018
New Revision: 340863
URL: https://svnweb.freebsd.org/changeset/base/340863
Log:
Generalize ELF parse_notes().
Remove the knowledge of the ABI note type and brandnote from it,
instead provide it with a callback to do note-specific matching and
d
Author: kib
Date: Fri Nov 23 23:33:55 2018
New Revision: 340864
URL: https://svnweb.freebsd.org/changeset/base/340864
Log:
Parse FreeBSD Feature Control note on the ELF image activation.
Sponsored by: The FreeBSD Foundation
MFC after:2 weeks
Modified:
head/sys/kern/imgact_elf.c
Mo
Author: mm
Date: Sat Nov 24 01:15:08 2018
New Revision: 340865
URL: https://svnweb.freebsd.org/changeset/base/340865
Log:
Update vendor/libarchive/dist to git 0e416f2fe757ad6841dbb3386a17d88b5c9f5533
Relevant vendor changes:
PR #1080: Spelling fixes
PR #1084: RAR5 reader bugfixes
P
Author: mm
Date: Sat Nov 24 01:25:45 2018
New Revision: 340866
URL: https://svnweb.freebsd.org/changeset/base/340866
Log:
MFV r340865:
Sync libarchive with vendor.
Relevant vendor changes:
PR #1080: Spelling fixes
PR #1084: RAR5 reader bugfixes
PR #1091: fix use-after-free in
Author: cy
Date: Sat Nov 24 06:49:41 2018
New Revision: 340867
URL: https://svnweb.freebsd.org/changeset/base/340867
Log:
FreeBSD 7 has been history for many moons. Remove some dead code.
MFC after:1 week
Modified:
head/sys/contrib/ipfilter/netinet/ip_fil_freebsd.c
Modified: head/sy
Author: cy
Date: Sat Nov 24 07:16:44 2018
New Revision: 340868
URL: https://svnweb.freebsd.org/changeset/base/340868
Log:
An OSF/1 ifdef makes absolutley no sense in a FreeBSD specific source
file.
MFC after:1 week
Modified:
head/sys/contrib/ipfilter/netinet/ip_fil_freebsd.c
Modified
68 matches
Mail list logo