| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
vxlan creates a virtual LAN by encapsulating the inner Ethernet frame in
a UDP packet. This implementation is based on RFC7348.
Currently, the IPv6 support is not fully compliant with the specification:
we should be able to receive UPDv6 packets with a zero checksum, but we
need to support RFC6935 first. Patches for this should come soon.
Encapsulation protocols such as vxlan emphasize the need for the FreeBSD
network stack to support batching, GRO, and GSO. Each frame has to make
two trips through the network stack, and each frame will be at most MTU
sized. Performance suffers accordingly.
Some latest generation NICs have begun to support vxlan HW offloads that
we should also take advantage of. VIMAGE support should also be added soon.
Differential Revision: https://reviews.freebsd.org/D384
Reviewed by: gnn
Relnotes: yes
|
| |
|
|
|
|
|
|
| |
* Rename 'read' variable.
Pointed by: luigi
|
|
|
|
|
|
| |
* Simplify formatting.
Suggested by: luigi
|
|
|
|
|
| |
equivalent to -W and -t options of ping(8). Different letters are used
because both have already been used for another purposes in ping6(8).
|
|
|
|
| |
Found by: Oleg Ginzburg
|
|
|
|
|
|
| |
* Report error and return non-zero exit code if zeroing non-matched entries
Found by: Oleg Ginzburg
|
|
|
|
|
|
|
| |
Differential Revision: https://reviews.freebsd.org/D931
Reviewed by: wblock@
MFC after: 3 days
Sponsored by: The FreeBSD Foundation
|
|
|
|
| |
Pointed by: bz
|
|
|
|
|
|
|
| |
side-effect. The specified file should exist before the fstab line.
Reported by: wblock (long time ago)
MFC after: 1 day
|
|\ |
|
| |
| |
| |
| |
| |
| | |
Also change default disk name to ada.
MFC after: 3 weeks
|
| |
| |
| |
| | |
* Fix showing human-readable error in table cmds code.
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
we can't easily predict (in current parsing model)
if the keyword is ipfw(8) reserved keyword or port name.
Checking proto database via getprotobyname() consumes a lot of
CPU and leads to tens of seconds for parsing large ruleset.
Use list of reserved keywords and check them as pre-requisite
before doing getprotobyname().
Obtained from: Yandex LLC
|
| | |
|
| | |
|
| | |
|
|\ \
| |/ |
|
| |
| |
| |
| | |
Pointed out by: glebius
|
| |
| |
| |
| | |
backward compatibility with old ifconfig(8).
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
if_lagg(4) interfaces which were cloned in a vnet jail.
Sysctl nodes which are dynamically generated for each cloned interface
(net.link.lagg.N.*) have been removed, and use_flowid and flowid_shift
ifconfig(8) parameters have been added instead. Flags and per-interface
statistics counters are displayed in "ifconfig -v".
CR: D842
|
| |
| |
| |
| | |
Add missing library dependencies.
|
| |
| |
| |
| |
| | |
Reviewed by: mjg
MFC after: 2 weeks
|
| |
| |
| |
| |
| | |
Suggested by: mjg
MFC after: 2 weeks
|
| |
| |
| |
| |
| |
| |
| |
| | |
Check errno and handle it as invalid input.
Obtained from: HardenedBSD
Submitted by: David CARLIER <devnexen@gmail.com>
MFC after: 2 weeks
|
| |
| |
| |
| | |
MFC after: 2 months
|
| | |
|
| |
| |
| |
| |
| |
| | |
query from a remote machine, and disable accepting it by default. This
requests a routed(8) daemon to dump routing information base for debugging
purpose. An -i flag to enable it has been added.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
and (T < RTT).
- Use select(2) for timeout instead of interval timer. Remove poll(2) support.
- Use sigaction(2) instead of signal(3).
- Exit in SIGINT handler when two signals are received and doing reverse DNS
lookup as ping(8) does.
- Remove redundant variables used for getaddrinfo(3).
PR: 151023
|
| |
| |
| |
| |
| |
| | |
infinite loop if no reply packet is received.
PR: 151023
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The FreeBSD is the only system that has the FEC protocol, that is a simple alias
to loadbalance protocol and does not implement the ancient Cisco FEC standard.
From now on, we remove the fec protocol from the documentation and keep the FEC
code only for compatibility.
Phabric: D539
Reviewed by: glebius, thompsa
Approved by: glebius
Sponsored by: QNAP Systems Inc.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
group
and receives frames on any port of the lagg(4).
Phabric: D549
Reviewed by: glebius, thompsa
Approved by: glebius
Obtained from: OpenBSD
Sponsored by: QNAP Systems Inc.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
a FILE* leak in getbounds().
Submitted by: Conrad Meyer <conrad.meyer@isilon.com>
PR: 192032
Sponsored by: EMC / Isilon Storage Division
MFC after: 1 week
|
| |
| |
| |
| |
| |
| |
| | |
This will be used in the forthcoming vxlan import.
Reviewed by: gnn
Phabric: https://reviews.freebsd.org/D382
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
devq_openings counter lost its meaning after allocation queues has gone.
held counter is still meaningful, but problematic to update due to separate
locking of CCB allocation and queuing.
To fix that replace devq_openings counter with allocated counter. held is
now calculated on request as difference between number of allocated, queued
and active CCBs.
MFC after: 1 month
|
| |
| |
| |
| |
| | |
MFC with: r270064
Sponsored by: Yandex LLC
|
| |
| |
| |
| |
| |
| |
| |
| | |
sysctl(8) binary to format it.
Reviewed by: emaste
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D771
|
| |
| |
| |
| | |
size_t instead of an int.
|
| |
| |
| |
| | |
Submitted by: avg
|
| |
| |
| |
| |
| |
| |
| |
| | |
This occurred when a file was >892kB long and had a large data (>1kB)
in the extended attributes.
Reported by: Masashi Toriumi
Reviewed by: mckusick
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
It affects the IPv6 source address selection algorithm (RFC 6724)
and allows override the last rule ("longest matching prefix") for
choosing among equivalent addresses. The address with `prefer_source'
will be preferred source address.
Obtained from: Yandex LLC
MFC after: 1 month
Sponsored by: Yandex LLC
|
| |
| |
| |
| | |
Sponsored by: Yandex LLC
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Kernel changes:
* Split kernel/userland nat structures eliminating IPFW_INTERNAL hack.
* Add IP_FW_NAT44_* codes resemblin old ones.
* Assume that instances can be named (no kernel support currently).
* Use both UH+WLOCK locks for all configuration changes.
* Provide full ABI support for old sockopts.
Userland changes:
* Use IP_FW_NAT44_* codes for nat operations.
* Remove undocumented ability to show ranges of nat "log" entries.
|
| | |
|
| |
| |
| |
| | |
Suggested by: Steven Hartland at killing@multiplay.co.uk.
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
on "ifconfig -v". I've seen no measurable timing difference
for doing additional SIOCGI2C call for system with 4k vlans.
* Determine appropriate handler (SFP/QSFP) by reading identification
byte (which is the same for both SFF-8472 and SFF-8436) instead
of checking driver name.
MFC with: r270064
Sponsored by: Yandex LLC
|
| |
| |
| |
| | |
Approved by: pjd@
|