s3:lib: extend interpret_interface() to optionally read speed, caps, and index from...
authorMichael Adam <obnox@samba.org>
Mon, 25 Jan 2016 02:38:54 +0000 (03:38 +0100)
committerMichael Adam <obnox@samba.org>
Tue, 26 Jan 2016 06:33:16 +0000 (07:33 +0100)
commit8284b34f95639ad7c2e3a97b514529201c20e2ed
treefb7510b0be45dbc0367171122c331ad917f79aff
parent3785be8d4e66f1bf01ec1b64a8e2325e4de08196
s3:lib: extend interpret_interface() to optionally read speed, caps, and index from config

New syntax for interfaces parameter:

  interfaces = address[;key=value[,key=value[,...]]]

- keys can be 'speed', 'capability', and 'if_index'.

- speed is in bits per second.

- capability can be RSS and RDMA.

- if_index should be used with care, because
  these indexes should not conicide with indexes
  the kernel sets...

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source3/lib/interface.c