| | Authored by jhb on Aug 22 2016, 6:09 PM. | Unknown Object (File) | | Wed, Nov 12, 5:06 PM2025-11-12 17:06:50 (UTC+0) |
| Unknown Object (File) | | Wed, Nov 12, 5:06 PM2025-11-12 17:06:14 (UTC+0) |
| Unknown Object (File) | | Wed, Nov 12, 9:15 AM2025-11-12 09:15:20 (UTC+0) |
| Unknown Object (File) | | Wed, Nov 12, 1:39 AM2025-11-12 01:39:29 (UTC+0) |
| Unknown Object (File) | | Thu, Nov 6, 11:22 PM2025-11-06 23:22:01 (UTC+0) |
| Unknown Object (File) | | Tue, Nov 4, 4:57 AM2025-11-04 04:57:25 (UTC+0) |
Event Timelinejhb retitled this revision from to Chelsio T4/T5 VF driver.. jhb added a reviewer: np. jhb added inline comments. jhb marked an inline comment as done. jhb added inline comments.
| 59 ↗ | (On Diff #19555) | |
| 71 ↗ | (On Diff #19555) | |
| 83 ↗ | (On Diff #19555) | |
| 71 ↗ | (On Diff #19555) | |
| 83 ↗ | (On Diff #19555) | |
jhb marked an inline comment as done. jhb added inline comments. This revision is now accepted and ready to land. This revision was automatically updated to reflect the committed changes. | Path | Size |
|---|
| | | | | 2 lines | | 4 lines | | | | 26 lines | | | | 29 lines | | 4 lines | | 376 lines | | 44 lines | | 172 lines | | 253 lines | | 937 lines | | | | 2 lines | | | | 21 lines | | | | 11 lines |
| Commit | Tree | Parents | Author | Summary | Date |
|---|
| a0e686dab7bb | 256bbd81033d | e2cdf4bf5fa8 | John Baldwin | This #ifdef only matters for t4_sge.c in if_cxgbe.ko. | Aug 22 2016, 5:55 PM | | e2cdf4bf5fa8 | 6628fbb54000 | 68ec61b06642 | John Baldwin | Add build glue for 'device cxgbev' and add to NOTES. | Aug 19 2016, 6:43 PM | | 68ec61b06642 | ce37df2b3841 | 49a8e856b33a | John Baldwin | It's ok to expose linkdnrc and pause_settings sysctls on VFs. (Show More…) | Aug 11 2016, 7:22 PM | | 49a8e856b33a | f357c5e9389f | 688b52d65bb6 | John Baldwin | Don't need t4_init_l2t() for VF devices. | Aug 11 2016, 7:08 PM | | 688b52d65bb6 | 52ba122f26b9 | d093dd31e2ad | John Baldwin | Set max read request on VF. | Aug 11 2016, 7:08 PM | | d093dd31e2ad | c2efa97c7075 | 21f0aabbe421 | John Baldwin | Drop get_sge_context for VFs. It is not permitted by the firmware. | Aug 11 2016, 7:05 PM | | 21f0aabbe421 | bc0ae8ab9130 | 109ef101b9bf | John Baldwin | Drop VF support from PF version of t4_clr_vi_stats(). (Show More…) | Aug 11 2016, 7:00 PM | | 109ef101b9bf | 450ded5a2766 | 8eb6fc2b9b4c | John Baldwin | Don't try to set congestion manager context for VFs. | Aug 11 2016, 6:58 PM | | 8eb6fc2b9b4c | f537d620cc6d | 3401f52d33c3 | John Baldwin | Add FW_PARAM macros to t4_vf.c. | Aug 9 2016, 6:27 PM | | 3401f52d33c3 | 02587828f97b | 4d32c42b6da0 | John Baldwin | Populate the entire flbuf list, not just the first 2 entries. | Jul 31 2016, 9:38 PM | | 4d32c42b6da0 | 9fe05b118c0d | 3cb5ccdfadb4 | John Baldwin | Compile. | Jul 31 2016, 9:36 PM | | 3cb5ccdfadb4 | 2351aa62d8fb | 61fd080c160c | John Baldwin | | Jul 30 2016, 12:37 AM | | 61fd080c160c | ea530db9c3ae | 934751a72139 | John Baldwin | Reduce diff with PF driver. | Jul 30 2016, 12:33 AM | | 934751a72139 | 5bc4c20a6457 | 3533a54eb1f1 | John Baldwin | Allocate the traffic class table in VFs. | Jul 30 2016, 12:29 AM | | 3533a54eb1f1 | 26aaf3d403bd | 95eb89775382 | John Baldwin | Unindent. | Jul 30 2016, 12:00 AM | | 95eb89775382 | 4c119994accc | 1402f54d9eb6 | John Baldwin | Drop the VF_IMM_PAYLOAD code. The chip hangs if we use it. | Jul 30 2016, 12:00 AM | | 1402f54d9eb6 | 4ba1643b7e4f | 1ecd2f9851f0 | John Baldwin | Drop the VF_TX_PKT code. It doesn't work as the checksums are wrong. | Jul 29 2016, 11:58 PM | | 1ecd2f9851f0 | 7c9869d4496d | 30b863f86269 | John Baldwin | Compile. | Jul 29 2016, 11:21 PM | | 30b863f86269 | 7dbd60434454 | 6ef6aaad82fd | John Baldwin | Make immediate payloads optional on VFs. | Jul 29 2016, 11:19 PM | | 6ef6aaad82fd | bb1401a6a068 | 95d5aecd4fd1 | John Baldwin | Drop tracing from parse_pkt(). | Jul 29 2016, 10:40 PM | | 95d5aecd4fd1 | d5c1aed26e5d | 2c26766aba61 | John Baldwin | Disable VF_TX_PKT, TCP checksums are broken with it. | Jul 29 2016, 12:18 AM | | 2c26766aba61 | 90088f60540d | e171c051e4b3 | John Baldwin | Handle SGLs that need to wrap at the start. | Jul 29 2016, 12:16 AM | | e171c051e4b3 | 1e8ef0996b0a | c6659ef47ffc | John Baldwin | | Jul 28 2016, 11:08 PM | | c6659ef47ffc | d730ca17a032 | 9f72a4b47893 | John Baldwin | Reduce diff with write_txpkt_wr(). | Jul 28 2016, 10:55 PM | | 9f72a4b47893 | d3da505021b6 | fb06eeb4fb7a | John Baldwin | Drop the TX_PKT_XT code. | Jul 28 2016, 10:52 PM | | fb06eeb4fb7a | e516318566c8 | bc9444af5400 | John Baldwin | | Jul 28 2016, 10:40 PM | | bc9444af5400 | 0899f783544f | a41763c51503 | John Baldwin | Fix immediate packet payload length for VFs. | Jul 28 2016, 10:37 PM | | a41763c51503 | 646bbd4b83de | 0bd5d97bd6ea | John Baldwin | Don't compute header lengths for plain TX_PKT. | Jul 28 2016, 10:36 PM | | 0bd5d97bd6ea | 06217e5637d8 | 86bf873d3ad6 | John Baldwin | | Jul 28 2016, 9:49 PM | | 86bf873d3ad6 | 573e804d7984 | 1458349b7988 | John Baldwin | Export t4_set_sched_class/queue for use in the VF ioctl. | Jul 28 2016, 9:46 PM | | 1458349b7988 | c8237f4ee9c4 | a473804c4178 | John Baldwin | Compile after rebase. | Jul 28 2016, 9:10 PM | | a473804c4178 | 7ea6fbecd818 | 06390fa5161c | John Baldwin | First cut at a character device for use with cxgbetool. | Jul 28 2016, 6:23 PM | | 06390fa5161c | ab25e08c2112 | 2e8e4c0e33f0 | John Baldwin | Don't allocate ctrlqs on the VF and don't call quiesce_wrq() on the VF. | Jul 28 2016, 6:08 PM | | 2e8e4c0e33f0 | 4f7824bc9240 | ed15daece819 | John Baldwin | Add an #ifdef option to use the plain TX_PKT CPL with VFs. | Jun 24 2016, 11:29 PM | | ed15daece819 | 822cd9cd8332 | c554b77d7354 | John Baldwin | Tidy. | Jun 24 2016, 11:14 PM | | c554b77d7354 | 47de91a03467 | 26aa37652b90 | John Baldwin | Put back bits for immediate packets to see if this works. (Show More…) | Jun 24 2016, 8:03 PM | | 26aa37652b90 | ac2557894fce | 692ff9d27e47 | John Baldwin | The length for in_cksum_skip includes the offset. | Jun 24 2016, 7:10 PM | | 692ff9d27e47 | 9e0c9815c3e0 | cd1071e1a214 | John Baldwin | Initialize args passed to m_advance. | Jun 24 2016, 6:06 PM | | cd1071e1a214 | 79effeb12acf | d620fa1d401a | John Baldwin | Fallback to software checksum for IP non-UDP / non-TCP packets. | Jun 23 2016, 11:29 PM | | d620fa1d401a | bfc96b83bfd5 | bb18f327e74d | John Baldwin | Don't lose the IPCSUM_DIS bit if set. | Jun 22 2016, 11:18 PM | | bb18f327e74d | 27af6ba2e74a | 6b86f2b2d771 | John Baldwin | | Jun 22 2016, 10:43 PM | | 6b86f2b2d771 | 7c7447cd0f5f | cc0d1b83ff82 | John Baldwin | | Jun 22 2016, 10:30 PM | | cc0d1b83ff82 | d57c51deade1 | 72f7d294abef | John Baldwin | Fix sign error in parse_pkt test. | Jun 22 2016, 9:23 PM | | 72f7d294abef | f1f3c6e5757d | 8d4a73612443 | John Baldwin | Add if_cxlv to the build. | Jun 22 2016, 9:13 PM | | 8d4a73612443 | c1a52a345fd1 | ca4d3d1e8533 | John Baldwin | Add a if_cxlv.ko stub ala if_cxl.ko. | Jun 22 2016, 8:57 PM | | ca4d3d1e8533 | 00ea5ea6c66b | 9c8f05545790 | John Baldwin | Set pci.mips params (in case fl_pack needs it). | Jun 22 2016, 8:49 PM | | 9c8f05545790 | 9ae5fbe51f8c | d813afc37f0c | John Baldwin | Tracing for parse_pkt(). | Jun 22 2016, 8:32 PM | | d813afc37f0c | af41568e55da | 901b81058afd | John Baldwin | Compute layer 2/3 header lengths for packets transmitted on a VF. | Jun 21 2016, 11:27 PM | | 901b81058afd | 909aa2d3219b | ab8d4945a028 | John Baldwin | Assert the header length fields are all valid when doing checksum offload. | Jun 21 2016, 11:15 PM | | ab8d4945a028 | f6d216d1bc94 | e62fe6e8c560 | John Baldwin | Only set header length fields when setting csum_type. (Show More…) | Jun 21 2016, 11:04 PM | | e62fe6e8c560 | 16bcfa0e49c3 | c2b2c9c30189 | John Baldwin | Trace the 'ctrl1' field on each packet. | Jun 21 2016, 10:39 PM | | c2b2c9c30189 | c99145b0cdf8 | 36230b47d639 | John Baldwin | Attempt to fix checksum offloading for non-TSO packets. | Jun 18 2016, 12:58 AM | | 36230b47d639 | 437682f4e613 | a26fc47f15ad | John Baldwin | | Jun 17 2016, 7:29 PM | | a26fc47f15ad | 73428852fe4e | 83656563ea9b | John Baldwin | Read stats correctly for VFs. | Jun 17 2016, 7:28 PM | | 83656563ea9b | 9a9a4df331e6 | 2093afafb77a | John Baldwin | Calculate correct 'len16' value for TXPKT_VM work requests. | Jun 17 2016, 1:26 AM | | 2093afafb77a | f3605376c5c8 | 3f159d881788 | John Baldwin | Use CPL_TX_PKT_XT for VF transmit requests. | Jun 17 2016, 12:56 AM | | 3f159d881788 | 4db706b163f3 | 6afa0bc2f530 | John Baldwin | Use FW_ETH_TX_PKT_VM_WR work requests when transmitting from a VF. | Jun 16 2016, 11:06 PM | | 6afa0bc2f530 | aef9460623ef | c3fd15a78462 | John Baldwin | Update comment. | Jun 16 2016, 7:12 PM | | c3fd15a78462 | a2a5d1bcb24f | d26ca34ef609 | John Baldwin | Fix indicies in first SGE params request. | Jun 16 2016, 7:11 PM | | d26ca34ef609 | 595dce1c8359 | ec500ef79176 | John Baldwin | | Jun 16 2016, 6:08 PM | | ec500ef79176 | 2d07d772c412 | 11cf0ea49818 | John Baldwin | Compile fixes and catch up to API changes after rebase. | Jun 16 2016, 5:59 PM | | 11cf0ea49818 | 632695569156 | 694411055665 | John Baldwin | Use intr_idx of 0 on a VF for the firmware queue as there is no error interrupt. | Mar 5 2016, 1:01 AM | | 694411055665 | 1bd8f65948aa | 9f66725d35c0 | John Baldwin | Don't include PF/VF in firmware requests from a VF. | Mar 5 2016, 12:48 AM | | 9f66725d35c0 | b2f85fa044c3 | f9f60b634f9f | John Baldwin | Use proper KDOORBELL register on VFs. | Mar 5 2016, 12:22 AM | | f9f60b634f9f | 35326594b943 | 8890b4a41cdd | John Baldwin | Skip PF register enable/disable on VFs. Use proper GTS register on VFs. | Mar 4 2016, 11:21 PM | | 8890b4a41cdd | 59a648111060 | 403988b547a0 | John Baldwin | Wire up adapter-level sysctls. | Mar 4 2016, 11:07 PM | | 403988b547a0 | 18b2ffeb8056 | e3b6a179c2bc | John Baldwin | Don't add sysctls for port stats on VF interfaces. | Mar 4 2016, 10:34 PM | | e3b6a179c2bc | 7b4582d04d26 | d7ee429e27f4 | John Baldwin | Setup chip_params for VFs. | Mar 4 2016, 9:59 PM | | d7ee429e27f4 | c15dce2990d9 | 20838b9aaa6c | John Baldwin | This should be ok now. | Mar 4 2016, 9:55 PM | | 20838b9aaa6c | 433c755dd5f6 | ecbfcb01086f | John Baldwin | Actually use the VI stats for if_counter in a VF. | Mar 4 2016, 9:48 PM | | ecbfcb01086f | cf207cfb1bb3 | d59c3eb71459 | John Baldwin | Trim some more debugging. | Mar 1 2016, 7:39 PM | | d59c3eb71459 | d6f92bf3d81b | fb2358335bea | John Baldwin | Don't setup the management queue on a VF. | Mar 1 2016, 7:36 PM | | fb2358335bea | 9f58ff824f91 | 013f69e6c075 | John Baldwin | Drop mailbox debugging as mailbox messages are working fine in general. | Mar 1 2016, 7:28 PM | | 013f69e6c075 | fb0be9b8dad5 | 6426d7add5b7 | John Baldwin | Don't create a control queue on VFs. | Mar 1 2016, 7:25 PM | | 6426d7add5b7 | d9f7f8c78ba9 | 0057ca2f578d | John Baldwin | | Mar 1 2016, 7:14 PM | | 0057ca2f578d | 379cbee8cfd5 | caab00915625 | John Baldwin | Use VI stats for VF interfaces. | Mar 1 2016, 7:09 PM | | caab00915625 | d27b21318989 | 2efc186a8e5b | John Baldwin | Add cxgbev/cxlv drivers. | Mar 1 2016, 7:06 PM | | 2efc186a8e5b | 7a514639bae8 | 03e99223447e | John Baldwin | Attach child ports. | Mar 1 2016, 6:52 PM | | 03e99223447e | 7dfc9c82599c | adb57fc2f6fb | John Baldwin | | Mar 1 2016, 6:46 PM | | adb57fc2f6fb | c2b56c60e5a1 | 18730db339f0 | John Baldwin | Drop a debug message. | Mar 1 2016, 6:16 PM | | 18730db339f0 | 7778be89d62e | 1ed2b2a8778a | John Baldwin | Compile. | Mar 1 2016, 1:56 AM | | 1ed2b2a8778a | 6d596537052e | b22278f45b5a | John Baldwin | As a hack, don't fail to attach so I can look at the softc. | Mar 1 2016, 1:54 AM | | b22278f45b5a | 6177784cd057 | 553be550e9b9 | John Baldwin | Don't bye the firmware when a VF detaches. | Mar 1 2016, 1:53 AM | | 553be550e9b9 | b40002ca75e8 | b3ba1048d0aa | John Baldwin | Dump all mailboxes in the VF driver for now. | Mar 1 2016, 1:20 AM | | b3ba1048d0aa | 0eae87b40624 | ac82f8f62965 | John Baldwin | Dump some of the SGE params. | Mar 1 2016, 1:14 AM | | ac82f8f62965 | a720288c81e7 | dac0666ec797 | John Baldwin | First cut at queue and interrupt allocation and finish first pass at attach. | Feb 28 2016, 12:38 AM | | dac0666ec797 | 7e8e37d2b8be | 8db0a23c3af9 | John Baldwin | I believe this fixes t4_port_init() to work on a VF. | Feb 20 2016, 12:49 AM | | 8db0a23c3af9 | 03df60298750 | 81168a947808 | John Baldwin | Drop some of the debugging. | Feb 20 2016, 12:14 AM | | 81168a947808 | 1d447570e7a1 | 232180c61163 | John Baldwin | Include opt_inet* so this file sees TCP_OFFLOAD and the correct layout of… (Show More…) | Feb 20 2016, 12:04 AM | | 232180c61163 | e1f468cbbcc0 | 62c91c56aee8 | John Baldwin | Compile. | Feb 19 2016, 11:45 PM | | 62c91c56aee8 | ea9a84891bee | 4fd07b670bcf | John Baldwin | More debugging. | Feb 19 2016, 11:43 PM | | 4fd07b670bcf | 08885dcfcc7a | 474c1ba16f42 | John Baldwin | Include VFs on the T4 adapter list. | Feb 19 2016, 11:13 PM | | 474c1ba16f42 | 092beafa717d | e74d14513dc5 | John Baldwin | Debug. | Feb 19 2016, 10:48 PM | | e74d14513dc5 | b154ddc5e4ca | b7828aa93125 | John Baldwin | Don't call bus_generic_detach() when cleaning up from a failed attach. | Feb 19 2016, 10:32 PM | | b7828aa93125 | b56b117752ab | 27e9689d0e7c | John Baldwin | Compile. | Feb 19 2016, 10:27 PM | | 27e9689d0e7c | c9eac7f8bac7 | ace0163a89a6 | John Baldwin | Debugging for VF mailbox commands. | Feb 19 2016, 10:22 PM | | ace0163a89a6 | f40bf5f3e41e | 2e708a80e9ef | John Baldwin | Drop t4vf_defs.h here as well. | Feb 19 2016, 9:49 PM | | 2e708a80e9ef | e0b7785b3881 | 882f0a6e5565 | John Baldwin | We aren't actually using this header. | Feb 19 2016, 9:46 PM | | 882f0a6e5565 | 644f52e9235c | b21176c43da9 | John Baldwin | That last didn't compile, export a t4_detach_common() instead. | Feb 19 2016, 9:28 PM | | b21176c43da9 | f520d9072f67 | 4d864caaff69 | John Baldwin | Flesh out detach. This is actually just t4_detach without notify_siblings. | Feb 19 2016, 9:22 PM | | 4d864caaff69 | 2d4c9355f165 | ee1330e8fb6d | John Baldwin | Checkpoint: ready to start allocating VIs and queues. | Feb 19 2016, 9:17 PM | | ee1330e8fb6d | 0a9648002f62 | e2aed13ba6b1 | John Baldwin | Setup handlers for VFs. | Feb 19 2016, 8:59 PM | | e2aed13ba6b1 | 08b72a1fdb7d | 6fca3919bfef | John Baldwin | Export functions from t4_main.c. to t4_vf.c. Add t4vf_get_vfres(). | Feb 19 2016, 8:56 PM | | 6fca3919bfef | 60b09e40cb48 | 9c758149edaf | John Baldwin | Reorder this to more closely match the FreeBSD PF driver. | Feb 19 2016, 8:23 PM | | 9c758149edaf | 6674909b2914 | b861489c3e59 | John Baldwin | Finish updating t4_read_chip_settings() for VFs and use it in the VF driver. | Feb 19 2016, 8:21 PM | | b861489c3e59 | f457d8360054 | f449d4eda25c | John Baldwin | | Feb 16 2016, 1:50 AM | | f449d4eda25c | f242d3f62178 | cad89f113f85 | John Baldwin | Note a question about encapsulated CPL messages. | Feb 16 2016, 1:49 AM | | cad89f113f85 | a41c65a331a8 | 29668b19c3b3 | John Baldwin | | Feb 11 2016, 1:22 AM | | 29668b19c3b3 | 8a0a8dabd620 | 792819336abd | John Baldwin | Start on a t4vf_hw.c to hold VF-specific hardware routines. | Feb 9 2016, 12:59 AM | | 792819336abd | 771e6efab498 | b3cc80b493a5 | John Baldwin | Initial stub of a VF driver. | Feb 5 2016, 6:32 PM |
|