I'm trying to implement a PCI express switch; one lane from SoC and, two for mini PCIe ports. Something like the picture below.
But I'm confused with the Tx and Rx connections, the transmitter should be connected with the receiver in every connection, right?
But, the doubt occurs when in the reference schematics that I have for the switch, the connection in a male connector is Tx(of switch)-Rx(of port); like the picture above, and in a female connector is Tx(of switch)-Tx(of port); like the picture below.
Exists a sort of convention (standard or similar) for this kind of connection?