[dpdk-dev] [PATCH] enic: set correct port ID in received mbufs

2015-04-18 Thread Sujith Sankar (ssujith)
On 14/04/15 7:53 pm, "Adrien Mazarguil" wrote: >This field is not supposed to contain the RX queue index. Applications can >rely on it to determine the port a given mbuf comes from. > >Signed-off-by: Adrien Mazarguil >--- > lib/librte_pmd_enic/enic.h| 1 + > lib/librte_pmd_enic/enic_eth

[dpdk-dev] [PATCH v6 6/6] Move common functions in eal_pci.c

2015-04-18 Thread Ravi Kerur
Changes in v6 Split changes due to complexity. v6 includes moving rte_eal_pci_probe_one_driver function and its associated utility functions only. Changes in v5 Rebase to latest code. Removed RTE_EXEC_ENV_BSDAPP from earlier changes. Changes in v4 Move common functions in eal_pci.c to librte_eal/

[dpdk-dev] [PATCH v6 5/6] Move common functions in eal_memory.c

2015-04-18 Thread Ravi Kerur
Changes in v6 Removed unnecessary comments in function declaration. Changes in v5 Rebase to latest code. Changes in v4 Make rte_eal_hugepage_init and rte_eal_hugepage_attach as wrapper functions for BSD. Changes in v3 Changed subject to be more explicit on file name inclusion. Changes in v2 Use

[dpdk-dev] [PATCH v6 4/6] Move common functions in eal_timer.c

2015-04-18 Thread Ravi Kerur
Changes in v6 Added new line between Copyright and header file inclusion in eal_common_timer.c. Changes in v5 Rebase to latest code. Changes in v4 Removed extern declaration of eal_tsc_resolution_hz, instead provided _set_ API. Make set_tsc_freq_from_clock as wrapper function for BSD. Changes in

[dpdk-dev] [PATCH v6 3/6] Move common functions in eal_lcore.c

2015-04-18 Thread Ravi Kerur
Changes in v6 None. Changes in v5 Rebase to latest code. Changes in v4 Implement cpu_detected() for BSD. Have common RTE_LOG for Linux and BSD in rte_eal_cpu_init(). Remove RTE_EXEC_ENV_BSDAPP in common file. Changes in v3 Changed subject to be more explicit on file name inclusion. Changes in v

[dpdk-dev] [PATCH v6 2/6] Move common functions in eal.c

2015-04-18 Thread Ravi Kerur
Changes in v6 Split eal_common_system.c and eal_common_runtime.c into eal_common_sysfs.c eal_common_mem_cfg.c eal_common_proc_type.c eal_comm_app_usage.c based on functionality. Changes in v5 Rebase to latest code. Changes in v4 Remove eal_externs.h file, instead use _get_ and _set_ APIS to acce

[dpdk-dev] [PATCH v6 1/6] Move common functions in eal_thread.c

2015-04-18 Thread Ravi Kerur
Changes in v6 Remove RTE_EXEC_ENV_BSDAPP from eal_common_thread.c file. Add pthread_setname_np/pthread_set_name_np for Linux/FreeBSD respectively. Plan to use _getname_ in RTE_LOG when available. Use existing rte_get_systid() in RTE_LOG to print thread_id. Changes in v5 Rebase to latest code. Cha

[dpdk-dev] [PATCH v6 0/6] Move common functions in EAL

2015-04-18 Thread Ravi Kerur
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 s

[dpdk-dev] [PATCH v6 6/9] Move common functions in eal_pci.c

2015-04-18 Thread Ravi Kerur
Changes in v6 Split changes due to complexity. v6 includes moving rte_eal_pci_probe_one_driver function and its associated utility functions only. Changes in v5 Rebase to latest code. Removed RTE_EXEC_ENV_BSDAPP from earlier changes. Changes in v4 Move common functions in eal_pci.c to librte_eal/

[dpdk-dev] [PATCH v6 5/9] Move common functions in eal_memory.c

2015-04-18 Thread Ravi Kerur
Changes in v6 Removed unnecessary comments in function declaration. Changes in v5 Rebase to latest code. Changes in v4 Make rte_eal_hugepage_init and rte_eal_hugepage_attach as wrapper functions for BSD. Changes in v3 Changed subject to be more explicit on file name inclusion. Changes in v2 Use

[dpdk-dev] [PATCH v6 4/9] Move common functions in eal_timer.c

2015-04-18 Thread Ravi Kerur
Changes in v6 Added new line between Copyright and header file inclusion in eal_common_timer.c. Changes in v5 Rebase to latest code. Changes in v4 Removed extern declaration of eal_tsc_resolution_hz, instead provided _set_ API. Make set_tsc_freq_from_clock as wrapper function for BSD. Changes in

[dpdk-dev] [PATCH v6 3/9] Move common functions in eal_lcore.c

2015-04-18 Thread Ravi Kerur
Changes in v6 None. Changes in v5 Rebase to latest code. Changes in v4 Implement cpu_detected() for BSD. Have common RTE_LOG for Linux and BSD in rte_eal_cpu_init(). Remove RTE_EXEC_ENV_BSDAPP in common file. Changes in v3 Changed subject to be more explicit on file name inclusion. Changes in v

[dpdk-dev] [PATCH v6 2/9] Move common functions in eal.c

2015-04-18 Thread Ravi Kerur
Changes in v6 Split eal_common_system.c and eal_common_runtime.c into eal_common_sysfs.c eal_common_mem_cfg.c eal_common_proc_type.c eal_comm_app_usage.c based on functionality. Changes in v5 Rebase to latest code. Changes in v4 Remove eal_externs.h file, instead use _get_ and _set_ APIS to acce

[dpdk-dev] [PATCH v6 1/9] Move common functions in eal_thread.c

2015-04-18 Thread Ravi Kerur
Changes in v6 Remove RTE_EXEC_ENV_BSDAPP from eal_common_thread.c file. Add pthread_setname_np/pthread_set_name_np for Linux/FreeBSD respectively. Plan to use _getname_ in RTE_LOG when available. Use existing rte_get_systid() in RTE_LOG to print thread_id. Changes in v5 Rebase to latest code. Cha

[dpdk-dev] [PATCH v6 0/6] Move common functions in EAL

2015-04-18 Thread Ravi Kerur
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 s

[dpdk-dev] [RFC PATCH 3/4] add support for a ring to be a pktdev

2015-04-18 Thread Ouyang, Changchun
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Bruce Richardson > Sent: Friday, April 17, 2015 11:17 PM > To: dev at dpdk.org; Wiles, Keith > Subject: [dpdk-dev] [RFC PATCH 3/4] add support for a ring to be a pktdev > > Add a new public API function, and t