mlxsw: core: Add devlink shared buffer callbacks
authorJiri Pirko <jiri@mellanox.com>
Thu, 14 Apr 2016 16:19:15 +0000 (18:19 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 Apr 2016 20:22:03 +0000 (16:22 -0400)
commita6179bf0d17a4d71075bad2a0b17a752fc973b64
tree931fb4e59d9edfff8a365e77a6e96bbfedffaf7e
parentdf38dafd255954ee7012785c62e615f595d5cb3c
mlxsw: core: Add devlink shared buffer callbacks

Add middle layer in mlxsw core code to forward shared buffer calls
into specific ASIC drivers.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/core.c
drivers/net/ethernet/mellanox/mlxsw/core.h