Re: [dpdk-dev] [PATCH] bus/vmbus: fix race in sub channel creation

2018-12-02 Thread Mohammed Gamal
On Fri, 2018-11-30 at 12:24 -0800, Stephen Hemminger wrote: > When using multiple queues, there was a race with the kernel > in setting up the second channel. This is do due to a kernel change > whiche does not allow accessing sysfs files for Hyper-V > channels that are not opened. > > The fix is

Re: [dpdk-dev] [PATCH] bus/vmbus: fix race in sub channel creation

2018-12-04 Thread Mohammed Gamal
On Mon, 2018-12-03 at 08:48 -0800, Stephen Hemminger wrote: > On Mon, 03 Dec 2018 07:02:55 +0100 > Mohammed Gamal wrote: > > > On Fri, 2018-11-30 at 12:24 -0800, Stephen Hemminger wrote: > > > When using multiple queues, there was a race with the kernel > > >

Re: [dpdk-dev] Problems running netvsc multiq

2018-12-04 Thread Mohammed Gamal
On Tue, 2018-12-04 at 08:48 -0800, Stephen Hemminger wrote: > On Fri, 30 Nov 2018 14:06:52 -0500 (EST) > Mohammed Gamal wrote: > > > - Stephen Hemminger wrote: > > > On Fri, 30 Nov 2018 12:04:41 +0100 > > > Mohammed Gamal wrote: > > >    > &g

Re: [dpdk-dev] Problems running netvsc multiq

2018-12-07 Thread Mohammed Gamal
On Wed, 2018-12-05 at 14:32 -0800, Stephen Hemminger wrote: > The problem is a regression in 4.20 kernel. Bisecting now. I was bisecting the kernel and the change that seems to introduce this regression is this one: commit ae6935ed7d424ffa74d634da00767e7b03c98fd3 Author: Stephen Hemminger Date: 

Re: [dpdk-dev] Problems running netvsc multiq

2018-12-08 Thread Mohammed Gamal
On Fri, 2018-12-07 at 11:18 -0800, Stephen Hemminger wrote: > On Fri, 07 Dec 2018 13:15:43 +0200 > Mohammed Gamal wrote: > > > On Wed, 2018-12-05 at 14:32 -0800, Stephen Hemminger wrote: > > > The problem is a regression in 4.20 kernel. Bisecting now.   > > >

[dpdk-dev] [PATCH] kni: Fix build on RHEL 8

2018-11-26 Thread Mohammed Gamal
As RHEL8 beta has been released and is based on recent upstream kernels which don't use ndo_change_mtu_rh74 function. Fix the build so that it doesn't fail because the function is missing Signed-off-by: Mohammed Gamal --- kernel/linux/kni/compat.h | 3 ++- 1 file changed, 2 insert

Re: [dpdk-dev] [PATCH] kni: Fix build on RHEL 8

2018-11-27 Thread Mohammed Gamal
On Tue, 2018-11-27 at 10:55 +, Ferruh Yigit wrote: > On 11/26/2018 8:45 PM, Mohammed Gamal wrote: > > As RHEL8 beta has been released and is based on recent upstream > > kernels > > which don't use ndo_change_mtu_rh74 function. Fix the build so that > > it >

[dpdk-dev] Problems running netvsc multiq

2018-11-30 Thread Mohammed Gamal
Hi All, I am having the following errors when I run testpmd with the netvsc driver and --txq 2 and --rxq 2 options: testpmd: create a new mbuf pool : n=155456, size=2176, socket=0 testpmd: preferred mempool ops selected: ring_mp_mc Configuring Port 0 (socket 0) hn_dev_configure():  >> hn_rndis_lin

Re: [dpdk-dev] Problems running netvsc multiq

2018-11-30 Thread Mohammed Gamal
- Stephen Hemminger wrote: > On Fri, 30 Nov 2018 12:04:41 +0100 > Mohammed Gamal wrote: > > > Hi All, > > I am having the following errors when I run testpmd with the netvsc > > driver and --txq 2 and --rxq 2 options: > > > > testpmd: create a

[dpdk-dev] [PATCH] netvsc: update link info when getting device info

2020-02-06 Thread Mohammed Gamal
s point. Let's call it and update link info when calling hn_dev_info_get(). Signed-off-by: Mohammed Gamal --- drivers/net/netvsc/hn_ethdev.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/net/netvsc/hn_ethdev.c b/drivers/net/netvsc/hn_ethdev.c index c79f92437..1120fc688

Re: [dpdk-dev] [RFT] net/netvsc: initialize link state

2020-02-07 Thread Mohammed Gamal
On Thu, 2020-02-06 at 16:10 -0800, Stephen Hemminger wrote: > If application is using link state interrupt, the correct link state > needs to be filled in when device is started. This is similar to > how virtio updates link information. > > Reported-by: Mohammed Gamal > Sign

Re: [dpdk-dev] [RFT] net/netvsc: initialize link state

2020-02-07 Thread Mohammed Gamal
On Fri, 2020-02-07 at 08:12 -0800, Stephen Hemminger wrote: > On Fri, 07 Feb 2020 15:22:23 +0200 > Mohammed Gamal wrote: > > > On Thu, 2020-02-06 at 16:10 -0800, Stephen Hemminger wrote: > > > If application is using link state interrupt, the correct link > > >