[dpdk-dev] [PATCH v2] net/virtio: cache Rx/Tx offload ability check

2016-11-08 Thread Olivier Matz
Hi Yuanhan, On 11/04/2016 03:29 PM, Yuanhan Liu wrote: > It's not a good idea to do the check of whether Rx/Tx offload is > enabled at the data path. Instead, we could do the check at init > stage and store the result, so that we could avoid the check again > and again at the critical datapath. >

[dpdk-dev] [PATCH v2] net/virtio: cache Rx/Tx offload ability check

2016-11-04 Thread Yuanhan Liu
It's not a good idea to do the check of whether Rx/Tx offload is enabled at the data path. Instead, we could do the check at init stage and store the result, so that we could avoid the check again and again at the critical datapath. Cc: Olivier Matz Signed-off-by: Yuanhan Liu --- v2: - rebase