The poet includes this simile most likely to -
A help the reader imagine seeing a veil
This option best captures the purpose of the simile, as it creates a vivid image that allows the reader to visualize the flock of swans resembling a "long white veil" against the setting sun over the sea.