[dpdk-dev] [PATCH v2 01/10] lib/librte_vhost: add vhost user private info structure

Wodkowski, PawelX pawelx.wodkowski at intel.com
Wed Mar 21 12:41:21 CET 2018


> int
> vhost_user_register_call_back(struct virtio_net *dev, msg_handler
> post_msg_handler);
> 
> >
> > Also, it might be interesting for the external backend to register callbacks for
> > existing requests. For example .pre_vhost_user_msg_handler
> > and .post_vhost_user_msg_handler. Doing so, the external backend could
> > for example catch beforehand any change that could affect resources being
> > used. Tomasz, Pawel, do you think that could help for the issue you reported?
> >
> 

Sorry, I didn't see this patch series somehow. I need to fix my mail filters.
This is definitely good idea to introduce pre and vhost user post message handlers.

> 
> I think it is definitely a good idea. However there will be a problem. As
> vhost_crypto does not require pre_vhost_user_msg_handler I think it may not
> appropriate to add pre_vhost_user_msg_handler in this patchset.
> 
> Thanks a million Maxime.
> 
> > Thanks,
> > Maxime

Paweł


More information about the dev mailing list