* vxge: Update driver_config->vpath_per_dev for each function in probe.
@ 2009-10-05 9:06 Sreenivasa Honnur
2009-10-05 9:32 ` David Miller
0 siblings, 1 reply; 4+ messages in thread
From: Sreenivasa Honnur @ 2009-10-05 9:06 UTC (permalink / raw)
To: davem; +Cc: netdev, support
- Update driver_config->vpath_per_dev for each function in probe.
- vpath_per_device specifies number of vpaths supported for each function/device. The
current code was updating vpath_per_device only for physical device, however this has
to be updated for each function also in case of a MF(Multi function) device.
Signed-off-by: Sreenivasa Honnur <sreenivasa.honnur@neterion.com>
---
diff -urpN patch1/drivers/net/vxge/vxge-main.c patch2/drivers/net/vxge/vxge-main.c
--- patch1/drivers/net/vxge/vxge-main.c 2009-09-03 22:40:14.000000000 -0700
+++ patch2/drivers/net/vxge/vxge-main.c 2009-09-04 01:18:13.000000000 -0700
@@ -4088,9 +4088,10 @@ vxge_probe(struct pci_dev *pdev, const s
driver_config->config_dev_cnt = 0;
driver_config->total_dev_cnt = 0;
driver_config->g_no_cpus = 0;
- driver_config->vpath_per_dev = max_config_vpath;
}
+ driver_config->vpath_per_dev = max_config_vpath;
+
driver_config->total_dev_cnt++;
if (++driver_config->config_dev_cnt > max_config_dev) {
ret = 0;
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: vxge: Update driver_config->vpath_per_dev for each function in probe.
2009-10-05 9:06 vxge: Update driver_config->vpath_per_dev for each function in probe Sreenivasa Honnur
@ 2009-10-05 9:32 ` David Miller
2009-10-05 9:36 ` Sreenivasa Honnur
0 siblings, 1 reply; 4+ messages in thread
From: David Miller @ 2009-10-05 9:32 UTC (permalink / raw)
To: Sreenivasa.Honnur; +Cc: netdev, support
From: Sreenivasa Honnur <Sreenivasa.Honnur@neterion.com>
Date: Mon, 5 Oct 2009 05:06:56 -0400 (EDT)
> - Update driver_config->vpath_per_dev for each function in probe.
>
> - vpath_per_device specifies number of vpaths supported for each function/device. The
> current code was updating vpath_per_device only for physical device, however this has
> to be updated for each function also in case of a MF(Multi function) device.
>
> Signed-off-by: Sreenivasa Honnur <sreenivasa.honnur@neterion.com>
You keep posting this patch twice.
Once without the proper "[PATCH 2/9]" indication in the subject
heading, and once with it there.
Please sort out your patch set, there is something wrong with
what you're submitting for this.
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: vxge: Update driver_config->vpath_per_dev for each function in probe.
2009-10-05 9:32 ` David Miller
@ 2009-10-05 9:36 ` Sreenivasa Honnur
2009-10-05 9:38 ` David Miller
0 siblings, 1 reply; 4+ messages in thread
From: Sreenivasa Honnur @ 2009-10-05 9:36 UTC (permalink / raw)
To: David Miller; +Cc: netdev, support
Please ignore this patch.
I submitted this patch without patch number. I again resubmitted it with
patch number.
-----Original Message-----
From: David Miller [mailto:davem@davemloft.net]
Sent: Monday, October 05, 2009 3:02 PM
To: Sreenivasa Honnur
Cc: netdev@vger.kernel.org; support
Subject: Re: vxge: Update driver_config->vpath_per_dev for each function
in probe.
From: Sreenivasa Honnur <Sreenivasa.Honnur@neterion.com>
Date: Mon, 5 Oct 2009 05:06:56 -0400 (EDT)
> - Update driver_config->vpath_per_dev for each function in probe.
>
> - vpath_per_device specifies number of vpaths supported for each
function/device. The
> current code was updating vpath_per_device only for physical device,
however this has
> to be updated for each function also in case of a MF(Multi function)
device.
>
> Signed-off-by: Sreenivasa Honnur <sreenivasa.honnur@neterion.com>
You keep posting this patch twice.
Once without the proper "[PATCH 2/9]" indication in the subject heading,
and once with it there.
Please sort out your patch set, there is something wrong with what
you're submitting for this.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-10-05 9:38 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-05 9:06 vxge: Update driver_config->vpath_per_dev for each function in probe Sreenivasa Honnur
2009-10-05 9:32 ` David Miller
2009-10-05 9:36 ` Sreenivasa Honnur
2009-10-05 9:38 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox