If I were to buy a nic like the Intel x540-at2 with a sfp+ port that only supports 10GbE/1GbE/100Mb, would the 2.5 gig ports run at full speed on my unmanaged 2.5 gig switch (https://www.amazon.com/gp/product/B0C861FKB1) that has a 10 gig sfp+ uplink port or would I be forced to get a nic that uses something like the Intel x550 chipset that supports 10/5/2.5/1GbE.

I currently have multiple different computers connected to this switch that have motherboard ports that support 2.5 gig using controllers like the Intel i225-v and would like to upgrade my current server/nas with a connection greater than gigabit but I would rather get a nicer nic than can allow my setup to expand to 10 gig in the future instead of just getting a pcie 2.5 gig nic using a controller like the realtek rtl8125b (I already tried a pcie Intel i225-v nic and it had issues).