[dpdk-dev] [PATCH v7] Restore support for virtio on FreeBSD

2015-04-16 Thread Raz Amir
ci.c:116 8 0x00475bb9 in rte_eal_pci_probe () at /dpdk/dpdk-2.0.0/lib/librte_eal/common/eal_common_pci.c:246 9 0x0046cd63 in rte_eal_init (argc=5, argv=0x7fffeaf0) at /dpdk/dpdk-2.0.0/lib/librte_eal/bsdapp/eal/eal.c:554 10 0x00404544 in main () Signed-off-by: Raz Amir --- lib/

[dpdk-dev] [PATCH v6] Restore support for virtio on FreeBSD

2015-04-16 Thread Raz Amir
Will do -Original Message- From: Bruce Richardson [mailto:bruce.richard...@intel.com] Sent: 16 April 2015 12:39 To: Raz Amir Cc: dev at dpdk.org Subject: Re: [dpdk-dev] [PATCH v6] Restore support for virtio on FreeBSD On Thu, Apr 16, 2015 at 11:02:03AM +0300, Raz Amir wrote: > Fi

[dpdk-dev] [PATCH v6] Restore support for virtio on FreeBSD

2015-04-16 Thread Raz Amir
ci.c:116 8 0x00475bb9 in rte_eal_pci_probe () at /dpdk/dpdk-2.0.0/lib/librte_eal/common/eal_common_pci.c:246 9 0x0046cd63 in rte_eal_init (argc=5, argv=0x7fffeaf0) at /dpdk/dpdk-2.0.0/lib/librte_eal/bsdapp/eal/eal.c:554 10 0x00404544 in main () Signed-off-by: Raz Amir --- lib/

[dpdk-dev] [PATCH v5] Restore support for virtio on FreeBSD

2015-04-16 Thread Raz Amir
nanyev, Konstantin; Raz Amir; dev at dpdk.org Cc: Ouyang, Changchun Subject: RE: [dpdk-dev] [PATCH v5] Restore support for virtio on FreeBSD > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Ananyev, > Konstantin > Sent: Wednesday, April 15, 2015 6:22

[dpdk-dev] [PATCH v5] Restore support for virtio on FreeBSD

2015-04-14 Thread Raz Amir
Signed-off-by: Raz Amir --- lib/librte_eal/bsdapp/eal/eal.c | 19 ++- lib/librte_eal/common/include/rte_eal.h | 10 ++ lib/librte_eal/linuxapp/eal/eal.c | 5 + lib/librte_pmd_virtio/virtio_ethdev.c | 9 + 4 files changed, 38 insertions(+), 5

[dpdk-dev] [PATCH v3] Restore support for virtio on FreeBSD

2015-04-14 Thread Raz Amir
#L38 Ouyang, I will implement your suggestion in the next patch version I submit. -Original Message- From: Ouyang, Changchun [mailto:changchun.ouy...@intel.com] Sent: 14 April 2015 05:33 To: Thomas Monjalon; Raz Amir Cc: dev at dpdk.org; Ouyang, Changchun Subject: RE: [dpdk-dev] [PATCH

[dpdk-dev] [PATCH v3] Restore support for virtio on FreeBSD

2015-04-13 Thread Raz Amir
Fixes: 8a312224bcde ("eal/bsd: fix fd leak") Signed-off-by: Raz Amir --- lib/librte_eal/bsdapp/eal/eal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_eal/bsdapp/eal/eal.c b/lib/librte_eal/bsdapp/eal/eal.c index 871d5f4..e20f915 100644 --- a/lib/

[dpdk-dev] Crash related to virtio NICs in DPDK 2.0.0 on Freebsd 10.1 VM

2015-04-13 Thread Raz Amir
Thanks. I will submit a patch -Original Message- From: Thomas Monjalon [mailto:thomas.monja...@6wind.com] Sent: 13 April 2015 13:46 To: Raz Amir Cc: dev at dpdk.org; david.marchand at 6wind.com Subject: Re: Crash related to virtio NICs in DPDK 2.0.0 on Freebsd 10.1 VM 2015-04-08 18:53

[dpdk-dev] Crash related to virtio NICs in DPDK 2.0.0 on Freebsd 10.1 VM

