commit | 9571e828f460161f76dc3aa24f5857076344b2da | [log] [tgz] |
---|---|---|
author | Petr Machata <petrm@mellanox.com> | Sat Sep 02 23:49:14 2017 +0200 |
committer | David S. Miller <davem@davemloft.net> | Sun Sep 03 20:23:25 2017 -0700 |
tree | 5b2fda5e5ed78a2329c4168b619ca2b0a2c42fd8 | |
parent | 1e659ebf581997a988faebe56e900e7139a9ccb1 [diff] |
mlxsw: reg: Extract mlxsw_reg_ritr_mac_pack() Unlike other interface types, loopback RIFs do not have MAC address. So drop the corresponding argument from mlxsw_reg_ritr_pack() and move it to a new function. Call that from callers of mlxsw_reg_ritr_pack. 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>