From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6215BC433E3 for ; Wed, 19 Aug 2020 13:45:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 37DD4204FD for ; Wed, 19 Aug 2020 13:45:57 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=amazon.com header.i=@amazon.com header.b="r8LhxPOG" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728511AbgHSNp4 (ORCPT ); Wed, 19 Aug 2020 09:45:56 -0400 Received: from smtp-fw-6002.amazon.com ([52.95.49.90]:15732 "EHLO smtp-fw-6002.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728518AbgHSNoW (ORCPT ); Wed, 19 Aug 2020 09:44:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1597844661; x=1629380661; h=from:to:cc:subject:date:message-id:mime-version; bh=CsYjShdzmZ5D7Eb4dalq4Q5lFeEzadPPyW5FmFvVhRk=; b=r8LhxPOGWHptp6tfaRYMeZlMs5/LUxH6sOeG1UphB2ukVcWWIq2owP2F nD3w7TDFeXBzK89OhDlF40H2UpPIUGGtMNK9aqZqM6x6xNxtRqFpLRVHc eUXxfyJMxWeT/oXA4Fho4/Bg+eZtvGEjIQLzR7yhb5816+bmcj13ANcQ3 c=; X-IronPort-AV: E=Sophos;i="5.76,331,1592870400"; d="scan'208";a="48706736" Received: from iad12-co-svc-p1-lb1-vlan3.amazon.com (HELO email-inbound-relay-2c-87a10be6.us-west-2.amazon.com) ([10.43.8.6]) by smtp-border-fw-out-6002.iad6.amazon.com with ESMTP; 19 Aug 2020 13:44:04 +0000 Received: from EX13MTAUEB002.ant.amazon.com (pdx4-ws-svc-p6-lb7-vlan2.pdx.amazon.com [10.170.41.162]) by email-inbound-relay-2c-87a10be6.us-west-2.amazon.com (Postfix) with ESMTPS id 84BB8A0520; Wed, 19 Aug 2020 13:44:03 +0000 (UTC) Received: from EX13D08UEB003.ant.amazon.com (10.43.60.11) by EX13MTAUEB002.ant.amazon.com (10.43.60.12) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 19 Aug 2020 13:44:03 +0000 Received: from EX13MTAUEA001.ant.amazon.com (10.43.61.82) by EX13D08UEB003.ant.amazon.com (10.43.60.11) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 19 Aug 2020 13:44:02 +0000 Received: from dev-dsk-sameehj-1c-1edacdb5.eu-west-1.amazon.com (172.19.82.3) by mail-relay.amazon.com (10.43.61.243) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Wed, 19 Aug 2020 13:44:02 +0000 Received: by dev-dsk-sameehj-1c-1edacdb5.eu-west-1.amazon.com (Postfix, from userid 9775579) id 6374C819EC; Wed, 19 Aug 2020 13:44:02 +0000 (UTC) From: To: , CC: Sameeh Jubran , , , , , , , , , , , , , Subject: [PATCH V2 net-next 0/4] Enhance current features in ena driver Date: Wed, 19 Aug 2020 13:43:45 +0000 Message-ID: <20200819134349.22129-1-sameehj@amazon.com> X-Mailer: git-send-email 2.16.6 MIME-Version: 1.0 Content-Type: text/plain Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org From: Sameeh Jubran This series adds the following: * Exposes new device stats using ethtool. * Adds and exposes the stats of xdp TX queues through ethtool. V1: Use unsigned long for pointer math instead of uintptr_t Sameeh Jubran (4): net: ena: ethtool: use unsigned long for pointer arithmetics net: ena: ethtool: Add new device statistics net: ena: ethtool: add stats printing to XDP queues net: ena: xdp: add queue counters for xdp actions drivers/net/ethernet/amazon/ena/ena_admin_defs.h | 37 ++++- drivers/net/ethernet/amazon/ena/ena_com.c | 19 ++- drivers/net/ethernet/amazon/ena/ena_com.h | 9 ++ drivers/net/ethernet/amazon/ena/ena_ethtool.c | 170 +++++++++++++++++------ drivers/net/ethernet/amazon/ena/ena_netdev.c | 45 +++++- drivers/net/ethernet/amazon/ena/ena_netdev.h | 9 ++ 6 files changed, 236 insertions(+), 53 deletions(-) -- 2.16.6