How to set RX/TX/Combined channels on ConnectX-5 MT27800 Controller card SRIOV VF??

Am not able to set Combined channels for a SRIOV VF on ConnectX-5 MT27800 Controller card.

For a PF it is showing as shown below as :

ethtool -l p4p1

Channel parameters for p4p1:

Pre-set maximums:

RX: 0

TX: 0

Other: 512

Combined: 48

Current hardware settings:

RX: 0

TX: 0

Other: 0

Combined: 48

[root@dhcp-10-123-66-250 ~]#

For a VF spawned for above interface(p4p1):

ethtool -l p4p1_0

Channel parameters for p4p1_0:

Pre-set maximums:

RX: 0

TX: 0

Other: 512

Combined: 7

Current hardware settings:

RX: 0

TX: 0

Other: 0

Combined: 7

For a VF, it is showing max 7 combined channels , i need to set more than 7 up to 16 , is it possible? if so how to set it if not what is the reason.

Hi,

Number of queues is related to the number of cores, if your VM, has 7 cores, so the number of combined queues are 7.

Increase your number of cores.

Marc

I installed the Mellanox card on the server which is having 18cores on each NUMA node (total 36 cores) and i assigned total 18cores for the VM , But SRIOV VF is showing only 7 queues.Is there any solution to manually set the queues.