Thanks,
I have not tested the added ConnectX-4 Lx Virtual Function yet. Will try later.
Yes, the Redhat controller seems capped at 10Gbit/s inside Windows Server 2022 for virtual NIC.
So I get the full 10Gbit/s using Red Hat VirtIO Ethernet, but not the full 25Gbit/s, hence the problem and origin seeking advice.
With full hardware Passthrough "All Functions" I do get 25 Gbit/s with a VM Windows Server 2022, hence the guess it has to do with Proxmox VMBR1 settings or something else at Proxmox level?
root@epyc5:~# ethtool enp2s0f0np0
Settings for enp2s0f0np0:
Supported ports: [ FIBRE ]
Supported link modes: 1000baseKX/Full
10000baseKR/Full
25000baseCR/Full
25000baseKR/Full
25000baseSR/Full
Supported pause frame use: Symmetric
Supports auto-negotiation: Yes
Supported FEC modes: None RS BASER
Advertised link modes: 1000baseKX/Full
10000baseKR/Full
25000baseCR/Full
25000baseKR/Full
25000baseSR/Full
Advertised pause frame use: Symmetric
Advertised auto-negotiation: Yes
Advertised FEC modes: RS
Link partner advertised link modes: Not reported
Link partner advertised pause frame use: No
Link partner advertised auto-negotiation: Yes
Link partner advertised FEC modes: Not reported
Speed: 25000Mb/s
Duplex: Full
Auto-negotiation: on
Port: FIBRE
PHYAD: 0
Transceiver: internal
Supports Wake-on: d
Wake-on: d
Link detected: yes
root@epyc5:~# bridge link
2: enp68s0f0np0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 master vmbr0 state forwarding priority 32 cost 5
2: enp68s0f0np0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 master vmbr0 hwmode VEB
3: enp68s0f1np1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 hwmode VEB
4: enp2s0f0np0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 master vmbr1 state forwarding priority 32 cost 1
4: enp2s0f0np0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 master vmbr1 hwmode VEB
5: enp2s0f1np1: <BROADCAST,MULTICAST> mtu 1500 hwmode VEB
9: veth102i0@enp68s0f0np0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 master vmbr0 state forwarding priority 32 cost 2
10: veth103i0@enp68s0f0np0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 master vmbr0 state forwarding priority 32 cost 2
11: veth104i0@enp68s0f0np0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 master vmbr0 state forwarding priority 32 cost 2
12: veth106i0@enp68s0f0np0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 master vmbr0 state forwarding priority 32 cost 2
13: veth106i1@enp68s0f1np1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 master vmbr1 state forwarding priority 32 cost 2
14: veth107i0@enp68s0f0np0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 master vmbr0 state forwarding priority 32 cost 2