Direction of Ports Transceiver in UbiSwitch Documentation is Ambiguous

TX is output from the switch. Connect this to the RX of your other device.
RX is input to the switch. Connect this to the TX of your other device.

Here is an example of a tested design to connect this port to 1G PHY over SGMII.