forked from kevintraynor/dpdk-stable-queue-1811
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vdpa/ifc: handle data path update failure
[ upstream commit 903ec2b1b49e496815c016b0104fd655cd972661 ] Stop and return the error code when update_datapath fails. update_datapath prepares resources for the vdpa device. The driver should not perform any further actions if update_datapath returns an error. Fixes: a3f8150 ("net/ifcvf: add ifcvf vDPA driver") Signed-off-by: Taekyung Kim <kim.tae.kyung@navercorp.com> Reviewed-by: Chenbo Xia <chenbo.xia@intel.com> Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com> Acked-by: Andy Pei <andy.pei@intel.com>
- Loading branch information
1 parent
ad41d00
commit b9dbbd4
Showing
1 changed file
with
23 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters