Skip to content
Snippets Groups Projects
Commit 34e59836 authored by Luigi Rizzo's avatar Luigi Rizzo Committed by David S. Miller
Browse files

net/mlx4_en: fix mlx4 ethtool -N insertion


ethtool expects ETHTOOL_GRXCLSRLALL to set ethtool_rxnfc->data with the
total number of entries in the rx classifier table.  Surprisingly, mlx4
is missing this part (in principle ethtool could still move forward and
try the insert).

Tested: compiled and run command:
	phh13:~# ethtool -N eth1 flow-type udp4  queue 4
	Added rule with ID 255

Signed-off-by: default avatarLuigi Rizzo <lrizzo@google.com>
Reviewed-by: default avatarTariq Toukan <tariqt@mellanox.com>
parent 949610dd
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment