net/virtio: extract common part for in-order functions
authorMarvin Liu <yong.liu@intel.com>
Mon, 2 Jul 2018 13:56:39 +0000 (21:56 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 2 Jul 2018 23:35:58 +0000 (01:35 +0200)
commit7f9934d5ac58112f2bbfc590a50df5d870e516ba
treefa120d879440ffe544eb915ee7b1f13d25a4132b
parent7097ca1bcf76790e013f2e7dd8472b8a85793bd2
net/virtio: extract common part for in-order functions

IN_ORDER virtio-user Tx function support Tx checksum offloading and
TSO which also support on normal Tx function. So extracts common part
into separated function for reuse.

Signed-off-by: Marvin Liu <yong.liu@intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
drivers/net/virtio/virtio_rxtx.c