Re: [PATCH 3/3] net: ethernet: ti: cpsw: split common driver data and private net data

2016-08-05 Thread Ivan Khoronzhuk
On 05.08.16 15:14, Grygorii Strashko wrote: On 08/05/2016 12:14 AM, Ivan Khoronzhuk wrote: Simplify driver by splitting common driver data and net dev private data. In case of dual_emac mode 2 networks devices are created, each of them contains its own private data. But 2 net devices share a b

Re: [PATCH 3/3] net: ethernet: ti: cpsw: split common driver data and private net data

2016-08-05 Thread Grygorii Strashko
On 08/05/2016 12:14 AM, Ivan Khoronzhuk wrote: > Simplify driver by splitting common driver data and net dev > private data. In case of dual_emac mode 2 networks devices > are created, each of them contains its own private data. > But 2 net devices share a bunch of h/w resources, that shouldn't > b

[PATCH 3/3] net: ethernet: ti: cpsw: split common driver data and private net data

2016-08-04 Thread Ivan Khoronzhuk
Simplify driver by splitting common driver data and net dev private data. In case of dual_emac mode 2 networks devices are created, each of them contains its own private data. But 2 net devices share a bunch of h/w resources, that shouldn't be duplicated. This patch leads to the following: - no fun