Commit | Tree | Parents | Author | Summary | Date |
---|
7381bd95b2ce | 02623502cf5b | c42afe8db9e1 | John Baldwin | Enable support for TOE + TLS offload by default. | Feb 26 2018, 11:49 PM |
c42afe8db9e1 | 01cd066edc9c | 74dfec34602c | John Baldwin | Match the style of the existing code for DDP-specific behavior. | Feb 26 2018, 11:15 PM |
74dfec34602c | bc6aab3d2489 | 5e756d9f50c7 | John Baldwin | Trim an XXX and diff-reduce. | Feb 26 2018, 11:13 PM |
5e756d9f50c7 | 79d63f4dd131 | 54bcd4c60461 | John Baldwin | Move TPF_FORCE_CREDITS up a bit to avoid TPF_SYNQE_TLS. | Feb 26 2018, 11:13 PM |
54bcd4c60461 | 7a7801a98a2a | bc2e910304fa | John Baldwin | Trim some debugging, stale comments, and #if 0'd code for TX completions. | Feb 26 2018, 11:10 PM |
bc2e910304fa | 5a5e5e072fff | 31422e2e2083 | John Baldwin | Assert that the FLOWC params counts match. | Feb 26 2018, 11:01 PM |
31422e2e2083 | d6793110689a | b7ab7aef29c0 | John Baldwin | Disable flow control in opt2 for passive TLS sockets. | Feb 26 2018, 11:00 PM |
b7ab7aef29c0 | 9d5984bb696d | 0bc4cc7a7af0 | John Baldwin | Put the tid first in TLS socket option traces. | Feb 26 2018, 10:57 PM |
0bc4cc7a7af0 | 5d466fa4996a | 805c5f8992b6 | John Baldwin | Don't double invoke t4_tom_mod_unload() on failure. (Show More…) | Feb 26 2018, 10:29 PM |
805c5f8992b6 | 18cdb50f9876 | 6cd2e89ba278 | John Baldwin | Simplify module loading by making the DDP and TLS load routines void. (Show More…) | Feb 26 2018, 10:28 PM |
6cd2e89ba278 | df54d375be1b | e2407131c7ff | John Baldwin | Use send_rx_modulate() in the handshake timer callout. | Feb 26 2018, 10:25 PM |
e2407131c7ff | 8d8d076016b5 | b84b824b9bab | John Baldwin | Revert some changes to the T4 TOM module load handler. | Feb 26 2018, 10:22 PM |
b84b824b9bab | c0aff72fa2c7 | 6eb340fab8e1 | John Baldwin | Compile for non-debug. | Feb 20 2018, 11:42 PM |
6eb340fab8e1 | 5fa99ef417b4 | 5d8c316ce9da | John Baldwin | Allow TLS sockets to receive data beyond the TCP window. (Show More…) | Feb 16 2018, 1:58 AM |
5d8c316ce9da | 0b9d3e3fc77e | 9ab2bf69930d | John Baldwin | Add counters for TLS RX. | Feb 15 2018, 11:23 PM |
9ab2bf69930d | 39b775427048 | dd122d592206 | John Baldwin | Re-enable the force credits workaround in its new form. | Feb 15 2018, 11:17 PM |
dd122d592206 | 5dd3c2df6b5a | 6fb53d1d9795 | John Baldwin | When TPF_FORCE_CREDITS is set, send an RX_MODULATE_RX after each read(). | Feb 15 2018, 11:04 PM |
6fb53d1d9795 | c82b3e29a484 | 3cc4c2d19382 | John Baldwin | Add a trace of send_rx_credits(). | Feb 15 2018, 10:46 PM |
3cc4c2d19382 | 407ec22e6710 | 7f3cbb303d4b | John Baldwin | Enable the workaround to set TLS_ENABLE for now. (Show More…) | Feb 15 2018, 10:25 PM |
7f3cbb303d4b | e956af991dcf | cee7d2857015 | John Baldwin | Send the TXDATAPLEN_MAX flowc param if it set even for non-TLS. (Show More…) | Feb 15 2018, 10:20 PM |
cee7d2857015 | f61240f21e7f | 34883ef5f7e4 | John Baldwin | Clear the entire ULP_RAW field when clearing TLS offload. | Feb 15 2018, 10:10 PM |
34883ef5f7e4 | 011e86ba99bb | 5cd2edbc3187 | John Baldwin | Disable flow control for TLS connections. | Feb 10 2018, 12:32 AM |
5cd2edbc3187 | dbd82abd61f6 | e2984a94bfbc | John Baldwin | Disable the hack to set TLS_ENABLE. | Feb 10 2018, 12:09 AM |
e2984a94bfbc | 4ea49e459fd1 | dcb53521c9a1 | John Baldwin | Make the timer periodic and add a KTR trace. | Feb 10 2018, 12:07 AM |
dcb53521c9a1 | 2f31b63427d4 | 967a73487c66 | John Baldwin | Actually compile. | Feb 9 2018, 11:42 PM |
967a73487c66 | 239e10821530 | 1d841cdcb3d8 | John Baldwin | Compile. | Feb 9 2018, 11:38 PM |
1d841cdcb3d8 | bbeea4842522 | 0bd095e8ed42 | John Baldwin | | Feb 7 2018, 11:44 PM |
0bd095e8ed42 | b8201188e08e | 1e86aedb6192 | John Baldwin | Disable credit forcing as that didn't help. | Feb 9 2018, 11:24 PM |
1e86aedb6192 | 9ca87383e0ad | 8d3da448f2b4 | John Baldwin | Try always sending credits during key negotiation. | Feb 9 2018, 11:20 PM |
8d3da448f2b4 | 00786ec2ad80 | 409212f9e269 | John Baldwin | Set TLS_ENABLE later after send_flowc_wr(). | Feb 9 2018, 10:59 PM |
409212f9e269 | f82c45fd23b0 | 21abff1a9959 | John Baldwin | Add a KTR trace for setting TLS_ENABLE. | Feb 9 2018, 10:55 PM |
21abff1a9959 | 105ea7c7d587 | 0d8bc95cd64c | John Baldwin | Enable PDU extraction when creating new connections. | Feb 9 2018, 10:40 PM |
0d8bc95cd64c | 7f7ca40ce8f0 | dcbed96b388d | John Baldwin | Send the ULP_MODE flow control parameter for TLS. | Feb 8 2018, 2:03 AM |
dcbed96b388d | 2966b2a396f4 | d8f1a1f57d18 | John Baldwin | Trim trailing whitespace. | Feb 8 2018, 1:52 AM |
d8f1a1f57d18 | 6101a8ee7182 | 9d35955b15ec | John Baldwin | Try to improve TCP sequence vs socket buffer accounting. (Show More…) | Feb 8 2018, 12:20 AM |
9d35955b15ec | 9ebee164d7b9 | a0d94d2cc4b0 | John Baldwin | Byte swap the CPL sequence number in the seq # assert. | Feb 6 2018, 1:03 AM |
a0d94d2cc4b0 | 46418b55a1b1 | b1cda95dde08 | John Baldwin | Fix sense of negative TCP window size assertion. | Feb 6 2018, 12:55 AM |
b1cda95dde08 | ad0ad7f696f0 | c6bc763d6929 | John Baldwin | First attempt at fleshing out the CPL_RX_TLS_CMP handler. (Show More…) | Feb 1 2018, 1:52 AM |
c6bc763d6929 | 333831d98d23 | d5b9b9ef75ad | John Baldwin | Compile. | Jan 31 2018, 1:41 AM |
d5b9b9ef75ad | d0736d65e869 | 6bfa2e5dc705 | John Baldwin | | Jan 31 2018, 1:39 AM |
6bfa2e5dc705 | 8f888f15e885 | be9e41dcdb13 | John Baldwin | Use correct constant (IPPORT_MAX vs IPPROTO_MAX). | Jan 30 2018, 10:49 PM |
be9e41dcdb13 | 35c05e7c482c | f42f2528d1b2 | John Baldwin | | Jan 30 2018, 12:31 AM |
f42f2528d1b2 | dbc2c95a41a5 | 8c0e7f004df3 | John Baldwin | Add a dev.cc.<x>.tom.tls_rx_ports sysctl to control TLS_RX. (Show More…) | Jan 29 2018, 10:58 PM |
8c0e7f004df3 | 18d6ddaa4c02 | b50e4ff1ae26 | John Baldwin | Allow building libssl with CHSSL_TLS_RX. | Jan 26 2018, 10:55 PM |
b50e4ff1ae26 | 9b519fa8bad5 | 692f580faaab | John Baldwin | First attempt at letting OpenSSL handle optional RX offloading. (Show More…) | Dec 18 2017, 11:09 PM |
692f580faaab | bc7de02a4ba2 | 4bfda7f42db5 | John Baldwin | Remove VNET_DECLARE's no longer needed after r324539. | Dec 18 2017, 8:27 PM |
4bfda7f42db5 | 0191da411e9d | 191a183d5541 | John Baldwin | Add a TLS_DEBUG printf to log the state during the connect state machine. | Dec 18 2017, 8:23 PM |
191a183d5541 | aa288ea53b43 | e51457e5f4da | John Baldwin | Add two sysctl counters for TLS TX events (records and bytes). | Dec 18 2017, 8:23 PM |
e51457e5f4da | 02ba52dd81b0 | 754fb4543cc5 | John Baldwin | Add VERBOSE traces for cases when push_tls_records aborts. | Dec 18 2017, 8:21 PM |
754fb4543cc5 | 568b43f7a20e | 5594325426b4 | John Baldwin | Disable debug dumps of CPLs for TLS TX. | Dec 18 2017, 8:15 PM |
5594325426b4 | c04ddf5885fe | e3079f6f5b70 | John Baldwin | Disable another debug printf. | Nov 29 2017, 11:06 PM |
e3079f6f5b70 | cadb23bd3892 | 9b79a2da3789 | John Baldwin | Comment out debug printf. | Nov 29 2017, 11:02 PM |
9b79a2da3789 | d288f3d98aea | 890c410a0edd | John Baldwin | Fix debug to compile if CHSSL_OFFLOAD is not enabled. | Nov 28 2017, 12:27 AM |
890c410a0edd | 2f10f1e0b6dd | ac6be284ab8b | John Baldwin | Add a trace for failing to allocate an IV buffer. | Nov 28 2017, 12:24 AM |
ac6be284ab8b | 5cecf875af84 | ff13b94f160a | John Baldwin | Update the sb_off in tls_ofld when do_fw4_ack just does sbdrop. (Show More…) | Nov 15 2017, 2:01 AM |
ff13b94f160a | b2c283818cbb | 97352f7a69cd | John Baldwin | Add debugging dumps of TLS work requests. | Nov 15 2017, 1:28 AM |
97352f7a69cd | 38626a784076 | 38d0aeaf3c3b | John Baldwin | Add customary "tid" prefix to KTR trace. | Nov 15 2017, 1:26 AM |
38d0aeaf3c3b | 650cef72039c | 677e933dd038 | John Baldwin | Trim trailing whitespace. | Nov 15 2017, 1:25 AM |
677e933dd038 | c9edefd2c147 | efdc5c6a7da5 | John Baldwin | | Nov 15 2017, 1:25 AM |
efdc5c6a7da5 | c9a5a6158dbe | cb3d2860b661 | John Baldwin | Divide the size by 16 for the ULP TX memory write for a TLS key. | Nov 14 2017, 9:24 PM |
cb3d2860b661 | d34176a3768f | 2d26e0500de8 | John Baldwin | Use iv_len in a few more places. | Nov 14 2017, 8:17 PM |
2d26e0500de8 | af66178b4eba | 30af727a1f70 | John Baldwin | Update assert for ULP mode in t4_push_tls_frames(). | Nov 11 2017, 12:39 AM |
30af727a1f70 | d1ad5743ff9e | 6d2d06ac22c8 | John Baldwin | | Nov 11 2017, 12:36 AM |
6d2d06ac22c8 | 7a77a570b8a7 | 2ca581ca1e4b | John Baldwin | Use can_tls_offload() in select_ulp_mode() as well. | Nov 11 2017, 12:31 AM |
2ca581ca1e4b | 0ae96d2b6001 | 9861d56bcfb3 | John Baldwin | Remove unused 'sc'. | Nov 10 2017, 10:54 PM |
9861d56bcfb3 | 01d06a2f662c | 457fb6854536 | John Baldwin | Add KTR traces for TLS socket options. | Nov 10 2017, 10:20 PM |
457fb6854536 | 1471e3897465 | 77ddc2aac438 | John Baldwin | More updates to permit TLS TX on non-TLS sockets. | Nov 10 2017, 9:58 PM |
77ddc2aac438 | 7920a97a08ca | ad9936753cfa | John Baldwin | Don't check ULP_MODE for t4_push_tls_records(). (Show More…) | Nov 10 2017, 9:44 PM |
ad9936753cfa | a31329950ce5 | 47f40568034c | John Baldwin | | Nov 10 2017, 9:38 PM |
47f40568034c | d8783420bdf2 | 002a4fc59ee5 | John Baldwin | Don't mess with submode. TX-only TLS needs to use TOE ULP mode. | Nov 10 2017, 9:33 PM |
002a4fc59ee5 | a158b63dbdd5 | 3b1f6ca69de9 | John Baldwin | Clear the TLS_ENABLE bit, not set it. | Nov 8 2017, 11:30 PM |
3b1f6ca69de9 | 560fa2ac0dfc | 52d2fa4ab8f9 | John Baldwin | Explicitly disable RX TLS processing for now in each TLS socket. | Nov 8 2017, 11:15 PM |
52d2fa4ab8f9 | d8783420bdf2 | 465e30d22f93 | John Baldwin | Compile. | Nov 1 2017, 10:47 PM |
465e30d22f93 | d503624a124c | efc0c7e44017 | John Baldwin | Log ULP_MODE settings. | Nov 1 2017, 10:42 PM |
efc0c7e44017 | be42e24c5957 | e007f7768768 | John Baldwin | | Oct 16 2017, 7:49 PM |
e007f7768768 | 93b4369847d9 | f8292356dd45 | John Baldwin | Add a TODO. | Oct 16 2017, 7:12 PM |
f8292356dd45 | 00f21f60a908 | 6490a03bd845 | John Baldwin | Compile fix and add a KTR trace for each TLS record. | Oct 16 2017, 7:04 PM |
6490a03bd845 | 58bda1874c4f | fe68468c90c9 | John Baldwin | Move IS_AIOTX_MBUF into t4_tom.h. | Oct 14 2017, 12:32 AM |
fe68468c90c9 | e7b92705b470 | 280d600fb3ea | John Baldwin | Add a new CHSSL_TLS_RX macro and move RX handling underneath it. (Show More…) | Oct 13 2017, 11:45 PM |
280d600fb3ea | f5e352def22c | 0eeb8542fe03 | John Baldwin | | Oct 13 2017, 11:05 PM |
0eeb8542fe03 | 0a3c06e76a76 | 0ba23e5a75ec | John Baldwin | | Oct 12 2017, 10:51 PM |
0ba23e5a75ec | 852a62e167ae | f502f3ae629f | John Baldwin | | Oct 12 2017, 10:03 PM |
f502f3ae629f | 3baf1749cf4a | 6f1f2b82cfb1 | John Baldwin | Set RX_FC_VALID and clear RX coalesce for TLS sockets. (Show More…) | Oct 9 2017, 10:04 PM |
6f1f2b82cfb1 | 87bcc11d51fa | 1e0a94f8ae60 | John Baldwin | Set the TXDATAPLEN_MAX flow control parameter for TLS sockets. | Oct 9 2017, 9:13 PM |
1e0a94f8ae60 | 10b84c52d5e1 | 3c963eeffd9e | John Baldwin | | Oct 9 2017, 6:58 PM |
3c963eeffd9e | af12818d08d5 | 269e60bd3dcb | John Baldwin | | Oct 7 2017, 12:40 AM |
269e60bd3dcb | b4244b02f255 | e7468dfe7a8b | John Baldwin | Port t4_set_tls_keyid(). | Oct 5 2017, 11:56 PM |
e7468dfe7a8b | befbbce43f34 | 75041392ce19 | John Baldwin | Implement the first level of TLSOM_SET_TLS_CONTEXT. (Show More…) | Oct 5 2017, 11:53 PM |
75041392ce19 | bf24b1c3b514 | 8f15c8cfdfb1 | John Baldwin | Implement the TLSOM_CLR_QUIES and TLSOM_CLR_TLS_TOM socket options. (Show More…) | Oct 5 2017, 10:17 PM |
8f15c8cfdfb1 | dfeca6e3ef34 | 1c8937c20580 | John Baldwin | | Oct 4 2017, 11:31 PM |
1c8937c20580 | a817bfca07e2 | 0915431be760 | John Baldwin | | Oct 4 2017, 10:47 PM |
0915431be760 | 2b2eb6487abb | 1be08a6449cd | John Baldwin | Initial TODO. | Oct 4 2017, 9:57 PM |
1be08a6449cd | 46f62b7e5e93 | e00b8bd78a5b | John Baldwin | Add custom socket option handler for TOE sockets. (Show More…) | Sep 29 2017, 9:29 PM |
e00b8bd78a5b | f509254d1e3a | dd89be4f2fb1 | John Baldwin | Use socket options on FreeBSD instead of ioctl. (Show More…) | Sep 29 2017, 8:23 PM |
dd89be4f2fb1 | e5dde6693b57 | 22c47c589d97 | John Baldwin | Add a header with TLS+TOE socket options. | Sep 29 2017, 8:23 PM |
22c47c589d97 | 793c8f03f76d | 2e6d918b3fb5 | John Baldwin | | Sep 28 2017, 9:40 PM |
2e6d918b3fb5 | 0ad98cf4f315 | eab5f49976fa | John Baldwin | | Sep 28 2017, 9:23 PM |
eab5f49976fa | 79544a804f49 | a4b6503eb303 | John Baldwin | Use %zu to print a size_t. | Sep 28 2017, 9:22 PM |
a4b6503eb303 | e63881513f38 | a604f1028742 | John Baldwin | Add missing #include of ssl_tom.h. | Sep 28 2017, 9:21 PM |
a604f1028742 | b14d68a53f00 | 5e6f10dc519a | John Baldwin | Add missing #ifdef CHSSL_OFFLOAD guards around #include of ssl_tom.h. | Sep 28 2017, 7:20 PM |
5e6f10dc519a | 2a0f4f29dd77 | d72bfb55512c | John Baldwin | Add build glue. | Sep 25 2017, 10:11 PM |
d72bfb55512c | 753c4df2e87c | 4d1e640f4f99 | John Baldwin | Replace #ifndef with #ifdef for CHSSL_OFFLOAD. | Sep 25 2017, 10:08 PM |
4d1e640f4f99 | f4f8beeb5a59 | 07f27d70249d | John Baldwin | | Sep 25 2017, 9:58 PM |