From mboxrd@z Thu Jan 1 00:00:00 1970 From: Or Gerlitz Subject: [PATCH net-next V1 0/9] Mellanox driver updates Date: Sun, 3 Nov 2013 10:03:16 +0200 Message-ID: <1383465805-28640-1-git-send-email-ogerlitz@mellanox.com> Cc: netdev@vger.kernel.org, amirv@mellanox.com, roland@kernel.org, jackm@dev.mellanox.co.il, Or Gerlitz To: davem@davemloft.net Return-path: Received: from mailp.voltaire.com ([193.47.165.129]:37873 "EHLO mellanox.co.il" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1752014Ab3KCIDc (ORCPT ); Sun, 3 Nov 2013 03:03:32 -0500 Sender: netdev-owner@vger.kernel.org List-ID: Hi Dave, This patch set from Jack Morgenstein does the following: 1. Fix MAC/VLAN SRIOV implementation, and add wrapper functions for VLAN allocation and de-allocation (patches 1-6). 2. Implements resource quotas when running under SRIOV (patches 7-10). Patch 7 is a small bug fix, and patches 8-10 implement the quotas. Quotas are implemented per resource type for VFs and the PF, to prevent any entity from simply grabbing all the resources for itself and leaving the other entities unable to obtain such resources. The series is against net-next commit ba48650 "ipv6: remove the unnecessary statement in find_match()" changes from V0: - dropped the 1st patch which needs to go to -stable and hence through net, not net-next Or. Jack Morgenstein (9): net/mlx4_core: Fix register/unreg vlan flow net/mlx4_core: Fix reg/unreg vlan/mac to conform to the firmware spec net/mlx4_en: Use vlan id instead of vlan index for unregistration net/mlx4_core: Resource tracker for reg/unreg vlans net/mlx4_core: Don't fail reg/unreg vlan for older guests net/mlx4_core: Fix checking order in MR table init mlx4: Structures and init/teardown for VF resource quotas net/mlx4_core: Fix quota handling in the QUERY_FUNC_CAP wrapper net/mlx4_core: Implement resource quota enforcement drivers/infiniband/hw/mlx4/main.c | 8 +- drivers/net/ethernet/mellanox/mlx4/cmd.c | 3 +- drivers/net/ethernet/mellanox/mlx4/en_netdev.c | 6 +- drivers/net/ethernet/mellanox/mlx4/fw.c | 99 +++-- drivers/net/ethernet/mellanox/mlx4/main.c | 32 +- drivers/net/ethernet/mellanox/mlx4/mlx4.h | 21 +- drivers/net/ethernet/mellanox/mlx4/mr.c | 6 +- drivers/net/ethernet/mellanox/mlx4/port.c | 87 ++-- drivers/net/ethernet/mellanox/mlx4/qp.c | 3 +- .../net/ethernet/mellanox/mlx4/resource_tracker.c | 510 ++++++++++++++++++-- include/linux/mlx4/device.h | 20 +- 11 files changed, 675 insertions(+), 120 deletions(-)