RE: [PATCH 1/1] pci-iov: Fix warnings when CONFIG_PCI_IOV is enabled

2012-09-11 Thread Jiang Wang
-Original Message- From: Bjorn Helgaas [mailto:bhelg...@google.com] Sent: Tuesday, September 11, 2012 4:35 PM To: Jiang Wang Cc: linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; Chaitanya Lala; Francis St. Amant; Jiang Wang Subject: Re: [PATCH 1/1] pci-iov: Fix warnings when

[PATCH 1/1] pci-iov: Fix warnings when CONFIG_PCI_IOV is enabled

2012-09-04 Thread Jiang Wang
mem resource [0x00-0x3f] pci :02:00.0: BAR 7: can't allocate mem resource [0x00-0x03] Tested on three Mitac motherboards. Signed-off-by: Jiang Wang jw...@riverbed.com --- drivers/pci/iov.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/pci

[PATCH] bnx2: turn off the network statck during initialization

2012-08-16 Thread Jiang Wang
--- This patches fixed the problem by turning off the network stack during initialization. Signed-off-by: Jiang Wang jw...@riverbed.com --- drivers/net/ethernet/broadcom/bnx2.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/drivers/net/ethernet

RE: [PATCH] bnx2: turn off the network statck during initialization

2012-08-16 Thread Jiang Wang
== NETREG_UNINITIALIZED) return; linkwatch_fire_event(dev); } } So linkwatch_fire_event should not fire in this case, right? Thanks for the quick response. Regards, Jiang - Jiang Wang Member of Technical Staff Riverbed

RE: [PATCH] bnx2: turn off the network statck during initialization

2012-08-16 Thread Jiang Wang
: Michael Chan [mailto:mc...@broadcom.com] Sent: Thursday, August 16, 2012 12:29 PM To: Jiang Wang Cc: net...@vger.kernel.org; linux-kernel@vger.kernel.org; Chaitanya Lala; Francis St. Amant Subject: RE: [PATCH] bnx2: turn off the network statck during initialization On Thu, 2012-08-16 at 19:15

RE: [PATCH] bnx2: turn off the network statck during initialization

2012-08-16 Thread Jiang Wang
On Thu, 2012-08-16 at 20:28 +, Jiang Wang wrote: Also, I have another comment related to link state. Right now, the bnx2 driver powers up the device in bnx2_init_board(), regardless the netif_carrier is on or off. We actually don't power up the device. bnx2_init_board() just probes

RE: [PATCH] bnx2: turn off the network statck during initialization

2012-08-16 Thread Jiang Wang
Got it. Thank you very much. Regards, Jiang - Jiang Wang Member of Technical Staff Riverbed Technology Tel: (408) 522-5109 Email: jiang.w...@riverbed.com www.riverbed.com -Original Message- From: Michael Chan [mailto:mc...@broadcom.com] Sent

RE: [PATCH 1/1] pci-iov: Fix warnings when CONFIG_PCI_IOV is enabled

2012-09-11 Thread Jiang Wang
-Original Message- From: Bjorn Helgaas [mailto:bhelg...@google.com] Sent: Tuesday, September 11, 2012 4:35 PM To: Jiang Wang Cc: linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; Chaitanya Lala; Francis St. Amant; Jiang Wang Subject: Re: [PATCH 1/1] pci-iov: Fix warnings when

[PATCH 1/1] pci-iov: Fix warnings when CONFIG_PCI_IOV is enabled

2012-09-04 Thread Jiang Wang
mem resource [0x00-0x3f] pci :02:00.0: BAR 7: can't allocate mem resource [0x00-0x03] Tested on three Mitac motherboards. Signed-off-by: Jiang Wang --- drivers/pci/iov.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/pci/iov.c b/drivers/pci

[PATCH] bnx2: turn off the network statck during initialization

2012-08-16 Thread Jiang Wang
d: yes <--- This patches fixed the problem by turning off the network stack during initialization. Signed-off-by: Jiang Wang --- drivers/net/ethernet/broadcom/bnx2.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/drivers/net/ethernet/broadc

