Most modern hardware – Ethernet switches and computer Ethernet interfaces – implements Auto-MDIX, automatically choosing the correct mode for each physical connection. (This is now a required part of Gigabit Ethernet, but also very common among 100 Mbps ports as well.) In other words, you can use the same type – regular straight-through cables – practically everywhere.
Ethernet hubs, however, do not have this feature. They do not participate in link negotiation and only electrically connect all the devices. (Although your devices are probably switches mislabelled as hubs, not actual hubs.)
Without this feature, two hubs or switches (just like two computers) would have needed a cross-over cable. That is, unless one switch had a dedicated 'Uplink' port, which would accept a straight-through cable instead. (Sometimes the last port had a physical toggle button for this.)
I bought super cheap hubs from China so I'm honestly not even sure whether they have that feature. Is there a way to check?
The easiest way to find out whether it works is to connect all the devices together and see whether the 'link' indicator lights turn on on both ends, and whether you can actually send/receive packets between them. If it works, that means it works. (Ethernet ports are transformer-isolated, which I think means that you won't physically damage anything by just using the wrong kind of cable.)
Other indications:
- If they are 1 Gbps switches, then at least the 1G ports will always have Auto-MDIX.
- If the specs mention "Auto-Uplink", that's just another name for Auto-MDIX, so you're good.
- If the specs mention "store and forward", that at least means you have a switch.
Note: do not buy actual hubs. You won't get any reasonable performance out of a hub (getting worse the more devices you have), and you will never have 1 Gbps support in a hub. (And they're not any cheaper than switches anymore.)
That said, what you bought is quite likely to be switches mislabeled as hubs, but be careful regardless. I mean, "super cheap" usually contradicts "permanent and reliable".