2015-04-13 Thread Raz Amir
Any feedback? From: Raz Amir [mailto:razami...@gmail.com] Sent: 08 April 2015 18:53 To: dev at dpdk.org; 'Thomas Monjalon'; david.marchand at 6wind.com Subject: RE: Crash related to virtio NICs in DPDK 2.0.0 on Freebsd 10.1 VM I found the source of the problem. The issues happens also

[dpdk-dev] [PATCH v2] Restore support for virtio on FreeBSD

2015-04-08 Thread Raz Amir
Fixes: 8a312224bcde ("eal/bsd: fix fd leak") Signed-off-by: Raz Amir --- lib/librte_eal/bsdapp/eal/eal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_eal/bsdapp/eal/eal.c b/lib/librte_eal/bsdapp/eal/eal.c index 871d5f4..e20f915 100644 --- a/lib/

[dpdk-dev] [PATCH] Restore support for virtio on FreeBSD

2015-04-08 Thread Raz Amir
Signed-off-by: Raz Amir --- lib/librte_eal/bsdapp/eal/eal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_eal/bsdapp/eal/eal.c b/lib/librte_eal/bsdapp/eal/eal.c index 871d5f4..e20f915 100644 --- a/lib/librte_eal/bsdapp/eal/eal.c +++ b/lib/librte_eal/bsdapp/eal

[dpdk-dev] Crash related to virtio NICs in DPDK 2.0.0 on Freebsd 10.1 VM

2015-04-07 Thread Raz Amir
I am moving from dpdk 1.7.1 to 2.0.0 and I am experiencing a crash in any dpdk application, when rte_eal_init initializes the virtio NICs. I have Ubuntu 14.04.02, running a Freebsd 10.1 VM with 3 virtio NICs over qemu with kvm. I run testpmd (for example) inside the Freebsd VM and it crashes

[dpdk-dev] [PATCH v4] pci: save list of detached devices, and re-probe during driver unload

2015-03-12 Thread Raz Amir
Thank you. Can you tell when will the patch be pushed to the source code? -Original Message- From: Bruce Richardson [mailto:bruce.richard...@intel.com] Sent: 11 March 2015 12:26 To: Raz Amir Cc: dev at dpdk.org Subject: Re: [dpdk-dev] [PATCH v4] pci: save list of detached devices, and re

[dpdk-dev] [PATCH v3] pci: save list of detached devices, and re-probe during driver unload

2015-03-10 Thread Raz Amir
Sorry for that. Will send the new patch soon -Original Message- From: Bruce Richardson [mailto:bruce.richard...@intel.com] Sent: 09 March 2015 12:28 To: Raz Amir Cc: dev at dpdk.org Subject: Re: [PATCH v3] pci: save list of detached devices, and re-probe during driver unload On Mon, Mar

[dpdk-dev] [PATCH v3] pci: save list of detached devices, and re-probe during driver unload

2015-03-09 Thread Raz Amir
Hi, gentle reminder about this patch... On Mar 4, 2015, at 1:15 PM, Raz Amir wrote: Added code that saves the pointers to the detached devices, during driver loading, and during driver unloading, go over the list, and re-attach them by calling device_probe_and_attach on each device. Signed-off

[dpdk-dev] [PATCH v4] pci: save list of detached devices, and re-probe during driver unload

2015-03-05 Thread Raz Amir
Added code that saves the pointers to the detached devices, during driver loading, and during driver unloading, go over the list, and re-attach them by calling device_probe_and_attach on each device. Signed-off-by: Raz Amir --- lib/librte_eal/bsdapp/nic_uio/nic_uio.c | 34

[dpdk-dev] [PATCH v4] pci: save list of detached devices, and re-probe during driver unload

2015-03-05 Thread Raz Amir
Added code that saves the pointers to the detached devices, during driver loading, and during driver unloading, go over the list, and re-attach them by calling device_probe_and_attach on each device. Signed-off-by: Raz Amir --- lib/librte_eal/bsdapp/nic_uio/nic_uio.c | 34

[dpdk-dev] [PATCH v3] pci: save list of detached devices, and re-probe during driver unload

2015-03-04 Thread Raz Amir
Added code that saves the pointers to the detached devices, during driver loading, and during driver unloading, go over the list, and re-attach them by calling device_probe_and_attach on each device. Signed-off-by: Raz Amir --- lib/librte_eal/bsdapp/nic_uio/nic_uio.c | 32

