DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH v6 0/6] Move common functions in EAL
@ 2015-04-18 19:42 Ravi Kerur
  2015-04-18 19:43 ` [dpdk-dev] [PATCH v6 1/6] Move common functions in eal_thread.c Ravi Kerur
  0 siblings, 1 reply; 16+ messages in thread
From: Ravi Kerur @ 2015-04-18 19:42 UTC (permalink / raw)
  To: dev

Changes in v6 includes

Adding _setname_ pthread functions when threads are created. Plan
to use _getname_ when availabe in both Linux and FreeBSD.
Splitting eal.c into 4 files based on the functionality.
Simplify eal_pci changes for first series.

Testing:
Linux - Ubuntu x86_64 14.04
Compilation successful (x86_64-native-linuxapp-gcc).
"make test" results match baseline code.
testpmd utility on I217/I218 Intel chipset.

FreeBSD 10.0 x86_64
Compilation successful (x86_64-native-bsdapp-gcc).
helloworld. 

Ravi Kerur (6):
  Move common functions in eal_thread.c
  Move common functions in eal.c
  Move common functions in eal_lcore.c
  Move common functions in eal_timer.c
  Move common functions in eal_memory.c
  Move common functions in eal_pci.c

 examples/vhost/main.c                              |  18 +-
 examples/vhost_xen/main.c                          |  18 +-
 lib/librte_eal/bsdapp/eal/Makefile                 |   8 +-
 lib/librte_eal/bsdapp/eal/eal.c                    | 278 +++---------------
 lib/librte_eal/bsdapp/eal/eal_lcore.c              |  72 +----
 lib/librte_eal/bsdapp/eal/eal_memory.c             |  47 ++-
 lib/librte_eal/bsdapp/eal/eal_pci.c                |  72 +----
 lib/librte_eal/bsdapp/eal/eal_thread.c             | 152 ----------
 lib/librte_eal/bsdapp/eal/eal_timer.c              |  52 +---
 lib/librte_eal/common/eal_common_app_usage.c       |  63 ++++
 lib/librte_eal/common/eal_common_lcore.c           | 107 +++++++
 lib/librte_eal/common/eal_common_mem_cfg.c         | 217 ++++++++++++++
 lib/librte_eal/common/eal_common_memory.c          |  38 ++-
 lib/librte_eal/common/eal_common_pci.c             |  72 +++++
 lib/librte_eal/common/eal_common_proc_type.c       |  58 ++++
 lib/librte_eal/common/eal_common_sysfs.c           | 163 +++++++++++
 lib/librte_eal/common/eal_common_thread.c          | 147 +++++++++-
 lib/librte_eal/common/eal_common_timer.c           | 102 +++++++
 lib/librte_eal/common/eal_hugepages.h              |   1 +
 lib/librte_eal/common/eal_private.h                | 171 ++++++++++-
 lib/librte_eal/common/eal_thread.h                 |   5 +
 lib/librte_eal/common/include/rte_eal.h            |   4 +
 lib/librte_eal/common/include/rte_pci_dev_ids.h    |   8 +-
 lib/librte_eal/linuxapp/eal/Makefile               |   9 +
 lib/librte_eal/linuxapp/eal/eal.c                  | 306 ++++----------------
 lib/librte_eal/linuxapp/eal/eal_interrupts.c       |  11 +
 lib/librte_eal/linuxapp/eal/eal_lcore.c            |  66 +----
 lib/librte_eal/linuxapp/eal/eal_memory.c           |  36 +--
 lib/librte_eal/linuxapp/eal/eal_pci.c              |  75 +----
 lib/librte_eal/linuxapp/eal/eal_pci_vfio_mp_sync.c |  22 +-
 lib/librte_eal/linuxapp/eal/eal_thread.c           | 152 +---------
 lib/librte_eal/linuxapp/eal/eal_timer.c            |  70 ++---
 32 files changed, 1595 insertions(+), 1402 deletions(-)
 create mode 100644 lib/librte_eal/common/eal_common_app_usage.c
 create mode 100644 lib/librte_eal/common/eal_common_lcore.c
 create mode 100644 lib/librte_eal/common/eal_common_mem_cfg.c
 create mode 100644 lib/librte_eal/common/eal_common_proc_type.c
 create mode 100644 lib/librte_eal/common/eal_common_sysfs.c
 create mode 100644 lib/librte_eal/common/eal_common_timer.c

-- 
1.9.1

^ permalink raw reply	[flat|nested] 16+ messages in thread
* [dpdk-dev] [PATCH v6 0/6] Move common functions in EAL
@ 2015-04-18 19:32 Ravi Kerur
  0 siblings, 0 replies; 16+ messages in thread
From: Ravi Kerur @ 2015-04-18 19:32 UTC (permalink / raw)
  To: dev

Changes in v6 includes

Adding _setname_ pthread functions when threads are created. Plan
to use _getname_ when availabe in both Linux and FreeBSD.
Splitting eal.c into 4 files based on the functionality.
Simplify eal_pci changes for first series.

Testing:
Linux - Ubuntu x86_64 14.04
Compilation successful (x86_64-native-linuxapp-gcc).
"make test" results match baseline code.
testpmd utility on I217/I218 Intel chipset.

FreeBSD 10.0 x86_64
Compilation successful (x86_64-native-bsdapp-gcc).
helloworld. 

Ravi Kerur (6):
  Move common functions in eal_thread.c
  Move common functions in eal.c
  Move common functions in eal_lcore.c
  Move common functions in eal_timer.c
  Move common functions in eal_memory.c
  Move common functions in eal_pci.c

 examples/vhost/main.c                              |  18 +-
 examples/vhost_xen/main.c                          |  18 +-
 lib/librte_eal/bsdapp/eal/Makefile                 |   8 +-
 lib/librte_eal/bsdapp/eal/eal.c                    | 278 +++---------------
 lib/librte_eal/bsdapp/eal/eal_lcore.c              |  72 +----
 lib/librte_eal/bsdapp/eal/eal_memory.c             |  47 ++-
 lib/librte_eal/bsdapp/eal/eal_pci.c                |  72 +----
 lib/librte_eal/bsdapp/eal/eal_thread.c             | 152 ----------
 lib/librte_eal/bsdapp/eal/eal_timer.c              |  52 +---
 lib/librte_eal/common/eal_common_app_usage.c       |  63 ++++
 lib/librte_eal/common/eal_common_lcore.c           | 107 +++++++
 lib/librte_eal/common/eal_common_mem_cfg.c         | 217 ++++++++++++++
 lib/librte_eal/common/eal_common_memory.c          |  38 ++-
 lib/librte_eal/common/eal_common_pci.c             |  72 +++++
 lib/librte_eal/common/eal_common_proc_type.c       |  58 ++++
 lib/librte_eal/common/eal_common_sysfs.c           | 163 +++++++++++
 lib/librte_eal/common/eal_common_thread.c          | 147 +++++++++-
 lib/librte_eal/common/eal_common_timer.c           | 102 +++++++
 lib/librte_eal/common/eal_hugepages.h              |   1 +
 lib/librte_eal/common/eal_private.h                | 171 ++++++++++-
 lib/librte_eal/common/eal_thread.h                 |   5 +
 lib/librte_eal/common/include/rte_eal.h            |   4 +
 lib/librte_eal/common/include/rte_pci_dev_ids.h    |   8 +-
 lib/librte_eal/linuxapp/eal/Makefile               |   9 +
 lib/librte_eal/linuxapp/eal/eal.c                  | 306 ++++----------------
 lib/librte_eal/linuxapp/eal/eal_interrupts.c       |  11 +
 lib/librte_eal/linuxapp/eal/eal_lcore.c            |  66 +----
 lib/librte_eal/linuxapp/eal/eal_memory.c           |  36 +--
 lib/librte_eal/linuxapp/eal/eal_pci.c              |  75 +----
 lib/librte_eal/linuxapp/eal/eal_pci_vfio_mp_sync.c |  22 +-
 lib/librte_eal/linuxapp/eal/eal_thread.c           | 152 +---------
 lib/librte_eal/linuxapp/eal/eal_timer.c            |  70 ++---
 32 files changed, 1595 insertions(+), 1402 deletions(-)
 create mode 100644 lib/librte_eal/common/eal_common_app_usage.c
 create mode 100644 lib/librte_eal/common/eal_common_lcore.c
 create mode 100644 lib/librte_eal/common/eal_common_mem_cfg.c
 create mode 100644 lib/librte_eal/common/eal_common_proc_type.c
 create mode 100644 lib/librte_eal/common/eal_common_sysfs.c
 create mode 100644 lib/librte_eal/common/eal_common_timer.c

-- 
1.9.1

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2015-04-22 15:39 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-18 19:42 [dpdk-dev] [PATCH v6 0/6] Move common functions in EAL Ravi Kerur
2015-04-18 19:43 ` [dpdk-dev] [PATCH v6 1/6] Move common functions in eal_thread.c Ravi Kerur
2015-04-18 19:43   ` [dpdk-dev] [PATCH v6 2/6] Move common functions in eal.c Ravi Kerur
2015-04-21 14:36     ` Bruce Richardson
2015-04-21 19:13       ` Ravi Kerur
2015-04-22  9:21         ` Bruce Richardson
2015-04-22 15:37           ` Ravi Kerur
2015-04-18 19:43   ` [dpdk-dev] [PATCH v6 3/6] Move common functions in eal_lcore.c Ravi Kerur
2015-04-18 19:43   ` [dpdk-dev] [PATCH v6 4/6] Move common functions in eal_timer.c Ravi Kerur
2015-04-18 19:43   ` [dpdk-dev] [PATCH v6 5/6] Move common functions in eal_memory.c Ravi Kerur
2015-04-18 19:43   ` [dpdk-dev] [PATCH v6 6/6] Move common functions in eal_pci.c Ravi Kerur
2015-04-21 14:25   ` [dpdk-dev] [PATCH v6 1/6] Move common functions in eal_thread.c Bruce Richardson
2015-04-21 19:28     ` Ravi Kerur
2015-04-22  9:03       ` Bruce Richardson
2015-04-22 15:39         ` Ravi Kerur
  -- strict thread matches above, loose matches on Subject: below --
2015-04-18 19:32 [dpdk-dev] [PATCH v6 0/6] Move common functions in EAL Ravi Kerur

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).