Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp1020382ybc; Sat, 16 Nov 2019 13:12:34 -0800 (PST) X-Google-Smtp-Source: APXvYqxpMFxV2L2ze/KcGbwPslxtaC13Eikv7SROBtBN5m46csB0yIdGIISgS2s0gKXn0/onMHqd X-Received: by 2002:a17:906:5448:: with SMTP id d8mr12494370ejp.79.1573938754868; Sat, 16 Nov 2019 13:12:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573938754; cv=none; d=google.com; s=arc-20160816; b=NVBg9pY/7e4bbvOFfpZkkiIpe8E5VYg7/6ZgzwnmwLTJmfa9N6Z2qpallCltZderXF rtd0/2yeppTm8yjWz3+bXuMWjB9d5hrMmV2OfBkLWW4E1+UwLUtWF2IA/IjOiHrpHTZu yn0Fh8itU+7qwpD95TUQasZK1xabjwehP9AE3wBpES2shjO/G5X0XOAMHPj6POBv/2Ky vhiN1ZkT5UzdJc9SfY8FMHcK8XptbXm7V872k7Oqql4IOpONGze1ss4NdeYcZ/EiHJJu VlDJzrChX92qhkAkycJJ3pU3bEroQhaeYOcbMu/QAy7+y7FmMzP5TgOsXeWVZDA5R9ND kWxQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date; bh=+BmgBpZFxFX6wqMtEpFALncMFtExNs/0zZBw358lLvU=; b=Tk3Ptccu+2VELwNQII0kxTmJhUwAmTAJTJREJOIWeaOC5OvwQ62typI4s0CRmf3OZ2 vcmdZ4XewHRbQaHz0ReczXR7474YFF5YuD+aldi9S//1s30qZQr7/bp3ey6mzoP6X0Ra eY7OeGI0dgo07fv+zUV7ZX9qbEZ1XdOplWlfZ+b9GFleGX27lxJk6gh8RfigwRKsfY9D sN7kjDDegqxDP+3Vknh0KwU16biCTy5idoV2sRL/XJ6bOzrKcppc/fgSkUQjXyUYm7KQ E2u+RnameQS5ZqVB/HkWn/ANdSLtevyZQBw50V5ld2QlN2cx8O1tdC6h7xDWr3o02e5Z MMwg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o21si8287126eju.319.2019.11.16.13.12.09; Sat, 16 Nov 2019 13:12:34 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727762AbfKPVK7 (ORCPT + 99 others); Sat, 16 Nov 2019 16:10:59 -0500 Received: from shards.monkeyblade.net ([23.128.96.9]:53888 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727485AbfKPVK7 (ORCPT ); Sat, 16 Nov 2019 16:10:59 -0500 Received: from localhost (unknown [IPv6:2601:601:9f00:1e2::3d5]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id 8FE22151A2092; Sat, 16 Nov 2019 13:10:58 -0800 (PST) Date: Sat, 16 Nov 2019 13:10:58 -0800 (PST) Message-Id: <20191116.131058.1856199123293908506.davem@davemloft.net> To: lrizzo@google.com Cc: netdev@vger.kernel.org, linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org, tariqt@mellanox.com Subject: Re: [PATCH] net/mlx4_en: fix mlx4 ethtool -N insertion From: David Miller In-Reply-To: <20191115201225.92888-1-lrizzo@google.com> References: <20191115201225.92888-1-lrizzo@google.com> X-Mailer: Mew version 6.8 on Emacs 26.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Sat, 16 Nov 2019 13:10:58 -0800 (PST) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Luigi Rizzo Date: Fri, 15 Nov 2019 12:12:25 -0800 > 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: Luigi Rizzo > Change-Id: I18a72f08dfcfb6b9f6aa80fbc12d58553e1fda76 Luigi, _always_ CC: the appropriate maintainer when making changes to the kernel, as per the top-level MAINTAINERS file. Tariq et al., please review.