public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
* Linux HSR driver question
@ 2017-02-09 20:32 Murali Karicheri
  2017-02-13 15:38 ` Arvid Brodin
  0 siblings, 1 reply; 3+ messages in thread
From: Murali Karicheri @ 2017-02-09 20:32 UTC (permalink / raw)
  To: arvid.brodin@alten.se >> Arvid Brodin,
	open list:TI NETCP ETHERNET DRIVER

Hi Arvid,

While I work to add PRP support to the existing Linux HSR driver, I came across
a piece of code related to prune node function. The hsr_device.c adds the 
prune timer in hsr_dev_finalize() by calling

add_timer(&hsr->prune_timer);

But it is never restarted in hsr_prune_nodes(). Is that intentional or a bug?
I tried adding add_timer(&hsr->prune_timer) at the end of  hsr_prune_nodes(),
but then a iperf test stops with no traffic across the hsr interface and it
never recovers. I have to delete the interface and create it again to recover.
Is that the reason, it is currently disabled?

-- 
Murali Karicheri
Linux Kernel, Keystone

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-02-13 18:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-09 20:32 Linux HSR driver question Murali Karicheri
2017-02-13 15:38 ` Arvid Brodin
2017-02-13 18:05   ` Murali Karicheri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox