commit | 89e419828f91ecf46c85b23576904077f62a1a2e | [log] [tgz] |
---|---|---|
author | Petr Machata <petrm@mellanox.com> | Sat Sep 02 23:49:15 2017 +0200 |
committer | David S. Miller <davem@davemloft.net> | Sun Sep 03 20:23:25 2017 -0700 |
tree | 4473d23f09e0b20dd642d758fc7c56d88d0b6ac6 | |
parent | 9571e828f460161f76dc3aa24f5857076344b2da [diff] |
mlxsw: reg: Give mlxsw_reg_ratr_pack a type parameter To support IPIP, the driver needs to be able to construct an IPIP adjacency. Change mlxsw_reg_ratr_pack to take an adjacency type as an argument. Adjust the one existing caller. Signed-off-by: Petr Machata <petrm@mellanox.com> Reviewed-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>