From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vlad Yasevich Subject: [PATCH v2 resent net-next 0/4] Provide default fdb operation to allow mac filter setting Date: Wed, 6 Mar 2013 20:39:41 -0500 Message-ID: <1362620385-14553-1-git-send-email-vyasevic@redhat.com> Cc: or.gerlitz@gmail.com, Vlad Yasevich To: netdev@vger.kernel.org Return-path: Received: from mx1.redhat.com ([209.132.183.28]:28766 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751132Ab3CGBju (ORCPT ); Wed, 6 Mar 2013 20:39:50 -0500 Sender: netdev-owner@vger.kernel.org List-ID: This is a short series that now allows mac filter programming on any card that support IFF_UNICAST_FLT by using the existing FDB interface. Some existing drivers that had FDB functionality usually supported it only in SR-IOV mode. Since that's not always enabled, and we want to take advantage of IFF_UNICAST_FLT support, these drivers have been converted to call the default handler when not in SRIOV mode. Changes since v1: - Restore ixgbe implementation of fdb_add since it needs to enforce the limit of addresses in SR-IOV case. Changes since RFC: - Removed ixgbe and mlx versions of fdb calls as recommened. - Added qlogic patch to use default calls when module parameter is not turned on. Vlad Yasevich (4): net: generic fdb support for drivers without ndo_fdb_ ixgbe: Make use of the default fdb handlers. mlx4: Remove driver specific fdb handlers. qlcnic: Use generic fdb handler when driver options are not enabled. drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 42 +----------- drivers/net/ethernet/mellanox/mlx4/en_netdev.c | 76 -------------------- drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c | 21 ++---- include/linux/rtnetlink.h | 9 +++ net/core/rtnetlink.c | 81 ++++++++++++++++++++-- 5 files changed, 91 insertions(+), 138 deletions(-) -- 1.7.7.6