I realize this is an older topic and I'd like to share you with what I have learned.
The x710 series has a reputation for being picky about driver and nvram versions.
According to the "332191_Intel
Ethernet Controller X710-XXV710-XL710 Feature Summary_Rev5_12" publication, page 34, the closest match for XCP-ng's intel-i40e-alt.x86_64 (version: 2.26.8) is nvram 9.52.
I flashed both the x710-T2l and the X710-DA4 to 9.52 and have success passing the x710-DA4 through to a vm.
I haven't tried to do a passthrough with the x710-T2l; I've got PfSense running using XCP-ng's vlan feature and some tuneables in PfSense and am reluctant to rock the boat.
I'm including a snapshot of page 34 of the Intel pub for your review.
Best regards!
