Re: [PATCH net-next 01/10] net: dsa: mv88e6xxx: add irl_init_all op

2017-06-19 Thread Vivien Didelot
kbuild test robot writes: >drivers/net/dsa/mv88e6xxx/serdes.o: In function > `mv88e6352_g2_irl_init_all': >>> serdes.c:(.text+0x150): multiple definition of `mv88e6352_g2_irl_init_all' >drivers/net/dsa/mv88e6xxx/chip.o:chip.c:(.text+0x3200): first defined here >drivers/net/dsa/mv88e6

Re: [PATCH net-next 01/10] net: dsa: mv88e6xxx: add irl_init_all op

2017-06-18 Thread kbuild test robot
Hi Vivien, [auto build test ERROR on net-next/master] url: https://github.com/0day-ci/linux/commits/Vivien-Didelot/net-dsa-Global-2-cosmetics/20170619-033614 config: i386-randconfig-x079-06180431 (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: # save t

[PATCH net-next 01/10] net: dsa: mv88e6xxx: add irl_init_all op

2017-06-17 Thread Vivien Didelot
Some Marvell chips have an Ingress Rate Limit unit. But the command values slightly differs between models: 88E6352 use 3-bit for operations while 88E6390 use different 2-bit operations. This commit kills the IRL flags in favor of a new operation implementing the "Init all resources to the initial