How to create additional send queues in Mellanox CX6

Hi, I am following the OFED Documentation to using Packet Pacing, While trying to using ethtool -L ens6f0np0 other 1200 as the tutorial, the bash output as follow:

# sudo ethtool -L ens6f0np0 other 1200
netlink error: requested channel count exceeds maximum (offset 40)
netlink error: Invalid argument

and when i executing ethtool -l, the output is:

Channel parameters for ens6f0np0:
Pre-set maximums:
RX:		n/a
TX:		n/a
Other:		n/a
Combined:	20
Current hardware settings:
RX:		n/a
TX:		n/a
Other:		n/a
Combined:	20

The version of OFED is MLNX_OFED_LINUX-23.07-0.5.0.0:and My kernel version is 5.15 (all meet the requirement) .

Meanwhile, There are 20 tx queue directory in the sysfs( /sys/class/net/eth4/queues/),but they don’t have the flow_map directory

How should I settle this problem? Thanks!

the t/r queue = cpu core nu#, since each queue will map to each core irq.

Packet pacing feature is very old, I think it will not work on new kernel.

You can use flow steering as below, or just use kernel TC rules.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.