Re: [PATCH] net: fec: reset rx mode when do suspend/resume or link status change
From: Shawn Guo <hidden>
Date: 2013-06-27 13:15:16
From: Shawn Guo <hidden>
Date: 2013-06-27 13:15:16
On Thu, Jun 27, 2013 at 01:09:19PM +0800, Fugang Duan wrote:
When do suspend/resume, or plug/unplug network cable, or net watchdog timeout process, fec_restart reinit the enet group hash table to zero. It is not reasonable for this, so re-config the enet group hash table when these actions happen. Signed-off-by: Fugang Duan <redacted> --- drivers/net/ethernet/freescale/fec_main.c | 153 ++++++++++++++--------------- 1 files changed, 76 insertions(+), 77 deletions(-)
A forward declaration of set_multicast_list() can simply save these dramatic diff stat? Shawn