From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751125AbdAQRTc (ORCPT ); Tue, 17 Jan 2017 12:19:32 -0500 Received: from mail-pf0-f193.google.com ([209.85.192.193]:34474 "EHLO mail-pf0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750888AbdAQRTa (ORCPT ); Tue, 17 Jan 2017 12:19:30 -0500 Subject: Re: [PATCH] net: ethernet: stmmac: add ARP management To: Christophe Roullier , Alexandre Torgue , Giuseppe Cavallaro , netdev@vger.kernel.org, linux-kernel@vger.kernel.org References: <1484672200-7755-1-git-send-email-christophe.roullier@st.com> From: Florian Fainelli Message-ID: Date: Tue, 17 Jan 2017 09:17:38 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: <1484672200-7755-1-git-send-email-christophe.roullier@st.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 01/17/2017 08:56 AM, Christophe Roullier wrote: > DWC_ether_qos supports the Address Recognition > Protocol (ARP) Offload for IPv4 packets. This feature > allows the processing of the IPv4 ARP request packet > in the receive path and generating corresponding ARP > response packet in the transmit path. DWC_ether_qos > generates the ARP reply packets for appropriate ARP > request packets. > diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c > index 4daa8a3..92a0db9 100644 > --- a/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c > +++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c > @@ -306,6 +306,7 @@ struct plat_stmmacenet_data * > plat->has_gmac = 0; > plat->pmt = 1; > plat->tso_en = of_property_read_bool(np, "snps,tso"); > + plat->arp_en = of_property_read_bool(np, "snps,arp"); You introduce a new property that needs to be documented in the Device Tree binding document for stmmac. -- Florian