Skip to content

Switchtec NTB Crosslink Support

Logan Gunthorpe lkml ntb 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7ntb_hw_switchtec: Allow using Switchtec NTB in multi-partition setupsdrivers/ntb/hw/mscc/ntb_hw_switchtec.c include/linux/switchtec.h+56 -90 replies
2/7ntb_hw_switchtec: Keep track of the number of LUT windows used by the driverdrivers/ntb/hw/mscc/ntb_hw_switchtec.c+8 -40 replies
3/7ntb_hw_switchtec: Create helper function to setup reserved LUT MWsdrivers/ntb/hw/mscc/ntb_hw_switchtec.c+43 -290 replies
4/7ntb_hw_switchtec: Make switchtec_ntb_init_req_id_table() more generaldrivers/ntb/hw/mscc/ntb_hw_switchtec.c+56 -360 replies
5/7ntb_hw_switchtec: Expand PFF CSR registersinclude/linux/switchtec.h+14 -13 replies
6/7ntb_hw_switchtec: Add initialization code for crosslinkdrivers/ntb/hw/mscc/ntb_hw_switchtec.c include/linux/ntb.h+206 -110 replies
7/7ntb_hw_switchtec: Crosslink doorbells and messagesdrivers/ntb/hw/mscc/ntb_hw_switchtec.c+55 -100 replies

Reviews trailers per patch

1 of 7 patches has a Reviewed-by or Acked-by.

PatchLogan Gunthorpe
1/7R-b
2/7
3/7
4/7
5/7
6/7
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/7] Switchtec NTB Crosslink Support

Hi,

This patch series adds support for the Switchtec Crosslink feature. Crosslink is similar to B2B in that it allows two switches to be connected back to back.

Two switches can already be connected between two hosts, however with this setup, there would be no symmetry as one switch would handle NTB and the other would just need to be a single partition switch. Our customers are looking for a completely symmetric solution such that a host or switch can be easily replaced without needing to worry about which half was replaced.

Crosslink solves this problem by having each of the switches configured with two partitions. This results in a special host-less partition in the middle of the connection which can be managed in such a way as to forward all the traffic and still provide all the same NTB functionality. In this way, both hosts and switches can be identical.

Please see Patch 6 for a bit more detailed description of how Crosslink works.

Thanks,

Logan

Kelvin Cao (1):
ntb_hw_switchtec: Allow using Switchtec NTB in multi-partition setups

Logan Gunthorpe (6):
ntb_hw_switchtec: Keep track of the number of LUT windows used by the
driver
ntb_hw_switchtec: Create helper function to setup reserved LUT MWs
ntb_hw_switchtec: Make switchtec_ntb_init_req_id_table() more general
ntb_hw_switchtec: Expand PFF CSR registers
ntb_hw_switchtec: Add initialization code for crosslink
ntb_hw_switchtec: Crosslink doorbells and messages

 drivers/ntb/hw/mscc/ntb_hw_switchtec.c | 494 +++++++++++++++++++++++++++------
 include/linux/ntb.h                    |  15 +-
 include/linux/switchtec.h              |  23 +-
 3 files changed, 435 insertions(+), 97 deletions(-)

--
2.11.0