[dpdk-dev] [PATCH] pci: save list of detached devices, and re-probe during driver unload

2015-03-04 Thread Raz Amir
Understood. I already sent the updated patch, so I will fix this and resend it soon. -Original Message- From: Bruce Richardson [mailto:bruce.richard...@intel.com] Sent: 04 March 2015 12:13 To: Raz Amir Cc: dev at dpdk.org Subject: Re: [dpdk-dev] [PATCH] pci: save list of detached devices

[dpdk-dev] [PATCH v2] pci: save list of detached devices, and re-probe during driver unload

2015-03-04 Thread Raz Amir
Added code that saves the pointers to the detached devices, during driver loading, and during driver unloading, go over the list, and re-attach them by calling device_probe_and_attach on each device. Signed-off-by: Raz Amir --- lib/librte_eal/bsdapp/nic_uio/nic_uio.c | 32

[dpdk-dev] [PATCH] pci: save list of detached devices, and re-probe during driver unload

2015-03-04 Thread Raz Amir
Thank you. See answers inline (mostly ack, but not only), and I will send the updated patch soon. > -Original Message- > From: Bruce Richardson [mailto:bruce.richardson at intel.com] > Sent: 03 March 2015 15:33 > To: Raz Amir > Cc: dev at dpdk.org > Subject: Re:

[dpdk-dev] [PATCH] pci: save list of detached devices, and re-probe during driver unload

2015-03-03 Thread Raz Amir
Thank you -Original Message- From: Bruce Richardson [mailto:bruce.richard...@intel.com] Sent: 03 March 2015 13:45 To: Raz Amir Cc: Thomas Monjalon; dev at dpdk.org Subject: Re: [dpdk-dev] [PATCH] pci: save list of detached devices, and re-probe during driver unload On Tue, Mar 03, 2015

[dpdk-dev] [PATCH] pci: save list of detached devices, and re-probe during driver unload

2015-03-03 Thread Raz Amir
Thanks. What's next with the suggested parch? On Mar 2, 2015, at 3:29 PM, Thomas Monjalon wrote: 2015-03-02 13:58, Raz Amir: > BTW, I don't see it in incoming patches page at > http://dpdk.org/dev/patchwork/project/dpdk/list/?page=1 > Is it because I missed something in the code con

[dpdk-dev] [PATCH] pci: save list of detached devices, and re-probe during driver unload

2015-03-02 Thread Raz Amir
] Sent: 02 March 2015 13:37 To: Raz Amir Cc: dev at dpdk.org Subject: Re: [dpdk-dev] [PATCH] pci: save list of detached devices, and re-probe during driver unload On Mon, Mar 02, 2015 at 10:18:42AM +0200, Raz Amir wrote: > The patch I suggest is in the nic_uio freebsd kernel driver. I do

[dpdk-dev] [PATCH] pci: save list of detached devices, and re-probe during driver unload

2015-03-02 Thread Raz Amir
contribution instruction? -Original Message- From: Neil Horman [mailto:nhor...@tuxdriver.com] Sent: 01 March 2015 19:17 To: Raz Amir Cc: dev at dpdk.org Subject: Re: [dpdk-dev] [PATCH] pci: save list of detached devices, and re-probe during driver unload On Sun, Mar 01, 2015 at 04:21:10PM

[dpdk-dev] [PATCH] pci: save list of detached devices, and re-probe during driver unload

2015-03-01 Thread Raz Amir
the devices that were detached by the driver. Before this change, you had to reboot in order to get the devices back. -Original Message- From: Neil Horman [mailto:nhor...@tuxdriver.com] Sent: 01 March 2015 15:48 To: Raz Amir Cc: dev at dpdk.org Subject: Re: [dpdk-dev] [PATCH] pci: save list

[dpdk-dev] [PATCH] pci: save list of detached devices, and re-probe during driver unload

2015-02-26 Thread Raz Amir
Added code that saves the pointers to the detached devices, during driver loading, and during driver unloading, go over the list, and re-attach them by calling device_probe_and_attach on each device. Signed-off-by: Raz Amir --- lib/librte_eal/bsdapp/nic_uio/nic_uio.c | 26