From patchwork Thu Feb 25 11:23:51 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vladimir Oltean X-Patchwork-Id: 387573 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=-10.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham 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 8542BC433E0 for ; Thu, 25 Feb 2021 11:25:11 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3215964EF5 for ; Thu, 25 Feb 2021 11:25:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235529AbhBYLZD (ORCPT ); Thu, 25 Feb 2021 06:25:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42214 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234247AbhBYLYz (ORCPT ); Thu, 25 Feb 2021 06:24:55 -0500 Received: from mail-ed1-x52b.google.com (mail-ed1-x52b.google.com [IPv6:2a00:1450:4864:20::52b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 65F09C061574 for ; Thu, 25 Feb 2021 03:24:15 -0800 (PST) Received: by mail-ed1-x52b.google.com with SMTP id c6so6407082ede.0 for ; Thu, 25 Feb 2021 03:24:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=f9CoI6+o7lHbdWJowEye8ec9en6enB/DY/bQIiYRvWc=; b=SvPI81APbZUTYOQXhbmKgti+xvxHQjW4jrQ+Pa9ToMvcF3EAClyX4DQJQgQLQNA1wm riwNPH131AMQS2ehDRiUAglvEyNAGFkjnRHHfSesZlNXEtE6tDOmSQhRzWaHhkQ+8aW6 9e89xJ/5KZ23+HpTeV0FryJpMy04Ia+tAUMaqspoccPmc1DtGPTcsGo9rvUBULFKS7JL It7JyGObcgzRn/63QEpPmWqIbwFYOpX/BdB7R3Zz09Y9Posyob1gMou6SlZkjv5hqA1N /8QqNVpYAYohkmrp/vYqdPoQQh8ub4Ai0VBQu+8xXfQV5eIWe4XhtwqoLn/yBXHhKL/V dTpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=f9CoI6+o7lHbdWJowEye8ec9en6enB/DY/bQIiYRvWc=; b=gZeNiGVTp9dszzUe4d1Zf39ZGGC98D3aFjwAtWRHWtvi2ib7ZCOa7tMufTgKgg0eNK BKpI+pS0yjOengDyGtw1oqn3OiQQMb3HovpxTurqsaBBSeexT1qRULwVzZlxVjISSwjH aLf78VNJ3jAv/IDkk3Lsjhst5nupFMbtKL2ERrR2n3KX374C8zQFbwgN/OTWifnleYF5 aFlDXIBPKfieWMFuxI041eVPlskncqow03XG8Qm5LKspIvoIkLwKU1Q4ikRCTJSXrGib e2pO+VTArzj8LDcv08Sh3Lsoja7wJp/rdZC39Wb88KOZI4fKP3sD/OhBWdAVDduxMe2a PNLQ== X-Gm-Message-State: AOAM533UOELih4GLXD1QuYIjcB9iKqfJBBnDyAbGyfzuXGeo1kPVzv/v rmKZFCTk7bhuvIv9KT9Xum4= X-Google-Smtp-Source: ABdhPJwfzJtJTSM2OXHQdlDGwobBNuuj2y0AH4opY7AK+yNkS6UrRzqTzXlwusb2coiptA6nes6s6A== X-Received: by 2002:a05:6402:95b:: with SMTP id h27mr2337535edz.77.1614252254165; Thu, 25 Feb 2021 03:24:14 -0800 (PST) Received: from localhost.localdomain ([188.25.217.13]) by smtp.gmail.com with ESMTPSA id v12sm2977156ejh.94.2021.02.25.03.24.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Feb 2021 03:24:13 -0800 (PST) From: Vladimir Oltean To: "David S . Miller" , Jakub Kicinski , netdev@vger.kernel.org Cc: Michael Walle , Claudiu Manoil , Alexandru Marginean , Vladimir Oltean Subject: [PATCH net 0/6] Fixes for NXP ENETC driver Date: Thu, 25 Feb 2021 13:23:51 +0200 Message-Id: <20210225112357.3785911-1-olteanv@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org From: Vladimir Oltean This contains an assorted set of fixes collected over the past week on the enetc driver. Some are related to VLAN processing, some to physical link settings, some are fixups of previous hardware workarounds. Vladimir Oltean (6): net: enetc: don't overwrite the RSS indirection table when initializing net: enetc: initialize RFS/RSS memories for unused ports too net: enetc: take the MDIO lock only once per NAPI poll cycle net: enetc: fix incorrect TPID when receiving 802.1ad tagged packets net: enetc: don't disable VLAN filtering in IFF_PROMISC mode net: enetc: force the RGMII speed and duplex instead of operating in inband mode drivers/net/ethernet/freescale/enetc/enetc.c | 127 +++++------------- drivers/net/ethernet/freescale/enetc/enetc.h | 5 + .../net/ethernet/freescale/enetc/enetc_cbdr.c | 54 ++++++++ .../net/ethernet/freescale/enetc/enetc_hw.h | 18 ++- .../net/ethernet/freescale/enetc/enetc_pf.c | 103 +++++++++++--- .../net/ethernet/freescale/enetc/enetc_vf.c | 7 + 6 files changed, 202 insertions(+), 112 deletions(-)