[dpdk-dev] [PATCH v3 08/10] devargs: make parsing variadic

Thomas Monjalon thomas at monjalon.net
Sun Apr 22 23:52:05 CEST 2018


21/03/2018 00:20, Gaetan Rivet:
>  /**
>   * Add a device to the user device list
>   *
> - * For PCI devices, the format of arguments string is "PCI_ADDR" or
> - * "PCI_ADDR,key=val,key2=val2,...". Examples: "08:00.1", "0000:5:00.0",
> - * "04:00.0,arg=val".
> + * The format is
>   *
> - * For virtual devices, the format of arguments string is "DRIVER_NAME*"
> - * or "DRIVER_NAME*,key=val,key2=val2,...". Examples: "net_ring",
> - * "net_ring0", "net_pmdAnything,arg=0:arg2=1". The validity of the
> - * driver name is not checked by this function, it is done when probing
> - * the drivers.
> + *     bus:device_identifier,arg1=val1,arg2=val2
> + *
> + * Examples:
> + *
> + *     pci:0000:05.00.0,arg=val
> + *     vdev:net_ring0

I think this part should not be in the patch.
Or I miss something?




More information about the dev mailing list