mlxsw: spectrum_ptp: Apply the PTP shaper enable/disable logic
authorShalom Toledo <shalomt@mellanox.com>
Thu, 4 Jul 2019 07:07:40 +0000 (10:07 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 5 Jul 2019 22:28:57 +0000 (15:28 -0700)
commit72458e2794884a75808b646fd6f085385046f681
tree8bdce3e267f616d9a7b1edf04509135b7581c7cd
parent5fc1733897bff10b2a9d1fb1eae775c96cefa333
mlxsw: spectrum_ptp: Apply the PTP shaper enable/disable logic

Apply by filling the PTP shaper parameters array.

Signed-off-by: Shalom Toledo <shalomt@mellanox.com>
Reviewed-by: Petr Machata <petrm@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c