Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1560862

Re: [PATCH] net: ethernet: stmmac: add ARP management

From Florian Fainelli <f.fainelli@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH] net: ethernet: stmmac: add ARP management
Date 2017-01-17 18:50 +0100
Message-ID <t0G3o-1zz-33@gated-at.bofh.it> (permalink)
References <t0Fh0-12w-13@gated-at.bofh.it> <t0FK2-1rB-35@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 01/17/2017 09:25 AM, Andrew Lunn wrote:
> On Tue, Jan 17, 2017 at 05:56:40PM +0100, Christophe Roullier wrote:
>> DWC_ether_qos supports the Address Recognition
> 
> Resolution not 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.
> 
> What about when .ndo_set_mac_address is called?

Was wondering about the same thing, but presumably, if there is correct
programming of the MAC address into the appropriate MAC address
registers, one could expect the hardware to latch that value while
generating the ARP replies?

While it sounds like this feature may be useful under heavy ARP spoofing
workloads, in practice, ARP packets are both small and infrequent, so
this sounds like micro optimization.
-- 
Florian

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] net: ethernet: stmmac: add ARP management Christophe Roullier <christophe.roullier@st.com> - 2017-01-17 18:00 +0100
  Re: [PATCH] net: ethernet: stmmac: add ARP management David Miller <davem@davemloft.net> - 2017-01-17 18:10 +0100
  Re: [PATCH] net: ethernet: stmmac: add ARP management Andrew Lunn <andrew@lunn.ch> - 2017-01-17 18:30 +0100
    Re: [PATCH] net: ethernet: stmmac: add ARP management Florian Fainelli <f.fainelli@gmail.com> - 2017-01-17 18:50 +0100
  Re: [PATCH] net: ethernet: stmmac: add ARP management Florian Fainelli <f.fainelli@gmail.com> - 2017-01-17 18:30 +0100
  Re: [PATCH] net: ethernet: stmmac: add ARP management Andy Shevchenko <andy.shevchenko@gmail.com> - 2017-01-18 00:20 +0100
  Re: [PATCH] net: ethernet: stmmac: add ARP management kbuild test robot <lkp@intel.com> - 2017-01-18 04:00 +0100
  Re: [PATCH] net: ethernet: stmmac: add ARP management Rayagond Kokatanur <rayagond@vayavyalabs.com> - 2017-01-18 11:20 +0100

csiph-web