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

2016-07-22 Thread Jiri Pirko
Fri, Jul 22, 2016 at 07:17:14PM CEST, d...@cumulusnetworks.com wrote: >On 7/21/16 4:03 AM, Jiri Pirko 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 Fr

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

2016-07-22 Thread David Ahern
On 7/21/16 4:03 AM, Jiri Pirko 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 Reviewed-by: Ido Schimmel Signed-off-by: Jiri Pirko any plans to allow

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

2016-07-21 Thread Jiri Pirko
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 Reviewed-by: Ido Schimmel Signed-off-by: Jiri Pirko --- v1->v2: - fixed function wrapping issues pointed out by