Skip to content

Commit

Permalink
readme: Updated for new option support for mac address
Browse files Browse the repository at this point in the history
New option to choose a VF based on MAC address is added.

Signed-off-by: Parav Pandit <parav@mellanox.com>
  • Loading branch information
paravmellanox committed Jan 19, 2018
1 parent 730a19b commit fb860ad
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,16 @@ Below command created privileged network. All containers running in this network
$ docker network create -d passthrough --subnet=194.168.1.0/24 -o netdevice=ens2f0 -o mode=sriov -o vlan=100 -o privileged=1 customer1
```

**4.5** Selecting specific VF based on MAC address for a container

There might be a need for a user to choose a specific VF from the available pool.
This is supported based on specifing the MAC address while starting a container.

```
$ docker run --net=customer1 --mac-address=<valid_mac_address_of_desired_vf> -itd --name=web nginx
```


**5.** Test it out Passthrough mode

**5.1** Now you are ready to create a new network
Expand Down

0 comments on commit fb860ad

Please sign in to comment.