Skip to contentSkip to conversation

lib/librte_vhost: coding style fixes

PATCH In review Huawei Xie 3 participants 3 messages Nov 6, 2014 – Nov 7, 2014 1 message not in the archive

lore
Share & tools
lore

Huawei Xie

author
#0 lore raw

cover lib/librte_vhost: coding style fixes

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(-)
Signature · 1 line
1.8.1.4
#2 lore raw
In reply to a message not in the archive

Hi Huawei,

Quoted 20 lines

-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of Huawei Xie
Sent: Thursday, November 06, 2014 4:46 AM
To: [email protected]
Subject: [dpdk-dev] [PATCH 0/2] lib/librte_vhost: coding style fixes

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(-)
Quoted 2 lines

--
1.8.1.4

I assume this is the cover letter of the two patches that you sent 5 hours before. You should probably send this again, as it seems to not be connected to the patches (look here: http://dpdk.org/ml/archives/dev/2014-November/)

Thanks,
Pablo

#3 lore raw
In reply to a message not in the archive

Hi Xie,

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

Thanks,
Tetsuya

Quoted 14 lines · Huawei Xie

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(-)