[dpdk-dev] [PATCH 0/2] lib/librte_vhost: coding style fixes

Tetsuya Mukawa mukawa at igel.co.jp
Fri Nov 7 04:16:53 CET 2014


Hi Xie,

Do you have a plan to fix coding style of 'librte_vhost/vhost-net-cdev.h'?
Especially, PRINT_PACKET macro.

Thanks,
Tetsuya

(2014/11/06 13:46), Huawei Xie wrote:
> This patchset fixes serious coding style issues in vhost library.
>
> Huawei Xie (2):
>   fix alignment, lengthy lines, misordered type and other style issues 
>   printk -> pr_debug
>
>  lib/librte_vhost/eventfd_link/eventfd_link.c | 244 ++++++++++-----------
>  lib/librte_vhost/eventfd_link/eventfd_link.h | 127 ++++++-----
>  lib/librte_vhost/rte_virtio_net.h            |   3 +-
>  lib/librte_vhost/vhost-net-cdev.c            | 187 +++++++++-------
>  lib/librte_vhost/vhost_rxtx.c                |  13 +-
>  lib/librte_vhost/virtio-net.c                | 317 +++++++++++++++++----------
>  6 files changed, 494 insertions(+), 397 deletions(-)
>



More information about the dev mailing list