vhost: add APIs for datapath configuration