aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/ixge/ixge.c
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2018-03-04 17:37:15 +0100
committerDamjan Marion <dmarion.lists@gmail.com>2018-03-04 18:32:21 +0000
commit2060db832a9b77345e6beb9a4dd5b18e8f9427cf (patch)
tree01f269072eb54e9b228675d918b24012d7fd31c1 /src/plugins/ixge/ixge.c
parent44bcc20fcfaa572f500c8acf1b94dda7d3f5151c (diff)
vlib: map pci region by using vfio FD when vfio is used
Change-Id: Ib94e9e9e9fcdad9cdb0e3402b3de7d78bd644abe Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/plugins/ixge/ixge.c')
-rw-r--r--src/plugins/ixge/ixge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/ixge/ixge.c b/src/plugins/ixge/ixge.c
index 8e9203e0a82..c13537da74e 100644
--- a/src/plugins/ixge/ixge.c
+++ b/src/plugins/ixge/ixge.c
@@ -2862,7 +2862,7 @@ ixge_pci_init (vlib_main_t * vm, vlib_pci_dev_handle_t h)
if (error)
return error;
- error = vlib_pci_map_resource (h, 0, &r);
+ error = vlib_pci_map_region (h, 0, &r);
if (error)
return error;