net/mlx5: split MAC address add/remove code