Oddly enough, from what I have seen, you can manually configure the speeds like 100 or 1000 on the port with a 10G module, but you can't hard code 10Gbps which seems strange lol. You have to leave it auto for that.
Adding
@PhilipDAth since I believe he has experience with this