RE: [PATCH] bnx2: turn off the network statck during initialization

2012-08-16 Thread Jiang Wang
_state == NETREG_UNINITIALIZED) return; linkwatch_fire_event(dev); } } So linkwatch_fire_event should not fire in this case, right? Thanks for the quick response. Regards, Jiang - Jiang Wang Member of Technical Staff Ri

RE: [PATCH] bnx2: turn off the network statck during initialization

2012-08-16 Thread Jiang Wang
: Michael Chan [mailto:mc...@broadcom.com] Sent: Thursday, August 16, 2012 12:29 PM To: Jiang Wang Cc: net...@vger.kernel.org; linux-kernel@vger.kernel.org; Chaitanya Lala; Francis St. Amant Subject: RE: [PATCH] bnx2: turn off the network statck during initialization On Thu, 2012-08-16 at 19:15

RE: [PATCH] bnx2: turn off the network statck during initialization

2012-08-16 Thread Jiang Wang
On Thu, 2012-08-16 at 20:28 +, Jiang Wang wrote: > Also, I have another comment related to link state. > > Right now, the bnx2 driver powers up the device in bnx2_init_board(), > regardless the netif_carrier is on or off. We actually don't power up the device. bnx2_init_

RE: [PATCH] bnx2: turn off the network statck during initialization

2012-08-16 Thread Jiang Wang
Got it. Thank you very much. Regards, Jiang - Jiang Wang Member of Technical Staff Riverbed Technology Tel: (408) 522-5109 Email: jiang.w...@riverbed.com www.riverbed.com -Original Message- From: Michael Chan [mailto:mc...@broadcom.com] Sent

[RFC] vsock: add multiple transports support for dgram

2021-04-06 Thread Jiang Wang
s. Signed-off-by: Jiang Wang --- This patch is not tested. I don't have a VMWare testing environment. Could someone help me to test it? include/net/af_vsock.h | 2 -- net/vmw_vsock/af_vsock.c | 63 +- net/vmw_vsock/vmci_transp

Re: [External] Re: [RFC] vsock: add multiple transports support for dgram

2021-04-07 Thread Jiang Wang .
On Wed, Apr 7, 2021 at 2:51 AM Jorgen Hansen wrote: > > > > On 6 Apr 2021, at 20:31, Jiang Wang wrote: > > > > From: "jiang.wang" > > > > Currently, only VMCI supports dgram sockets. To supported > > nested VM use case, this patc

Re: Re: [RFC] vsock: add multiple transports support for dgram

2021-04-12 Thread Jiang Wang .
On Mon, Apr 12, 2021 at 7:04 AM Stefano Garzarella wrote: > > Hi Jiang, > thanks for re-starting the multi-transport support for dgram! No problem. > On Wed, Apr 07, 2021 at 11:25:36AM -0700, Jiang Wang . wrote: > >On Wed, Apr 7, 2021 at 2:51 AM Jorgen Hansen wrote: > &g

Re: Re: [RFC] vsock: add multiple transports support for dgram

2021-04-13 Thread Jiang Wang .
: > > On Tue, Apr 13, 2021 at 12:12:50PM +, Jorgen Hansen wrote: > > > > > >On 12 Apr 2021, at 20:53, Jiang Wang . > >mailto:jiang.w...@bytedance.com>> wrote: > > > >On Mon, Apr 12, 2021 at 7:04 AM Stefano Garzarella > >mailto:sgarz...

Re: [RFC] vsock: add multiple transports support for dgram

2021-04-13 Thread Jiang Wang .
On Tue, Apr 13, 2021 at 2:02 AM Jorgen Hansen wrote: > > > > > On 7 Apr 2021, at 20:25, Jiang Wang . wrote: > > > > On Wed, Apr 7, 2021 at 2:51 AM Jorgen Hansen wrote: > >> > >> > >>> On 6 Apr 2021, at 20:31, Jiang Wang wrote: > &g