summaryrefslogtreecommitdiffstats
path: root/usr.sbin/iovctl
Commit message (Collapse)AuthorAgeFilesLines
* META MODE: Update dependencies with 'the-lot' and add missing directories.bdrewery2015-12-011-0/+21
| | | | | | | | | | | | | | This is not properly respecting WITHOUT or ARCH dependencies in target/. Doing so requires a massive effort to rework targets/ to do so. A better approach will be to either include the SUBDIR Makefiles directly and map to DIRDEPS or just dynamically lookup the SUBDIR. These lose the benefit of having a userland/lib, userland/libexec, etc, though and results in a massive package. The current implementation of targets/ is very unmaintainable. Currently rescue/rescue and sys/modules are still not connected. Sponsored by: EMC / Isilon Storage Division
* Replace use of .Po Pc with the preferred .Pq for single linepkelsey2015-07-082-6/+6
| | | | | | | | | enclosures in iovctl.conf(5), iovctl(8), pci(9), and pci_iov_schema(9). Differential Revision: https://reviews.freebsd.org/D3000 Reviewed by: wblock Approved by: jmallett (mentor)
* Fix range upper bound for uint32_t and uint64_t, and reformat rangepkelsey2015-07-061-5/+9
| | | | | | | | | description for uint8_t, uint16_t, uint32_t, and uint64_t. Differential Revision: https://reviews.freebsd.org/D2988 Reviewed by: rstone, wblock Approved by: jmallett (mentor) Sponsored by: Norse Corp, Inc.
* Let the nv.h and dnv.h includes be only in sys directory.oshogbo2015-07-023-5/+5
| | | | | | | Change consumers to include those files from sys. Add duplicated files to ObsoleteFiles. Approved by: pjd (mentor)
* Approved, oprócz użycie RESTORE_ERRNO() do ustawiania errno.oshogbo2015-05-021-1/+1
| | | | | | | | | | | | | | | | | Change the nvlist_recv() function to take additional argument that specifies flags expected on the received nvlist. Receiving a nvlist with different set of flags than the ones we expect might lead to undefined behaviour, which might be potentially dangerous. Update consumers of this and related functions and update the tests. Approved by: pjd (mentor) Update man page for nvlist_unpack, nvlist_recv, nvlist_xfer, cap_recv_nvlist and cap_xfer_nvlist. Reviewed by: AllanJude Approved by: pjd (mentor)
* Fix minor mdoc issues.joel2015-04-241-3/+3
|
* Correct a typo.rstone2015-03-011-1/+1
| | | | X-MFC-With: r279458
* Add main() for iovctl and hook iovctl into buildrstone2015-03-013-0/+457
| | | | | | | Differential Revision: https://reviews.freebsd.org/D87 Reviewed by: jhb MFC after: 1 month Sponsored by: Sandvine Inc.
* Add functions for parsing the iovctl config filerstone2015-03-011-0/+416
| | | | | | | | | | | | | | | | | | | | | Add two functions for parsing the iovctl config file. The config file is parsed using libucl[1], which accepts most YAML files and a superset of JSON. The first function is an ad-hoc parser that searches the file for the PF.DEVICE configuration value. We need to know that value in order to fetch the schema from the kernel, and we need the schema in order to be able to fully parse the file. The second function parses the config file and validates it against a schema. This function will exit with an error message if any validation error occurs. If it succeeds, the configuration is returned as an nvlist suitable for passing to the kernel. [1] https://github.com/vstakhov/libucl Differential Revision: https://reviews.freebsd.org/D86 Reviewed by: jhb MFC after: 1 month Sponsored by: Sandvine Inc.
* Add iovctl functions for validating configrstone2015-03-011-0/+274
| | | | | | | | | | | | | | Add an function to iovctl that validates the configuration against a schema. This function is able to assume that the parser has done most of the validation already and it's only responsible for applying default VF values specified in the config file, confirming that all required parameters have been set and that no invalid VF numbers have been specified. Differential Revision: https://reviews.freebsd.org/D85 Reviewed by: bcr MFC after: 1 month Sponsored by: Sandvine Inc.
* Add manpage documenting iovctl config file format.rstone2015-03-011-0/+167
| | | | | | | Differential Revision: https://reviews.freebsd.org/D84 Reviewed by: emaste, bcr, wblock MFC after: 1 month Sponsored by: Sandvine Inc.
* Add a manpage for iovctl(8)rstone2015-03-011-0/+123
Differential Revision: https://reviews.freebsd.org/D83 Reviewed by: wblock MFC after: 1 month Sponsored by: Sandvine Inc.
OpenPOWER on IntegriCloud