summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Sync some changes for ixgbe_initialize_receive_unitsmikeb2016-11-181-8/+8
| | | | | | Call a chip specific method to disable RX unit; DPF (Drop [Unicast] Pause Frames) and PMCF (Pass MAC Control Frames) bits should only be enabled on 82598 since others don't document them.
* Recognize active SPF+ DA modules as IFM_10G_SFP_CUmikeb2016-11-181-5/+6
| | | | Reported and tested by Hrvoje Popovski, thanks!
* Make switchd(8) use more strings just like tcpdump(8). While here removerzalamena2016-11-181-73/+67
| | | | action field display from features request.
* import from OpenSSL;schwarze2016-11-182-1/+137
| | | | the referenced CRYPTO_get_ex_new_index(3) will follow shortly
* Copyright and license.schwarze2016-11-185-11/+251
|
* Add Copyright and license.schwarze2016-11-181-12/+55
| | | | | | Mention that BIO_set_fd(3) and BIO_get_fd(3) are macros. Delete off-topic sentences about the return values of BIO_seek(3), BIO_reset(3), and BIO_tell(3).
* Add Copyright and license.schwarze2016-11-181-2/+51
| | | | Bring in one clarifying sentence from OpenSSL.
* Add Copyright and license.schwarze2016-11-181-28/+105
| | | | | In the SYNOPSIS, provide prototypes rather than #define directives. Bring in improvements to the EXAMPLES section from OpenSSL.
* Add Copyright and license.schwarze2016-11-181-4/+75
| | | | Bring in a bug fix and the new RETURN VALUES section from OpenSSL.
* Add support for printing the missing OpenFlow set-queue action.rzalamena2016-11-181-2/+17
|
* Add Copyright and license.schwarze2016-11-181-3/+54
| | | | Bring in two clarifying sentences from OpenSSL.
* Add Copyright and license.schwarze2016-11-181-7/+60
| | | | | Document that BIO_free(3), BIO_vfree(3), and BIO_free_all(3) accept NULL. Delete the useless statement that void functions return no value.
* Don't print the field 'actions' on features reply, because in the newrzalamena2016-11-181-3/+3
| | | | OpenFlow 1.3.5 it is a reserved field that is not being used.
* miss_send_len can also be a CONTROLLER_MAXLEN string not just a number.reyk2016-11-181-3/+5
| | | | Requested by rzalamena@
* Updates tcpdump's OpenFlow printer to use the string maps from switchdreyk2016-11-184-88/+586
| | | | | | (manually synced). Also make the output a bit more like other printers. OK rzalamena@
* Fix end of interrupt routine to make pciide(4) work.visa2016-11-181-4/+2
| | | | Clue stick from miod@
* Define a group_id map and rename the defines accordingly.reyk2016-11-184-11/+13
| | | | Requested by rzalamena@
* Define constmap in ofp_map.h to be shared along with ofp_map.creyk2016-11-184-16/+12
|
* Remove leading _ from include guards as this violates the reserved space.reyk2016-11-183-12/+12
|
* Fix a panic introduced with the memory leak correction. Use the savedrzalamena2016-11-181-15/+22
| | | | | | | length instead of the packet instruction length to free the old instruction. ok reyk@
* Add support for multiple listening socketsjca2016-11-185-51/+87
| | | | | | One can now specify multiple "listen on" statements. The default is to listen on 0.0.0.0 and ::, which means better handling of dual-stack setups. ok sthen@ on a previous version, input and ok reyk@.
* Fix two documentation bugs:schwarze2016-11-181-5/+10
| | | | | | | 1. Specifying a precision for the %s format character limits the number of bytes printed, not the number of characters. 2. Document the intentional POSIX violation of ignoring the locale. Feedback and OK jmc@, bentley@.
* Delete useless call to setlocale(3).schwarze2016-11-181-13/+9
| | | | | | | | | | | | While the C library function printf(3) is used here and is locale-dependent, the printf(1) utility does not use the locale dependent parts %lc and %ls. While POSIX requires LC_NUMERIC support, we intentionally don't implement that in printf(3). In summary, no functional change. While here, sort headers and use the usual __dead usage() idiom. Based on a patch from Jan Stary <hans at stare dot cz>. OK bentley@
* Use the ErrorEPC register for curcpu().visa2016-11-182-2/+24
|
* Add more maps to print. As discussed with rzalamena@reyk2016-11-182-5/+13
|
* Support for new GPI signals, including X550 external PHY interruptmikeb2016-11-182-52/+137
| | | | | | This factors out the code configuring General Purpose Interrupts into a separate function and provides LASI (Link Alarm Status Interrupt) handler used by controllers in the X550 family lacking integrated PHY.
* Reduce difference in ixgbe_initialize_receive_units to FreeBSD;mikeb2016-11-181-14/+16
| | | | no binary change.
* Minor code restructuringmikeb2016-11-181-212/+60
| | | | | | | | | | - separate functions for delay value calculation and figuring out whether or not we're doing SFP. - MAC type detection is now done by ixgbe_set_mac_type; - call {enable,disable}_tx_laser conditionally; - unused TSO code bites the dust; - default to "IFM_ETHER | IFM_AUTO" when we can't select any other media type.
* Exclude the description field from the generated maps by default.reyk2016-11-181-5/+18
|
* Revert previous, I confused the columnsreyk2016-11-181-8/+8
|
* remove 'OpenFlow' prefix from version commentsreyk2016-11-181-8/+8
|
* Small code improvements:rzalamena2016-11-181-35/+47
| | | | | | | - Free ibufs on validation failures; - Don't use htons() for flow-mod command; ok reyk@
* Add more documentation to header definitions that were missing.rzalamena2016-11-181-30/+31
|
* Fix the flowmod header to send the correct command and buffer id.reyk2016-11-181-1/+7
| | | | OK rzalamena@
* Define the struct constmap in each generated C file.reyk2016-11-181-3/+7
|
* Fix file reference in generated comment OK rzalamena@reyk2016-11-181-3/+3
|
* Remaining PHY bits; call SFP module detection code for X550 as wellmikeb2016-11-181-18/+6
|
* OpenFlow has a very simple finite state machine that is onlyreyk2016-11-181-1/+9
| | | | | | | | | indirectly documented in the specification. Add the states to the header as it is important for all implementations. Both switch(4) and switchd(8) have to be updated to follow the fsm instead of answering any requests at any time. OK rzalamena@
* Fix some style issues in header file:rzalamena2016-11-181-15/+15
| | | | | - Use the right amount of zeros to match the header bit length; - Use hex instead of bit shifting;
* Remove virtualization-related bitsmikeb2016-11-182-14/+4
|
* fix regression introduced in previous commiteric2016-11-182-41/+58
| | | | | | spotted by Heiko Zimmermann ok gilles@
* turn ipstat into a set of percpu counters.dlg2016-11-186-32/+84
| | | | | | | | | | | | | each counter is identified by an enum value which correspond to the original members of the udpstat struct. udpstat_inc(udps_foo) replaces udpstat.udps_foo++ for the actual updates. udpstat_inc is a thin wrapper around counters_inc. counters are still returned to userland via the udpstat struct for now. ok mpi@ mikeb@ deraadt@
* syncderaadt2016-11-171-0/+2
|
* A firmware block check missed in previous commitsmikeb2016-11-171-1/+5
|
* Support for I2C combined messages as required by X550mikeb2016-11-172-2/+278
|
* Autoconfiguration and firmware semaphore refactoringmikeb2016-11-176-411/+560
|
* various cleanup;jmc2016-11-178-36/+35
|
* EEPROM code refactoring for X540mikeb2016-11-174-201/+356
|
* Bring in new PHY bits, some of the 82599 specific stuff becomes sharedmikeb2016-11-177-363/+1289
|
* Add io api functions for dealing with buffered data, as wrapper arounderic2016-11-174-10/+133
| | | | | | their iobuf counterparts. ok gilles@ sunil@