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=-13.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PULL_REQUEST,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_PASS,UNPARSEABLE_RELAY,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 761CAC43381 for ; Fri, 1 Mar 2019 20:09:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 486A720848 for ; Fri, 1 Mar 2019 20:09:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726165AbfCAUJT (ORCPT ); Fri, 1 Mar 2019 15:09:19 -0500 Received: from mail-il-dmz.mellanox.com ([193.47.165.129]:45471 "EHLO mellanox.co.il" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725934AbfCAUJT (ORCPT ); Fri, 1 Mar 2019 15:09:19 -0500 Received: from Internal Mail-Server by MTLPINE1 (envelope-from saeedm@mellanox.com) with ESMTPS (AES256-SHA encrypted); 1 Mar 2019 22:09:15 +0200 Received: from sx1.mtl.com ([172.16.5.27]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id x21K9DLE019375; Fri, 1 Mar 2019 22:09:13 +0200 From: Saeed Mahameed To: "David S. Miller" Cc: netdev@vger.kernel.org, Saeed Mahameed Subject: [pull request][net-next 00/17] Mellanox, mlx5 updates 2019-03-01 Date: Fri, 1 Mar 2019 12:08:31 -0800 Message-Id: <20190301200848.9534-1-saeedm@mellanox.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Hi Dave, This series adds multi path offloads support and 2 small updates to mlx5 driver. For more information please see tag log below. I am terribly sorry for the 2 extra patches, but mostly Roi's and Eran's patches are very small and due to the lack of time I couldn't split this to two submissions. Please pull and let me know if there is any problem. Thanks, Saeed. --- The following changes since commit be9cefe796f3abfbef02e66fbe3bff766b93b867: selftests: rtnetlink: use internal netns switch for ip commands (2019-02-28 13:02:43 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux.git tags/mlx5-updates-2019-03-01 for you to fetch changes up to 85327a9c415057259b337805d356705d0d0f4200: net/mlx5: Update the list of the PCI supported devices (2019-03-01 12:04:18 -0800) ---------------------------------------------------------------- mlx5-updates-2019-03-01 This series adds multipath offload support and contains some small updates to mlx5 driver. Multipath offload support from Roi Dayan: We are going to track SW multipath route and related nexthops and reflect that as port affinity to the HW. 1) Some patches are preparation. 2) add the multipath mode and fib events handling. 3) add support to handle offload failure for net error, i.e. port down. 4) Small updates to match the behavior of multipath Two small updates from Eran Ben Elisha, 5) Make a function static 6) Update PCIe supported devices list. ---------------------------------------------------------------- Eran Ben Elisha (2): net/mlx5e: Declare mlx5e_tx_reporter_recover_from_ctx as static net/mlx5: Update the list of the PCI supported devices Roi Dayan (15): net/mlx5e: Cleanup attach encap function net/mlx5e: Don't make internal use of errno to denote missing neigh net/mlx5: Use unsigned int bit instead of bool as a struct member net/mlx5: Expose lag operations in header file net/mlx5: Use own workqueue for lag netdev events processing net/mlx5: Add multipath mode net/mlx5e: Activate HW multipath and handle port affinity based on FIB events net/mlx5e: Don't inherit flow flags on peer flow creation net/mlx5e: Allow one failure when offloading tc encap rules under multipath net/mlx5: Emit port affinity event for multipath offloads net/mlx5e: Re-attempt to offload flows on multipath port affinity events net/mlx5e: Always query offloaded tc peer rule counter net/mlx5e: Use hint to resolve route when in HW multipath mode net/mlx5e: Update check for merged eswitch device net/mlx5e: Set peer flow needed also for multipath drivers/net/ethernet/mellanox/mlx5/core/Makefile | 2 +- .../ethernet/mellanox/mlx5/core/en/reporter_tx.c | 2 +- .../net/ethernet/mellanox/mlx5/core/en/tc_tun.c | 20 +- drivers/net/ethernet/mellanox/mlx5/core/en_rep.c | 40 ++- drivers/net/ethernet/mellanox/mlx5/core/en_rep.h | 3 + drivers/net/ethernet/mellanox/mlx5/core/en_tc.c | 155 +++++++--- drivers/net/ethernet/mellanox/mlx5/core/en_tc.h | 1 + drivers/net/ethernet/mellanox/mlx5/core/eswitch.c | 7 + drivers/net/ethernet/mellanox/mlx5/core/eswitch.h | 2 + drivers/net/ethernet/mellanox/mlx5/core/lag.c | 73 ++--- drivers/net/ethernet/mellanox/mlx5/core/lag.h | 65 +++++ drivers/net/ethernet/mellanox/mlx5/core/lag_mp.c | 315 +++++++++++++++++++++ drivers/net/ethernet/mellanox/mlx5/core/lag_mp.h | 26 ++ drivers/net/ethernet/mellanox/mlx5/core/main.c | 2 + include/linux/mlx5/driver.h | 2 + 15 files changed, 606 insertions(+), 109 deletions(-) create mode 100644 drivers/net/ethernet/mellanox/mlx5/core/lag.h create mode 100644 drivers/net/ethernet/mellanox/mlx5/core/lag_mp.c create mode 100644 drivers/net/ethernet/mellanox/mlx5/core/lag_mp.h