From patchwork Tue Jul 9 02:36:21 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?QmlhbyBIdWFuZyAo6buE5b2qKQ==?= X-Patchwork-Id: 1129445 Return-Path: X-Original-To: patchwork-incoming-netdev@ozlabs.org Delivered-To: patchwork-incoming-netdev@ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=netdev-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=mediatek.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 45jRKW3vcBz9sMQ for ; Tue, 9 Jul 2019 12:36:47 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727217AbfGICgp (ORCPT ); Mon, 8 Jul 2019 22:36:45 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:10001 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726394AbfGICgo (ORCPT ); Mon, 8 Jul 2019 22:36:44 -0400 X-UUID: 40d671520f5b410e8d94f18279514482-20190709 X-UUID: 40d671520f5b410e8d94f18279514482-20190709 Received: from mtkcas09.mediatek.inc [(172.21.101.178)] by mailgw02.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 851567057; Tue, 09 Jul 2019 10:36:36 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs01n1.mediatek.inc (172.21.101.68) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Tue, 9 Jul 2019 10:36:34 +0800 Received: from localhost.localdomain (10.17.3.153) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Tue, 9 Jul 2019 10:36:34 +0800 From: Biao Huang To: , Jose Abreu , CC: Giuseppe Cavallaro , Alexandre Torgue , Maxime Coquelin , Matthias Brugger , , , , , , , , , Subject: [PATCH 0/2 net-next] fix out-of-boundary issue and add taller hash table support Date: Tue, 9 Jul 2019 10:36:21 +0800 Message-ID: <20190709023623.8358-1-biao.huang@mediatek.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 X-MTK: N Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Fix mac address out-of-boundary issue in net-next tree. and resend the patch which was discussed in https://lore.kernel.org/patchwork/patch/1082117 but with no further progress. Biao Huang (2): net: stmmac: dwmac4: mac address array boudary violation issue net: stmmac: add support for hash table size 128/256 in dwmac4 drivers/net/ethernet/stmicro/stmmac/common.h | 7 +-- drivers/net/ethernet/stmicro/stmmac/dwmac4.h | 4 +- .../net/ethernet/stmicro/stmmac/dwmac4_core.c | 51 +++++++++++-------- .../net/ethernet/stmicro/stmmac/dwmac4_dma.c | 1 + .../net/ethernet/stmicro/stmmac/stmmac_main.c | 6 +++ 5 files changed, 43 insertions(+), 26 deletions(-)