summaryrefslogtreecommitdiffstats
path: root/share
Commit message (Collapse)AuthorAgeFilesLines
...
* Update re members to realityeadler2012-10-221-1/+1
| | | | MFC after: 3 days
* Make PFIL use per-VNET lock instead of per-AF lock. Since most used packetmelifaro2012-10-221-2/+53
| | | | | | | | | | | | | | | | | | | | | | filters (ipfw and PF) use the same ruleset with the same lock for both AF_INET and AF_INET6 there is no need in more fine-grade locking. However, it is possible to request personal lock by specifying PFIL_FLAG_PRIVATE_LOCK flag in pfil_head structure (see pfil.9 for more details). Export PFIL lock via rw_lock(9)/rm_lock(9)-like API permitting pfil consumers to use this lock instead of own lock. This help reducing locks on main traffic path. pfil_assert() is currently not implemented due to absense of rm_assert(). Waiting for some kind of r234648 to be merged in HEAD. This change is part of bigger patch reducing routing locking. Sponsored by: Yandex LLC Reviewed by: glebius, ae OK'd by: silence on net@ MFC after: 3 weeks
* Provide example for newly-added NG_NETFLOW_V9INFO_TYPEmelifaro2012-10-221-0/+2
| | | | | Submitted by: Dmitry Luhtionov <dmitryluhtionov at gmail.com> MFC with: r241446
* Add German, French, Portuguese and Spanish names for the Spanish Dvorakgavin2012-10-221-0/+4
| | | | | | keymap. MFC after: 1 week
* Remove MLINK for if_idt.kevlo2012-10-221-1/+0
| | | | Spotted by: Alie Tan <alie at affle dot com>
* Add Danish keyboard model for macbooks to syscons.eadler2012-10-223-0/+120
| | | | | | | | | (not verified to be accurate) PR: conf/146793 Submitted by: Erik Cederstrand Approved by: cperciva MFC after: 1 week
* Remove {harp,hfa,idt} man pages as they were removed in r179308.eadler2012-10-224-268/+0
| | | | | | | | PR: docs/171234 Submitted by: Martin Birgmeier <Martin.Birgmeier@aon.at> Reviewed by: rwatson Approved by: cperciva MFC after: 3 days
* Update after adding WITHOUT_ATF.marcel2012-10-221-5/+4
|
* Add ATF to the build. This is may be a bit rought around the egdes,marcel2012-10-2219-2/+740
| | | | | | | | | | | | | | | | | but committing it helps to get everyone on the same page and makes sure we make progress. Tinderbox breakages that are the result of this commit are entirely the committer's fault -- in other words: buildworld testing on amd64 only. Credits follow: Submitted by: Garrett Cooper <yanegomi@gmail.com> Sponsored by: Isilon Systems Based on work by: keramida@ Thanks to: gnn@, mdf@, mlaier@, sjg@ Special thanks to: keramida@
* Update ktr(4) to reflect changes from r239923.gjb2012-10-201-2/+10
| | | | Reviewed by: attilio
* Revert r241752. The claim that it's more correct while at the same timemarcel2012-10-201-5/+4
| | | | causing a build breakage is interesting to say the least.
* Apply local patches to mandoc and connect it to the build.uqs2012-10-201-0/+2
| | | | | | - adds a couple more library strings used in the tree - changes some more to the current groff spelling - changes page footer to match groff style
* - KTR_ENTRIES may be an arbitrary number, remove the sentence aboutkevlo2012-10-201-5/+2
| | | | | | | power of two. - Mention the run time mask is set to block any tracing by default. Reviewed by: jhb
* Improve upon the previous commit to fix the yacc rule.marcel2012-10-191-4/+5
| | | | | | | | | 1. Have the resulting C file depend on the resulting H file as it should be. Touch the C file to make sure the C file is newer than the H file to keep make happy. 2. Apply the same fix to the other instance of .ORDER, missed in the previous commit.
* Fix minor whitespace issues.joel2012-10-191-3/+3
|
* est(4) man page update to document the exposed sysctl r/o variablessbruno2012-10-181-2/+25
| | | | | | | | | | available to the user. Should be applicable to all branches and versions where est(4) exists. thanks to gjb for reviewing and suggesting nits Reviewed by: gjb@ MFC after: 2 weeks
* Document NetBSD 6.0pluknet2012-10-181-0/+3
|
* Disconnect non-MPSAFE SMBFS from the build in preparation for droppingattilio2012-10-183-3/+0
| | | | | | | | | | | | | GIANT from VFS. In addition, disconnect also netsmb, which is a base requirement for SMBFS. In the while SMBFS regular users can use FUSE interface and smbnetfs port to work with their SMBFS partitions. Also, there are ongoing efforts by vendor to support in-kernel smbfs, so there are good chances that it will get relinked once properly locked. This is not targeted for MFC.
* Disconnect non-MPSAFE NTFS from the build in preparation for droppingattilio2012-10-172-3/+0
| | | | | | | | | | | | | | GIANT from VFS. This code is particulary broken and fragile and other in-kernel implementations around, found in other operating systems, don't really seem clean and solid enough to be imported at all. If someone wants to reconsider in-kernel NTFS implementation for inclusion again, a fair effort for completely fixing and cleaning it up is expected. In the while NTFS regular users can use FUSE interface and ntfs-3g port to work with their NTFS partitions. This is not targeted for MFC.
* Disconnect non-MPSAFE NWFS from the build in preparation for droppingattilio2012-10-175-15/+0
| | | | | | | | | | | | GIANT from VFS. In addition, disconnect also netncp, which is a base requirement for NWFS. In the possibility of a future maintenance of the code and later readd to the FreeBSD base, maybe we should think about a better location for netncp. I'm not entirely sure the / top location is actually right, however I will let network people to comment on that more specifically. This is not targeted for MFC.
* Disconnect non-MPSAFE CODAFS from the build in preparation for droppingattilio2012-10-161-1/+0
| | | | | | GIANT from VFS. This is not targeted for MFC.
* Disconnect non-MPSAFE XFS from the build in preparation for droppingattilio2012-10-161-2/+1
| | | | | | GIANT from VFS. This is not targeted for MFC.
* Disconnect non-MPSAFE PORTALFS from the build in preparation for droppingattilio2012-10-164-10/+2
| | | | | | GIANT from VFS. This is not targeted for MFC.
* Add a bunch more example completions.eadler2012-10-161-14/+84
| | | | | | Submitted by: wblock Approved by: cperciva (implicit) MFC after: 3 days
* Add my new association with bcr and jkois.eadler2012-10-151-0/+3
| | | | | | Thanks! MFC after: 3 days
* Bump .Ddeadler2012-10-141-1/+1
| | | | Approved by: joel
* Don't document the PORTSSUPFILE variable. Even though this still works,eadler2012-10-141-8/+0
| | | | | | | try to discourage users from depending on it. Approved by: joel MFC after: 3 days
* Minor mdoc improvements. Also remove unnecessary csup reference.joel2012-10-141-4/+3
|
* - Regen after GNU sort removalgabor2012-10-131-4/+1
|
* - Remove WITH_GNU_SORT supportgabor2012-10-131-1/+0
|
* Add forgotten documentation for new NGM_NETFLOW_V9INFO message.melifaro2012-10-131-0/+3
| | | | | Submitted by: Dmitry Luhtionov <dmitryluhtionov at gmail.com> MFC with: r241446
* Fix type in last commit.glebius2012-10-121-1/+1
| | | | Submitted by: brueffer
* Be more explicit on how "intact" incoming packets in raw sockets are.glebius2012-10-121-2/+6
|
* Remove whitespace.joel2012-10-122-4/+3
|
* Since the moduledata structure member priv is a void pointer, usingkevlo2012-10-121-1/+1
| | | | NULL instead of 0 when dealing with pointers.
* Virtio SCSI drivergrehan2012-10-113-0/+99
| | | | | Submitted by: Bryan Venteicher bryanv at daemoninthecloset dot org Reviewed by: grehan
* Decode the first two fstab fields with strunvis(3). This allows having spacesstefanf2012-10-111-1/+10
| | | | | | | | in devices and mount paths, encoded as \s or \040. PR: bin/117687 Submitted by: Martin Kammerhofer Discussed on: arch
* Add man pages for nvme(4) and nvd(4).jimharris2012-10-103-0/+270
| | | | | Sponsored by: Intel Reviewed by: joel
* WITH_CTF is now a "normal" build option (WITHOUT_CTF is supported andjhb2012-10-101-7/+1
| | | | | | MK_CTF is used internally). Reviewed by: fjoe
* Revert previous commit...kevlo2012-10-103-3/+3
| | | | Pointyhat to: kevlo (myself)
* Prefer NULL over 0 for pointerskevlo2012-10-093-3/+3
|
* Add support for bmake. This includes:marcel2012-10-066-4/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Don't do upgrade_checks when using bmake. As long as we have WITH_BMAKE, there's a bootstrap complication in ths respect. Avoid it. Make the necessary changes to have upgrade_checks work wth bmake anyway. 2. Remove the use of -E. It's not needed in our build because we use ?= for the respective variables, which means that we'll take the environment value (if any) anyway. 3. Properly declare phony targets as phony as bmake is a lot smarter (and thus agressive) about build avoidance. 4. Make sure CLEANFILES is complete and use it on .NOPATH. bmake is a lot smarter about build avoidance and should not find files we generate in the source tree. We should not have files in the repository we want to generate, but this is an easier way to cross this hurdle. 5. Have behavior under bmake the same as it is under make with respect to halting when sub-commands fail. Add "set -e" to compound commands so that bmake is informed when sub-commands fail. 6. Make sure crunchgen uses the same make as the rest of the build. This is important when the make utility isn't called make (but bmake for example). 7. While here, add support for using MAKEOBJDIR to set the object tree location. It's the second alternative bmake looks for when determining the actual object directory (= .OBJDIR). Submitted by: Simon Gerraty <sjg@juniper.net> Submitted by: John Van Horne <jvanhorne@juniper.net>
* Update to include WITH_BMAKE.marcel2012-10-061-2/+11
|
* Add bmake to the build and allow it to be installed as make(1) insteadmarcel2012-10-061-0/+1
| | | | | | | | of FreeBSD's make by setting WITH_BMAKE. The WITH_BMAKE build makes it easy for people to switch while working out the kinks -- think ports tree here. The option will be removed in due time. Submitted by: Simon Gerraty (sjg@juniper.net)
* A step in resolving mess with byte ordering for AF_INET. After this change:glebius2012-10-061-4/+3
| | | | | | | | | | | | | | | | | | | - All packets in NETISR_IP queue are in net byte order. - ip_input() is entered in net byte order and converts packet to host byte order right _after_ processing pfil(9) hooks. - ip_output() is entered in host byte order and converts packet to net byte order right _before_ processing pfil(9) hooks. - ip_fragment() accepts and emits packet in net byte order. - ip_forward(), ip_mloopback() use host byte order (untouched actually). - ip_fastforward() no longer modifies packet at all (except ip_ttl). - Swapping of byte order there and back removed from the following modules: pf(4), ipfw(4), enc(4), if_bridge(4). - Swapping of byte order added to ipfilter(4), based on __FreeBSD_version - __FreeBSD_version bumped. - pfil(9) manual page updated. Reviewed by: ray, luigi, eri, melifaro Tested by: glebius (LE), ray (BE)
* Implement SATA revision (speed) control for legacy SATA controller formav2012-10-021-2/+8
| | | | | | | both boot (via loader tunables) and run-time (via `camcontrol negotiate`). Tested to work at least on NVIDIA MCP55 chipset. H/w provided by: glebius
* Indicate (loudly) that ports csup is going away.eadler2012-10-011-6/+13
| | | | | | | While here clarify some other portions. Approved by: cperciva (implicit) MFC after: 3 days
* mdoc: remove superfluous paragraph macro.joel2012-09-301-1/+0
|
* Give a clue how to force tcpdump(8) to interpret correctly CARP packets.glebius2012-09-291-1/+15
|
* The drbr(9) API appeared to be so unclear, that most drivers inglebius2012-09-282-20/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tree used it incorrectly, which lead to inaccurate overrated if_obytes accounting. The drbr(9) used to update ifnet stats on drbr_enqueue(), which is not accurate since enqueuing doesn't imply successful processing by driver. Dequeuing neither mean that. Most drivers also called drbr_stats_update() which did accounting again, leading to doubled if_obytes statistics. And in case of severe transmitting, when a packet could be several times enqueued and dequeued it could have been accounted several times. o Thus, make drbr(9) API thinner. Now drbr(9) merely chooses between ALTQ queueing or buf_ring(9) queueing. - It doesn't touch the buf_ring stats any more. - It doesn't touch ifnet stats anymore. - drbr_stats_update() no longer exists. o buf_ring(9) handles its stats itself: - It handles br_drops itself. - br_prod_bytes stats are dropped. Rationale: no one ever reads them but update of a common counter on every packet negatively affects performance due to excessive cache invalidation. - buf_ring_enqueue_bytes() reduced to buf_ring_enqueue(), since we no longer account bytes. o Drivers handle their stats theirselves: if_obytes, if_omcasts. o mlx4(4), igb(4), em(4), vxge(4), oce(4) and ixv(4) no longer use drbr_stats_update(), and update ifnet stats theirselves. o bxe(4) was the most correct driver, it didn't call drbr_stats_update(), thus it was the only driver accurate under moderate load. Now it also maintains stats itself. o ixgbe(4) had already taken stats from hardware, so just - drop software stats updating. - take multicast packet count from hardware as well. o mxge(4) just no longer needs NO_SLOW_STATS define. o cxgb(4), cxgbe(4) need no change, since they obtain stats from hardware. Reviewed by: jfv, gnn
OpenPOWER on IntegriCloud