[dpdk-dev] [PATCH 3/3] vhost: arrange virtio_net fields for better cache sharing

Xie, Huawei huawei.xie at intel.com
Wed Jun 1 08:42:21 CEST 2016


On 5/3/2016 8:42 AM, Yuanhan Liu wrote:
> the ifname[] field takes so much space, that it seperate some frequently
> used fields into different caches, say, features and broadcast_rarp.
>
> This patch move all those fields that will be accessed frequently in Rx/Tx
> together (before the ifname[] field) to let them share one cache line.
>
> Signed-off-by: Yuanhan Liu <yuanhan.liu at linux.intel.com>

Acked-by: Huawei Xie <huawei.xie at intel.com>



More information about the dev mailing list