On Mon, Mar 12, 2018 at 3:57 AM, Sara Gittlin <sara.gitt...@gmail.com>
wrote:

> Dear Florin,
>
> When using the command " create tap rx-ring-size 4096 tx-ring-size 4096 "
>  VPP create the devices with default names tap0, tap1, ..tapn.
>
> Is it possible for the user to set the name in the 'create' command line ?
>
> Thank you in advance
> -Sara


Hi Sara,

Welcome to my battle!

Luckily, there is a way to do as you wish!  If you set the "instance"
value <n> during the tap_create API call, or use "id <n>" during the
"create tap ..." CLI command, you will create an interface of the
name "tap<n>".  You may not use a different prefix than "tap", but
at least you can know what the name will be when it is created.

HTH,
jdl

Reply via email to