Andrew Rybchenko
75fed2ce6f
sfxge(4): fix invalid type of eft_unicst_filter_count
...
Found by clang when boolean_t is defined as bool for DPDK PMD.
Sponsored by: Solarflare Communications, Inc.
MFC after: 2 days
2016-12-28 16:28:09 +00:00
Andrew Rybchenko
80d051ee13
sfxge(4): do not initialize enumerated type variable to another type
...
Fix build warning generated by ICC.
Sponsored by: Solarflare Communications, Inc.
MFC after: 2 days
2016-12-28 16:21:46 +00:00
Luiz Otavio O Souza
1e93588b1d
Fix the parsing of NPt binat rules.
...
In this specific case the src address can be set to any, which was not
accepted prior to this commit.
pfSense bug report: https://redmine.pfsense.org/issues/6985
Reviewed by: kp
Obtained from: pfSense
MFC after: 2 weeks
Sponsored by: Rubicon Communications, LLC (Netgate)
2016-12-28 16:16:48 +00:00
Pedro F. Giffuni
a86fdf887e
Undo small wrong style change.
...
Reported by: kib
2016-12-28 16:16:36 +00:00
Pedro F. Giffuni
bf9a211dff
style(9) cleanups.
...
Just to reduce some of the issues found with indent(1).
MFC after: 1 week
2016-12-28 15:43:17 +00:00
Andrew Rybchenko
406b8d7d9b
sfxge(4): translate MC_CMD_ERR_ERANGE to host errno value
...
This is needed because MCDI command MC_CMD_REKEY can return
MC_CMD_ERR_ERANGE.
Submitted by: Tom Millington <tmillington at solarflare.com>
Sponsored by: Solarflare Communications, Inc.
MFC after: 2 days
2016-12-28 15:24:44 +00:00
Alexander Motin
dc55467f7e
Pass proper arguments (handles, not directly structure pointers) to
...
scif_cb_domain_device_removed().
This should fix NULL dereference on task management function timeout.
Reviewed by: jimharris
MFC after: 2 weeks
2016-12-28 14:50:39 +00:00
Ed Maste
657ecb7617
btxldr: process all PT_LOAD segments, not just the first two
...
With default settings GNU ld generates two PT_LOADs for loader.sym while
LLD generates three, because it creates a rodata segment. Previously
btxldr terminated phdr processing after two PT_LOADs. Remove the early
termination to process all PT_LOADs.
Reviewed by: kib, tsoome
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D8929
2016-12-28 14:25:04 +00:00
Ruslan Bukin
f73b677d04
o Fix style.
...
o Remove set but not used variable.
Sponsored by: DARPA, AFRL
2016-12-28 14:10:33 +00:00
Alexander Kabaev
1b664b2eea
Be more conservative when enabling write-combining on MIPS
...
Some MIPS revisions do implement uncached-accelerate caching
attribute, but place extra requirement on access, such as
partial-word or out-of-sequence writes potentially having an
“unpredictable” effects.
2016-12-28 13:48:00 +00:00
Andrew Rybchenko
c75d636205
sfxge(4): rename hunt_bist_* methods to ef10_bist_*
...
Submitted by: Mark Spender <mspender at solarflare.com>
Sponsored by: Solarflare Communications, Inc.
MFC after: 2 days
2016-12-28 13:28:44 +00:00
Marcelo Araujo
e9d2c20108
Print hostcache usage counts with TCP statistics.
...
PR: 196252
Submitted by: Anton Yuzhaninov <citrin+pr@citrin.ru>
MFC after: 3 weeks.
2016-12-28 13:11:22 +00:00
Andrew Rybchenko
3222b9de29
sfxge(4): cleanup: improve prefast annotations
...
Submitted by: Andy Moreton <amoreton at solarflare.com>
Sponsored by: Solarflare Communications, Inc.
MFC after: 2 days
2016-12-28 11:43:11 +00:00
Andrew Rybchenko
1f4bb1bd2a
sfxge(4): fix defined-but-not-used warning if neither VPD nor NVRAM opt enabled
...
Sponsored by: Solarflare Communications, Inc.
MFC after: 2 days
2016-12-28 11:28:16 +00:00
Andrew Rybchenko
56ec54c70f
sfxge(4): cleanup: add missing spaces
...
Found by DPDK checkpatch.sh
Sponsored by: Solarflare Communications, Inc.
MFC after: 2 days
2016-12-28 11:25:17 +00:00
Andrew Rybchenko
98a9ac91f0
sfxge(4): cleanup: avoid unspecified unsigned
...
Found by DPDK checkpatch.sh
Sponsored by: Solarflare Communications, Inc.
MFC after: 2 days
2016-12-28 11:19:54 +00:00
Andrew Rybchenko
60cf15c592
sfxge(4): enclose macro complex value in parenthesis
...
Found by DPDK checkpatches.sh
Sponsored by: Solarflare Communications, Inc.
MFC after: 2 days
2016-12-28 11:11:15 +00:00
Andrew Rybchenko
09b3e655d5
sfxge(4): make strings array pointer itself immutable
...
Found by DPDK checkpatches.sh
Sponsored by: Solarflare Communications, Inc.
MFC after: 2 days
2016-12-28 11:09:45 +00:00
Andrew Rybchenko
a260bd77cf
sfxge(4): cleanup: add const qualifier to const array pointer
...
Sponsored by: Solarflare Communications, Inc.
MFC after: 2 days
2016-12-28 11:07:34 +00:00
Andrew Rybchenko
69621b26c0
sfxge(4): cleanup: avoid spaces before TAB
...
Found by DPDK checkpatch.sh
Sponsored by: Solarflare Communications, Inc.
MFC after: 2 days
2016-12-28 11:04:36 +00:00
Andrew Rybchenko
b99afef3b3
sfxge(4): cleanup: avoid space just before TAB in efx_types.h
...
Found by DPDK checkpatch.sh
Sponsored by: Solarflare Communications, Inc.
MFC after: 2 days
2016-12-28 11:03:06 +00:00
Andrew Rybchenko
01a6119ccf
sfxge(4): cleanup: use TAB to indent
...
Found by DPDK checkpatch.sh
Sponsored by: Solarflare Communications, Inc.
MFC after: 2 days
2016-12-28 11:01:01 +00:00
Andrew Rybchenko
6b3fab1a53
sfxge(4): cleanup: add missing space between type and pointer symbol
...
Found by DPDK checkpatch.sh
Sponsored by: Solarflare Communications, Inc.
MFC after: 2 days
2016-12-28 10:53:53 +00:00
Andrew Rybchenko
bf42516d2c
sfxge(4): cleanup: open brace should be on a type name line
...
Found by DPDK checkpatch.sh
Sponsored by: Solarflare Communications, Inc.
MFC after: 2 days
2016-12-28 10:52:04 +00:00
Andrew Rybchenko
5e9a2dc5d6
sfxge(4): cleanup: remove trailing whitespaces
...
Found by DPDK checkpatch.sh
Sponsored by: Solarflare Communications, Inc.
MFC after: 2 days
2016-12-28 10:49:41 +00:00
Andrew Rybchenko
fe497b15a1
sfxge(4): cleanup: pointer symbol should go together with struct member name
...
Found by DPDK checkpatch.sh
Sponsored by: Solarflare Communications, Inc.
MFC after: 2 days
2016-12-28 10:48:15 +00:00
Andrew Rybchenko
75b16fa082
sfxge(4): cleanup: avoid C99 // comments
...
Found by DPDK checkpatch.sh
Sponsored by: Solarflare Communications, Inc.
MFC after: 2 days
2016-12-28 10:47:04 +00:00
Andrew Rybchenko
1e57660f86
sfxge(4): cleanup: remove unnecessary spaces
...
Found by DPDK checkpatch.sh
Sponsored by: Solarflare Communications, Inc.
MFC after: 2 days
2016-12-28 10:45:14 +00:00
Andrew Rybchenko
2910c2465f
sfxge(4): cleanup: use spaces around binary arithmetic operations
...
Found by DPDK checkpatch.sh
Sponsored by: Solarflare Communications, Inc.
MFC after: 2 days
2016-12-28 10:44:03 +00:00
Andrew Rybchenko
6d4e783ecb
sfxge(4): cleanup: fix wrong indent
...
Found by DPDK checkpatch.sh
Sponsored by: Solarflare Communications, Inc.
MFC after: 2 days
2016-12-28 10:43:04 +00:00
Andrew Rybchenko
85365dfcbf
sfxge(4): cleanup: remove trailing whitespace
...
Sponsored by: Solarflare Communications, Inc.
MFC after: 2 days
2016-12-28 10:40:21 +00:00
Andrew Rybchenko
62b5fe03b9
sfxge(4): cleanup: fix typo in siena_mac_loopback_set() instrumentation
...
Sponsored by: Solarflare Communications, Inc.
MFC after: 2 days
2016-12-28 10:39:11 +00:00
Andriy Voskoboinyk
fdf6944b35
rum.4, run.4, runfw.4, zyd.4: do not install when MK_USB == no.
...
While here, add missing if_rtwn_usb.4.gz symlink into
OptionalObsoleteFiles.inc
2016-12-28 09:32:02 +00:00
Enji Cooper
c3f095c6da
Fix the build by moving the initializers for len/nswapdev down below the
...
declarations
MFC after: 3 days
Pointyhat to: ngie
2016-12-28 08:11:41 +00:00
Michal Meloun
4642c8c5ea
Limit number of stripes supported by HDA codec to maximum number
...
announced by HDA controller.
Incorrectly implermented HDA codec may report support for more stripes
that HDA controller already have. Due to this, always limit number of
enabled stripes by global controller maximum.
Reviewed by: mav
MFC after: 1 month
Differential Revision: https://reviews.freebsd.org/D8922
2016-12-28 07:37:26 +00:00
Enji Cooper
c5cf639fd9
style(9): clean up whitespace
...
MFC after: 3 days
2016-12-28 06:10:58 +00:00
Enji Cooper
2229fa01bc
style(9) fixes: clean up leading whitespace
...
MFC after: 3 days
2016-12-28 05:43:14 +00:00
Enji Cooper
6ebc234490
style(9) fixes: clean up leading whitespace
...
MFC after: 3 days
2016-12-28 05:42:41 +00:00
Enji Cooper
c4648c7562
style(9) fixes
...
- Clean up trailing whitespace
- Fix variable type alignment in storage_OS_get_swap(..)
MFC after: 3 days
2016-12-28 05:41:53 +00:00
Enji Cooper
4568bf74f4
Only build/install usr.sbin/bsnmpd/modules/snmp_hast if MK_HAST != no
...
MFC after: 1 week
2016-12-28 05:21:22 +00:00
Enji Cooper
38bf4fd787
Only build/install usr.sbin/bsnmpd/modules/snmp_wlan if MK_WIRELESS != no
...
MFC after: 1 week
2016-12-28 05:16:41 +00:00
Enji Cooper
b3972edb64
style(9): ip_get(..): clean up whitespace
...
MFC after: 3 days
2016-12-28 05:05:08 +00:00
Enji Cooper
700d391fb8
style(9): snmp_send_packet(..): fix whitespace
...
MFC after: 3 days
2016-12-28 04:56:15 +00:00
Ed Maste
62652acf3a
loader: use strip -o instead of cp and strip in place
...
It is simpler and cleaner to have strip produce the stripped output
directly than copying the input to the output first.
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
2016-12-28 04:55:43 +00:00
Enji Cooper
bc54857ed0
style(9): fix whitespace in pdu_encode_secparams(..)
...
MFC after: 3 days
2016-12-28 04:53:52 +00:00
Sepherosa Ziehau
f1b0a43ff6
hyperv/hn: Factor out function to set rxfilter.
...
MFC after: 1 week
Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D8928
2016-12-28 04:47:17 +00:00
Sepherosa Ziehau
c08f7b2c28
hyperv/hn: Function renaming; no functional changes.
...
MFC after: 1 week
Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D8908
2016-12-28 04:35:52 +00:00
Enji Cooper
5120d21c63
style(9): sort alignment in udp_recv(..)
...
MFC after: 3 weeks
2016-12-28 04:31:07 +00:00
Enji Cooper
8d7f605b6c
Fix bsnmpd sending/receiving with multi-homed configurations or INADDR_ANY used
...
as the listening address in snmpd_input(..)
Stash the IPv4 address of the receiver via the recv(..) callback and use it in
the send(..) callback for the transport by specifying IP_SENDSRCADDR for the
control message type.
Add sendmsg logic to the UDP transport's send(..) callback and use the
respective send(..) callback for the transport instead of calling sendto in
snmpd_input(..).
MFC after: 3 weeks
Obtained from: Isilon OneFS (^/onefs/branches/BR_8_0_0_DEV@r507595)
Submitted by: Thor Steingrimsson <thor.steingrimsson@isilon.com>
Sponsored by: Dell EMC Isilon
2016-12-28 04:29:09 +00:00
Enji Cooper
f66b889d00
Install snmpmod.3 as all of the bsnmpd APIs it documents
...
MFC after: 3 days
2016-12-28 03:56:25 +00:00