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=-3.9 required=3.0 tests=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 E3C6EC55186 for ; Wed, 22 Apr 2020 08:09:56 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C029F206E9 for ; Wed, 22 Apr 2020 08:09:56 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=amazon.com header.i=@amazon.com header.b="v/eUKkgr" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726565AbgDVIJ4 (ORCPT ); Wed, 22 Apr 2020 04:09:56 -0400 Received: from smtp-fw-4101.amazon.com ([72.21.198.25]:57816 "EHLO smtp-fw-4101.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726527AbgDVIJs (ORCPT ); Wed, 22 Apr 2020 04:09:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1587542989; x=1619078989; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=eMKzav3j1FzbCMKZ9ztyP7zJNLMb8g9HOBHIBSJ5gz4=; b=v/eUKkgrNUELDgAe9gYaGeiAdoR4m25em0rQalcFNCZTWsGIErx6hMEg OqJWkjuoV/ELqe9TMfYJoy7AFz6nCMtEUq2rE+AOQQ+VXfpJ6+kpHjHjw QjYEUUGo3ofhQ9OvvP4idp6fWdVUpV0jNUrNGjde7/VD1sQ/mIlsHx6xo c=; IronPort-SDR: RYV//7x4y+f6PdZH0k9o/5NTjNe5FwASURCeZXpTVJF7K/UuU3khbSIPxDjNjH+jAF50KOvYrl tRHdSDGsgJ4w== X-IronPort-AV: E=Sophos;i="5.72,412,1580774400"; d="scan'208";a="26803349" Received: from iad12-co-svc-p1-lb1-vlan3.amazon.com (HELO email-inbound-relay-1d-474bcd9f.us-east-1.amazon.com) ([10.43.8.6]) by smtp-border-fw-out-4101.iad4.amazon.com with ESMTP; 22 Apr 2020 08:09:34 +0000 Received: from EX13MTAUWA001.ant.amazon.com (iad55-ws-svc-p15-lb9-vlan2.iad.amazon.com [10.40.159.162]) by email-inbound-relay-1d-474bcd9f.us-east-1.amazon.com (Postfix) with ESMTPS id 7B809A239B; Wed, 22 Apr 2020 08:09:32 +0000 (UTC) Received: from EX13d09UWA002.ant.amazon.com (10.43.160.186) by EX13MTAUWA001.ant.amazon.com (10.43.160.118) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 22 Apr 2020 08:09:32 +0000 Received: from EX13MTAUWA001.ant.amazon.com (10.43.160.58) by EX13d09UWA002.ant.amazon.com (10.43.160.186) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 22 Apr 2020 08:09:31 +0000 Received: from dev-dsk-sameehj-1c-1edacdb5.eu-west-1.amazon.com (172.19.82.3) by mail-relay.amazon.com (10.43.160.118) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Wed, 22 Apr 2020 08:09:31 +0000 Received: by dev-dsk-sameehj-1c-1edacdb5.eu-west-1.amazon.com (Postfix, from userid 9775579) id 5485B81CE8; Wed, 22 Apr 2020 08:09:31 +0000 (UTC) From: To: , CC: Sameeh Jubran , , , , , , , , , , , , , Subject: [PATCH V1 net 00/13] Enhance current features in ena driver Date: Wed, 22 Apr 2020 08:09:10 +0000 Message-ID: <20200422080923.6697-1-sameehj@amazon.com> X-Mailer: git-send-email 2.24.1.AMZN MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 patchset introduces the following: * minor changes to RSS feature * add total rx and tx drop counter * add unmask_interrupt counter for ethtool statistics * add missing implementation for ena_com_get_admin_polling_mode() * some minor code clean-up and cosmetics * use SHUTDOWN as reset reason when closing interface Arthur Kiyanovski (6): net: ena: fix error returning in ena_com_get_hash_function() net: ena: avoid unnecessary admin command when RSS function set fails net: ena: change default RSS hash function to Toeplitz net: ena: implement ena_com_get_admin_polling_mode() net: ena: move llq configuration from ena_probe to ena_device_init() net: ena: cosmetic: extract code to ena_indirection_table_set() Sameeh Jubran (7): net: ena: allow setting the hash function without changing the key net: ena: changes to RSS hash key allocation net: ena: remove code that does nothing net: ena: add unmask interrupts statistics to ethtool net: ena: add support for reporting of packet drops net: ena: use SHUTDOWN as reset reason when closing interface net: ena: cosmetic: remove unnecessary spaces and tabs in ena_com.h macros .../net/ethernet/amazon/ena/ena_admin_defs.h | 8 + drivers/net/ethernet/amazon/ena/ena_com.c | 44 +++--- drivers/net/ethernet/amazon/ena/ena_com.h | 39 +++-- drivers/net/ethernet/amazon/ena/ena_ethtool.c | 68 ++++---- drivers/net/ethernet/amazon/ena/ena_netdev.c | 146 ++++++++++-------- drivers/net/ethernet/amazon/ena/ena_netdev.h | 2 + 6 files changed, 181 insertions(+), 126 deletions(-) -- 2.24.1.AMZN