On 11/26/20 8:53 PM, Jason Wang wrote: > 1. Where does userspace vdpa tool reside which users can use? > Ans: vdpa tool can possibly reside in iproute2 [1] as it enables user to > create vdpa net devices.
iproute2 package is fine with us, but there are some expectations: syntax, command options and documentation need to be consistent with other iproute2 commands (this thread suggests it will be but just being clear), and it needs to re-use code as much as possible (e.g., json functions). If there is overlap with other tools (devlink, dcb, etc), you should refactor into common code used by all. Petr Machata has done this quite a bit for dcb and is a good example to follow.