Re: [patch net-next 1/9] mlxsw: pci: Add resources query implementation.

2016-07-21 Thread Ido Schimmel
Thu, Jul 21, 2016 at 11:19:12AM IDT, j...@resnulli.us wrote: >From: Nogah Frankel > >Add resources query implementation. If exists, query the HW for its >builtin resources instead of having them as consts in the code. > >Signed-off-by: Nogah Frankel >Signed-off-by: Jiri Pirko Reviewed-by: Ido S

Re: [patch net-next 1/9] mlxsw: pci: Add resources query implementation.

2016-07-21 Thread Jamal Hadi Salim
On 16-07-21 05:43 AM, Jiri Pirko wrote: Thu, Jul 21, 2016 at 11:41:18AM CEST, j...@mojatatu.com wrote: Ok, here's an example: On 16-07-21 04:19 AM, Jiri Pirko wrote: Email is splitting that first line - but it is 80 chars or less You are right. Will fix this. ok, passed my first test a

Re: [patch net-next 1/9] mlxsw: pci: Add resources query implementation.

2016-07-21 Thread Jiri Pirko
Thu, Jul 21, 2016 at 11:41:18AM CEST, j...@mojatatu.com wrote: > >Ok, here's an example: > >On 16-07-21 04:19 AM, Jiri Pirko wrote: >>From: Nogah Frankel >> >> >>+static int >>+mlxsw_pci_resources_query(struct mlxsw_pci *mlxsw_pci, char *mbox, >>+ struct mlxsw_resources *reso

Re: [patch net-next 1/9] mlxsw: pci: Add resources query implementation.

2016-07-21 Thread Jamal Hadi Salim
Ok, here's an example: On 16-07-21 04:19 AM, Jiri Pirko wrote: From: Nogah Frankel +static int +mlxsw_pci_resources_query(struct mlxsw_pci *mlxsw_pci, char *mbox, + struct mlxsw_resources *resources, u8 query_enabled) +{ to: static int mlxsw_pci_resources_query(str