Any solution to apply SR-IOV as a network driver plugin

Is there a solution which can create a network driver plugin for SR-IOV so I can start a container by
docker run --net=sriov busybox top

As far as I know, using modified-version of pipework will assign SR-IOV VFs to containers via network namespace as described at

However, if I write a plugin named sriov using libnetwork remote driver API ( ), how to implement interface
so that a SR-IOV VF can be assigned to a container?