Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
vnet: store hw interface speed in kbps instead of using flags
[vpp.git]
/
src
/
plugins
/
avf
/
output.c
diff --git
a/src/plugins/avf/output.c
b/src/plugins/avf/output.c
index
c2c4b01
..
72892d1
100644
(file)
--- a/
src/plugins/avf/output.c
+++ b/
src/plugins/avf/output.c
@@
-118,7
+118,7
@@
retry:
b2 = vlib_get_buffer (vm, bi2);
b3 = vlib_get_buffer (vm, bi3);
b2 = vlib_get_buffer (vm, bi2);
b3 = vlib_get_buffer (vm, bi3);
- if (ad->flags & AVF_DEVICE_F_
IOV
A)
+ if (ad->flags & AVF_DEVICE_F_
VA_DM
A)
{
d0->qword[0] = vlib_buffer_get_current_va (b0);
d1->qword[0] = vlib_buffer_get_current_va (b1);
{
d0->qword[0] = vlib_buffer_get_current_va (b0);
d1->qword[0] = vlib_buffer_get_current_va (b1);
@@
-151,7
+151,7
@@
retry:
txq->bufs[next] = bi0;
b0 = vlib_get_buffer (vm, bi0);
txq->bufs[next] = bi0;
b0 = vlib_get_buffer (vm, bi0);
- if (ad->flags & AVF_DEVICE_F_
IOV
A)
+ if (ad->flags & AVF_DEVICE_F_
VA_DM
A)
d0->qword[0] = vlib_buffer_get_current_va (b0);
else
d0->qword[0] = vlib_buffer_get_current_pa (vm, b0);
d0->qword[0] = vlib_buffer_get_current_va (b0);
else
d0->qword[0] = vlib_buffer_get_current_pa (vm, b0);