Re: [PATCH net v3] net: dsa: Check existence of .port_mdb_add callback before calling it

2019-08-11 Thread David Miller
From: Chen-Yu Tsai Date: Sun, 11 Aug 2019 22:18:25 +0800 > From: Chen-Yu Tsai > > The dsa framework has optional .port_mdb_{prepare,add,del} callback fields > for drivers to handle multicast database entries. When adding an entry, the > framework goes through a prepare phase, then a commit phas

Re: [PATCH net v3] net: dsa: Check existence of .port_mdb_add callback before calling it

2019-08-11 Thread Vivien Didelot
Hi Chen-Yu, On Sun, 11 Aug 2019 22:18:25 +0800, Chen-Yu Tsai wrote: > From: Chen-Yu Tsai > > The dsa framework has optional .port_mdb_{prepare,add,del} callback fields > for drivers to handle multicast database entries. When adding an entry, the > framework goes through a prepare phase, then a

[PATCH net v3] net: dsa: Check existence of .port_mdb_add callback before calling it

2019-08-11 Thread Chen-Yu Tsai
From: Chen-Yu Tsai The dsa framework has optional .port_mdb_{prepare,add,del} callback fields for drivers to handle multicast database entries. When adding an entry, the framework goes through a prepare phase, then a commit phase. Drivers not providing these callbacks should be detected in the pr