net/virtio: use pointer to replace memcpy
authorZhiyong Yang <zhiyong.yang@intel.com>
Fri, 11 Aug 2017 02:13:18 +0000 (10:13 +0800)
committerYuanhan Liu <yliu@fridaylinux.org>
Tue, 10 Oct 2017 13:54:31 +0000 (15:54 +0200)
commitda4f2e4bb76e09a88fe2aabde1f89a7fc0dc9d0f
treef0da1454a6537ab0f11465db21cfc2fa8fea28d3
parente60340c4f71c6a832c4c693258aaf33d316d11a6
net/virtio: use pointer to replace memcpy

To use pointer instead of memcpy can save many cycles in the funciton
virtio_send_command.

Signed-off-by: Zhiyong Yang <zhiyong.yang@intel.com>
Acked-by: Fan Zhang <roy.fan.zhang@intel.com>
Acked-by: Yuanhan Liu <yliu@fridaylinux.org>
drivers/net/virtio/virtio_ethdev.c