Re: [PATCH] net: dsa: fix filling rtable from OF description

2015-04-04 Thread Andrew Lunn
On Sat, Apr 04, 2015 at 04:48:48PM +0300, Pavel Nakonechny wrote: > According to description in 'include/net/dsa.h', in cascade switches > configurations where there are more than one interconnected devices, > 'rtable' array in 'dsa_chip_data' structure is used to indicate which > port on this swit

Re: [PATCH] net: dsa: fix filling rtable from OF description

2015-04-04 Thread Andrew Lunn
On Sat, Apr 04, 2015 at 08:10:09PM +0300, Pavel Nakonechny wrote: > Hi Andrew > > ?? 4 2015 18:38:14 > Andrew Lunn ??: > > There is the code after applying your patch: > > > > static int dsa_of_setup_routing_table(struct dsa_pla

Re: [PATCH] net: dsa: fix filling rtable from OF description

2015-04-04 Thread Pavel Nakonechny
Hi Andrew В письме от 4 апреля 2015 18:38:14 пользователь Andrew Lunn написал: > There is the code after applying your patch: > > static int dsa_of_setup_routing_table(struct dsa_platform_data *pd, > struct dsa_chip_data *cd, >

Re: [PATCH] net: dsa: fix filling rtable from OF description

2015-04-04 Thread Andrew Lunn
Hi Pavel There is the code after applying your patch: static int dsa_of_setup_routing_table(struct dsa_platform_data *pd, struct dsa_chip_data *cd, int chip_index, int port_index,

[PATCH] net: dsa: fix filling rtable from OF description

2015-04-04 Thread Pavel Nakonechny
According to description in 'include/net/dsa.h', in cascade switches configurations where there are more than one interconnected devices, 'rtable' array in 'dsa_chip_data' structure is used to indicate which port on this switch should be used to send packets to that are destined for corresponding s