Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3706008pxj; Tue, 1 Jun 2021 11:15:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwPM+7RrQ0LrA3oe3xN6h/GvxFxIKPfEMBFb/vAD3ATWqrTEUgY/MArPdA3IyNSKDlfvsP9 X-Received: by 2002:a5d:9744:: with SMTP id c4mr22362578ioo.76.1622571336067; Tue, 01 Jun 2021 11:15:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622571336; cv=none; d=google.com; s=arc-20160816; b=hdvrVvl9m3NWf3D5WgOWPIA9ptgMOsN9qb70VPfpPtCsklEpURb5FnbuRi6Bo+er6N gPUEa/We4EuZ9WH3/wrBzgfvGcUXhrgP8EQXQ5oBjaDnH6gsfAgOByVCqClJ9YRTwGJc mqE/LrXIFlKM3HOB0cEZvNJEtyBJyNQofIrfggudShBwGLIBU/lAKcfuLJTreamBlKzi DsURGc3Ks35nSHXcmpAArvWtpYYlU5+GOlhs/j8eGViQMz1gBj8rzoUAtNC3RkwElTaX ekhdMQgB3NDp1Wg9lUU2xNdlR0gwFmS16r2I5kBgy9IdyGU26K6KmU0zyC+6Q4AfsGFg uBLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :ironport-sdr:ironport-sdr; bh=B00HRlJJRcjTJsJYu4zOEwtj7U/o/RbxxoniOtZDKk0=; b=l1cFnO2TpOxAUjnEDqUQtBDFz4Sd60sHHY/fGeUcxQ7C5Y2hLEBcVSb4WjSAIDXrgR 9k6lwHIq8qudS+O8ZiCa5QZO6Qn5ustiGpJyHP0vvJtkqeJDPG4806LhHGBWO6g81EQl P/WYMMfmZxPPLkK7ufv1UGrVdxgWUfe89n0oekbh4rJZbF5ba5B2Sa8ZWH/qqIHsq8Pf S932QT2+yPUaVMA8iYL8+AgnYc+Sq20ZSySd/Es4N1tScRz9rF9kPhKsdbzef73JdN4d 80pFK/w0wRW8fgdP/DbfG2CKpJu2fcSaSnCZ2FON/NokvihUzV0ZzBOQH5TZRA6h8tuk 6DPg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n5si21410560ilj.6.2021.06.01.11.15.21; Tue, 01 Jun 2021 11:15:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234623AbhFASQV (ORCPT + 99 others); Tue, 1 Jun 2021 14:16:21 -0400 Received: from mga01.intel.com ([192.55.52.88]:46250 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234513AbhFASQU (ORCPT ); Tue, 1 Jun 2021 14:16:20 -0400 IronPort-SDR: hhVZFbIvqa77dbgX9pzFHwngmTT9heU9E5H73yBfLBIgbONSh/zMzQ710iMSpIvg/GlL58xCdH OaCyRjkFCmSQ== X-IronPort-AV: E=McAfee;i="6200,9189,10002"; a="224884243" X-IronPort-AV: E=Sophos;i="5.83,240,1616482800"; d="scan'208";a="224884243" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Jun 2021 11:14:38 -0700 IronPort-SDR: fQcAOBUzDfMZaD5LQ8NCA9urtGcc04vjtIctOInIq5o96ywMjVIqWEBiOhEkPfRTQ51CijOyM0 XSiC1wy+HD3A== X-IronPort-AV: E=Sophos;i="5.83,240,1616482800"; d="scan'208";a="549147068" Received: from jbrandeb-mobl4.amr.corp.intel.com (HELO localhost) ([10.212.201.74]) by orsmga004-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Jun 2021 11:14:37 -0700 Date: Tue, 1 Jun 2021 11:14:36 -0700 From: Jesse Brandeburg To: Huazhong Tan Cc: , , , , , , , , , , , , , , , , , , , , , , , , , , Subject: Re: [RFC V2 net-next 0/3] ethtool: extend coalesce uAPI Message-ID: <20210601111436.00001c69@intel.com> In-Reply-To: <1622258536-55776-1-git-send-email-tanhuazhong@huawei.com> References: <1622258536-55776-1-git-send-email-tanhuazhong@huawei.com> X-Mailer: Claws Mail 3.12.0 (GTK+ 2.24.28; i686-w64-mingw32) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Huazhong Tan wrote: > In order to support some configuration in coalesce uAPI, this RFC > extends coalesce uAPI and add support for CQE mode. > ... > 3. ethool(netlink with cqe mode) + kernel with cqe mode: > estuary:/$ ethtool -c eth0 > Coalesce parameters for eth0: > Adaptive RX: on TX: on > stats-block-usecs: n/a > sample-interval: n/a > pkt-rate-low: n/a > pkt-rate-high: n/a > > rx-usecs: 20 > rx-frames: 0 > rx-usecs-irq: n/a > rx-frames-irq: n/a > > tx-usecs: 20 > tx-frames: 0 > tx-usecs-irq: n/a > tx-frames-irq: n/a > > rx-usecs-low: n/a > rx-frame-low: n/a > tx-usecs-low: n/a > tx-frame-low: n/a > > rx-usecs-high: 0 > rx-frame-high: n/a > tx-usecs-high: 0 > tx-frame-high: n/a > > CQE mode RX: off TX: off BTW, thanks for working on something like this. I hope it's not just me, but I don't like the display of the new CQE line, at the very least, it's not consistent with what is there already in the output of this command, and at worst, it surprises the user and makes it hard to parse for any scripting tools. Can I suggest something like: rx-cqe: off tx-cqe: off rx-eqe: off tx-eqe: off Then, if hardware is in EQE mode it is clear that it's supported and ON/OFF, as well as for CQE mode. -Jesse