reServer i31125 - Using M.2 (NGFF) Key B+M To Key M Adapter for using NVMe drives

Does the NVMe have to be Gen3 or any Gen4 NVMe would also work in this case? (the B-key slot is PCIe 3.0 x2 )