Re: [E1000-devel] [PATCH] i40e: don't enable and init FCOE by default when do PF reset

2015-01-19 Thread ethan zhao
On 2015/1/20 5:10, Dev, Vasu wrote: >> -Original Message- >> From: ethan zhao [mailto:ethan.z...@oracle.com] >> Sent: Friday, January 16, 2015 7:01 PM >> To: Kirsher, Jeffrey T >> Cc: Dev, Vasu; Ethan Zhao; Ronciak, John; Brandeburg, Jesse; Allan, Bruce W;

Re: [E1000-devel] [PATCH] i40e: don't enable and init FCOE by default when do PF reset

2015-01-16 Thread ethan zhao
Vasu, What' your idea about the v2, any suggestion ? Jeff is looking forward to see it. Thanks, Ethan On 2015/1/16 22:47, Jeff Kirsher wrote: > On Fri, 2015-01-16 at 09:48 +0800, ethan zhao wrote: >> Vasu, >> >> OK, disable FCOE as default configuration as a

Re: [E1000-devel] [PATCH] i40e: don't enable and init FCOE by default when do PF reset

2015-01-15 Thread ethan zhao
Vasu, OK, disable FCOE as default configuration as a temporary step to make it work. Thanks, Ethan On 2015/1/16 7:45, Dev, Vasu wrote: >> -Original Message- >> From: ethan zhao [mailto:ethan.z...@oracle.com] >> Sent: Tuesday, January 13, 2015 6:41 PM >> To

Re: [E1000-devel] [PATCH] i40e: don't enable and init FCOE by default when do PF reset

2015-01-13 Thread ethan zhao
Vasu, On 2015/1/14 3:38, Dev, Vasu wrote: >> -Original Message- > diff --git a/drivers/net/ethernet/intel/i40e/i40e_main.c > b/drivers/net/ethernet/intel/i40e/i40e_main.c > index a5f2660..a2572cc 100644 > --- a/drivers/net/ethernet/intel/i40e/i40e_main.c > +++ b/drivers

[E1000-devel] [PATCH] i40e: don't enable and init FCOE by default when do PF reset

2015-01-09 Thread Ethan Zhao
VLAN etc. Passed building with v3.19-rc3. Signed-off-by: Ethan Zhao --- drivers/net/ethernet/intel/i40e/i40e_main.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/net/ethernet/intel/i40e/i40e_main.c b/drivers/net/ethernet/intel/i40e/i40e_main.c index

[E1000-devel] [PATCH] ixgbe: delete one duplicate marcro definition of IXGBE_MAX_L2A_QUEUES

2014-09-20 Thread Ethan Zhao
There is typo in ixgbe.h, two marcro definition of IXGBE_MAX_L2A_QUEUES to 4, delete one, clear the compiler warning. Signed-off-by: Ethan Zhao --- drivers/net/ethernet/intel/ixgbe/ixgbe.h |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/drivers/net/ethernet/intel/ixgbe

[E1000-devel] Hit tx unit hang when test igb 5.2.9.4 from sourceforge

2014-09-10 Thread ethan zhao
Hi, folks, We hit following message on the console when test igb 5.2.9.4 download from sourceforge, because it is not a git repo, hard for me to bisect. this stops us to upgrade to ver 5.2.9.4. if more information needed helps to fix this issue, feel free to let me know. BTW, the prior

Re: [E1000-devel] [PATCH] ixgbe: remove useless bd_number from adapter struct

2014-07-28 Thread Ethan Zhao
Thanks Brown, Aaron F On Tue, Jul 29, 2014 at 10:51 AM, Brown, Aaron F wrote: >> From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- >> ow...@vger.kernel.org] On Behalf Of Ethan Zhao >> Sent: Monday, July 28, 2014 12:41 AM >> To: Kirsher, Jeffrey T; Brandebur

[E1000-devel] [PATCH] ixgbevf: remove useless bd_number from struct ixgbevf_adapter

2014-07-28 Thread Ethan Zhao
It is useless and buggy, just remove it. Signed-off-by: Ethan Zhao --- drivers/net/ethernet/intel/ixgbevf/ixgbevf.h |1 - drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c |4 2 files changed, 0 insertions(+), 5 deletions(-) diff --git a/drivers/net/ethernet/intel/ixgbevf

[E1000-devel] [PATCH] ixgbe: remove useless bd_number from adapter struct

2014-07-28 Thread Ethan Zhao
Because bd_number is not useful anymore, so remove it from adapter struct, or if keep it, we have to fix the boards driven counter bug in ixgbe_remove() and ixgbe_probe() only for trival debug purpose -- other output is enough. Signed-off-by: Ethan Zhao --- drivers/net/ethernet/intel/ixgbe

[E1000-devel] [PATCH] i40e: use global pci_vfs_assigned() to replace local i40e_vfs_are_assigned()

2014-07-21 Thread Ethan Zhao
There is global funcion pci_vfs_assigned(), so use it instead of composing local one. Signed-off-by: Ethan Zhao --- drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c | 31 +--- 1 files changed, 1 insertions(+), 30 deletions(-) diff --git a/drivers/net/ethernet/intel/i40e

Re: [E1000-devel] [PATCH 1/2 V3] PCI: introduce device assignment interface and refactory related code

2014-07-21 Thread Ethan Zhao
On Tue, Jul 22, 2014 at 6:29 AM, Alexander Duyck wrote: > On 07/11/2014 05:30 AM, Ethan Zhao wrote: >> This patch introduces two new device assignment functions >> >> pci_iov_assign_device(), >> pci_iov_deassign_device() >> >> along with the existed

Re: [E1000-devel] [PATCH 1/2 V3] PCI: introduce device assignment interface and refactory related code

2014-07-21 Thread Ethan Zhao
On Tue, Jul 22, 2014 at 6:41 AM, Alexander Duyck wrote: > On 07/21/2014 07:39 AM, Alex Williamson wrote: >> On Mon, 2014-07-21 at 14:11 +, Yuval Mintz wrote: >>> pci_iov_assign_device(), >>> pci_iov_deassign_device() >>> >>> along with the existed one >>

Re: [E1000-devel] [PATCH 1/2 V3] PCI: introduce device assignment interface and refactory related code

2014-07-21 Thread Ethan Zhao
On Mon, Jul 21, 2014 at 10:39 PM, Alex Williamson wrote: > On Mon, 2014-07-21 at 14:11 +, Yuval Mintz wrote: >> > > > >> > > > pci_iov_assign_device(), >> > > > >> > > > pci_iov_deassign_device() >> > > > >> > > > >> > > > >> > > > along with the existed one >> > > > >> > > > >> > > > >> > > >

Re: [E1000-devel] [PATCH 1/2 V3] PCI: introduce device assignment interface and refactory related code

2014-07-20 Thread Ethan Zhao
On Sun, Jul 20, 2014 at 10:48 PM, Yuval Mintz wrote: >> On Fri, 2014-07-11 at 07:13 -0600, Alex Williamson wrote: >> > On Fri, 2014-07-11 at 20:30 +0800, Ethan Zhao wrote: >> > > This patch introduces two new device assignment functions >>

Re: [E1000-devel] [PATCH 1/2 V3] PCI: introduce device assignment interface and refactory related code

2014-07-20 Thread Ethan Zhao
On Mon, Jul 21, 2014 at 9:58 AM, Alex Williamson wrote: > On Sun, 2014-07-20 at 14:48 +, Yuval Mintz wrote: >> > On Fri, 2014-07-11 at 07:13 -0600, Alex Williamson wrote: >> > > On Fri, 2014-07-11 at 20:30 +0800, Ethan Zhao wrote: >> > > > This pat

Re: [E1000-devel] [PATCH 1/2 V3] PCI: introduce device assignment interface and refactory related code

2014-07-11 Thread Ethan Zhao
> 在 2014年7月12日,上午12:13,Alex Williamson 写道: > >> On Sat, 2014-07-12 at 00:06 +0800, Ethan Zhao wrote: >> >>>> 在 2014年7月11日,下午11:25,Alex Williamson 写道: >>>> >>>> On Fri, 2014-07-11 at 23:19 +0800, Ethan Zhao wrote: >>>> >

Re: [E1000-devel] [PATCH 1/2 V3] PCI: introduce device assignment interface and refactory related code

2014-07-11 Thread Ethan Zhao
> 在 2014年7月12日,上午12:13,Alex Williamson 写道: > >> On Sat, 2014-07-12 at 00:06 +0800, Ethan Zhao wrote: >> >>>> 在 2014年7月11日,下午11:25,Alex Williamson 写道: >>>> >>>> On Fri, 2014-07-11 at 23:19 +0800, Ethan Zhao wrote: >>>> >

Re: [E1000-devel] [PATCH 1/2 V3] PCI: introduce device assignment interface and refactory related code

2014-07-11 Thread Ethan Zhao
> 在 2014年7月11日,下午11:25,Alex Williamson 写道: > >> On Fri, 2014-07-11 at 23:19 +0800, Ethan Zhao wrote: >> >>>> 在 2014年7月11日,下午10:54,Alex Williamson 写道: >>>> >>>> On Fri, 2014-07-11 at 22:37 +0800, Ethan Zhao wrote: >>>> >&

Re: [E1000-devel] [PATCH 1/2 V3] PCI: introduce device assignment interface and refactory related code

2014-07-11 Thread Ethan Zhao
> 在 2014年7月11日,下午11:23,Alex Williamson 写道: > >> On Fri, 2014-07-11 at 23:07 +0800, Ethan Zhao wrote: >> >>> 在 2014年7月11日,下午10:50,Alex Williamson 写道: >>> >>> On Fri, 2014-07-11 at 22:20 +0800, Ethan Zhao wrote: >>>>>> 在 2014年7月11

Re: [E1000-devel] [PATCH 1/2 V3] PCI: introduce device assignment interface and refactory related code

2014-07-11 Thread Ethan Zhao
> 在 2014年7月11日,下午10:54,Alex Williamson 写道: > >> On Fri, 2014-07-11 at 22:37 +0800, Ethan Zhao wrote: >> >>>> 在 2014年7月11日,下午10:15,Alex Williamson 写道: >>>> >>>>> On Fri, 2014-07-11 at 07:13 -0600, Alex Williamson wrote: >>>

Re: [E1000-devel] [PATCH 1/2 V3] PCI: introduce device assignment interface and refactory related code

2014-07-11 Thread Ethan Zhao
> 在 2014年7月11日,下午10:50,Alex Williamson 写道: > > On Fri, 2014-07-11 at 22:20 +0800, Ethan Zhao wrote: >>> 在 2014年7月11日,下午9:13,Alex Williamson 写道: >>> >>>> On Fri, 2014-07-11 at 20:30 +0800, Ethan Zhao wrote: >>>> This p

Re: [E1000-devel] [PATCH 1/2 V3] PCI: introduce device assignment interface and refactory related code

2014-07-11 Thread Ethan Zhao
> 在 2014年7月11日,下午10:15,Alex Williamson 写道: > >> On Fri, 2014-07-11 at 07:13 -0600, Alex Williamson wrote: >>> On Fri, 2014-07-11 at 20:30 +0800, Ethan Zhao wrote: >>> This patch introduces two new device assignment functions >>> >>> pci_

Re: [E1000-devel] [PATCH 1/2 V3] PCI: introduce device assignment interface and refactory related code

2014-07-11 Thread Ethan Zhao
> 在 2014年7月11日,下午9:13,Alex Williamson 写道: > >> On Fri, 2014-07-11 at 20:30 +0800, Ethan Zhao wrote: >> This patch introduces two new device assignment functions >> >> pci_iov_assign_device(), >> pci_iov_deassign_device() >> >> along with the e

Re: [E1000-devel] [PATCH 2/2 V3] PCI: implement VFs assignment reference counter

2014-07-11 Thread Ethan Zhao
On Fri, Jul 11, 2014 at 8:56 PM, Varka Bhadram wrote: > On 07/11/2014 06:21 PM, Ethan Zhao wrote: > > On Fri, Jul 11, 2014 at 8:42 PM, Varka Bhadram > wrote: > > On 07/11/2014 06:00 PM, Ethan Zhao wrote: > > Current implementation of helper function pci_vfs_assigned() i

Re: [E1000-devel] [PATCH 2/2 V3] PCI: implement VFs assignment reference counter

2014-07-11 Thread Ethan Zhao
On Fri, Jul 11, 2014 at 8:42 PM, Varka Bhadram wrote: > On 07/11/2014 06:00 PM, Ethan Zhao wrote: >> >> Current implementation of helper function pci_vfs_assigned() is a >> little complex, to get sum of VFs that assigned to VM, access low >> level configuration spac

[E1000-devel] [PATCH 1/2 V3] PCI: introduce device assignment interface and refactory related code

2014-07-11 Thread Ethan Zhao
atomic, steps clear between interface defination and implemenation according to the suggestion from alex.william...@redhat.com Signed-off-by: Ethan Zhao --- drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c | 17 ++--- drivers/pci/iov.c | 20

[E1000-devel] [PATCH 2/2 V3] PCI: implement VFs assignment reference counter

2014-07-11 Thread Ethan Zhao
-by: Ethan Zhao --- drivers/pci/iov.c | 42 -- drivers/pci/pci.h |1 + 2 files changed, 17 insertions(+), 26 deletions(-) diff --git a/drivers/pci/iov.c b/drivers/pci/iov.c index 090f827..10efe43 100644 --- a/drivers/pci/iov.c +++ b/drivers/pci/iov.c

Re: [E1000-devel] [PATCH 1/2 V2] PCI: introduce device assignment interface and refactory related code

2014-07-11 Thread Ethan Zhao
> 在 2014年7月11日,下午5:41,David Vrabel 写道: > >> On 11/07/14 06:52, Ethan Zhao wrote: >> >> --- a/drivers/xen/xen-pciback/pci_stub.c >> +++ b/drivers/xen/xen-pciback/pci_stub.c >> @@ -133,7 +133,7 @@ static void pcistub_device_release(struct kref *kref) >&g

[E1000-devel] [PATCH 2/2 V2] PCI: implement VFs assignment reference counter

2014-07-10 Thread Ethan Zhao
struct pci_sriov. and simplify the code in pci_vfs_assigned(). v2: reorder the patchset according to the suggestion from alex.william...@redhat.com Signed-off-by: Ethan Zhao --- drivers/pci/iov.c | 45 + drivers/pci/pci.h |1 + 2 files changed, 18

[E1000-devel] [PATCH 1/2 V2] PCI: introduce device assignment interface and refactory related code

2014-07-10 Thread Ethan Zhao
: Ethan Zhao --- drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c | 17 ++--- drivers/pci/iov.c | 20 drivers/xen/xen-pciback/pci_stub.c |4 ++-- include/linux/pci.h|4

Re: [E1000-devel] [PATCH 1/4] PCI: introduce VFs reference counter and simplify pci_vfs_assigned() implementation

2014-07-10 Thread ethan zhao
On 2014/7/11 10:33, Alex Williamson wrote: > On Fri, 2014-07-11 at 10:29 +0800, ethan zhao wrote: >> On 2014/7/11 10:22, Alex Williamson wrote: >>> On Fri, 2014-07-11 at 10:10 +0800, ethan zhao wrote: >>>> Alex, >>>> Thanks for your reviewing

Re: [E1000-devel] [PATCH 1/4] PCI: introduce VFs reference counter and simplify pci_vfs_assigned() implementation

2014-07-10 Thread ethan zhao
On 2014/7/11 10:22, Alex Williamson wrote: > On Fri, 2014-07-11 at 10:10 +0800, ethan zhao wrote: >> Alex, >> Thanks for your reviewing, when I create the patch order, I thought >> about the question you concerned for >> quit a while, make every patch be independen

Re: [E1000-devel] [PATCH 1/4] PCI: introduce VFs reference counter and simplify pci_vfs_assigned() implementation

2014-07-10 Thread ethan zhao
ned, it's happy > to assign devices without any driver. Thanks, > > Alex > > > On Fri, 2014-07-11 at 08:47 +0800, Ethan Zhao wrote: >> Current implementation of helper function pci_vfs_assigned() is a little >> complex, to >> get sum of VFs that assi

[E1000-devel] [PATCH 2/4] xen-pciback: use PCI VFs assignment helper functions

2014-07-10 Thread Ethan Zhao
New VFs reference counter mechanism and VFs assignment helper functions are introduced to PCI SRIOV, use them instead of manipulating device flag directly. Signed-off-by: Ethan Zhao --- drivers/xen/xen-pciback/pci_stub.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git

[E1000-devel] [PATCH 1/4] PCI: introduce VFs reference counter and simplify pci_vfs_assigned() implementation

2014-07-10 Thread Ethan Zhao
pci_sriov, and compose two more helper functions pci_sriov_assign_device(), pci_sriov_deassign_device() to replace manipulation to device flag and the meanwhile increase and decease the counter. Passed building on 3.15.5 Signed-off-by: Ethan Zhao --- drivers/pci/iov.c | 65

[E1000-devel] [PATCH 4/4] i40e: use PCI VFs assignment helper function simplify i40e_vfs_are_assigned()

2014-07-10 Thread Ethan Zhao
New VFs reference counter mechanism and VFs assignment helper functions are introduced to PCI SRIOV, use them instead of manipulating device flag directly. Signed-off-by: Ethan Zhao --- drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c | 17 ++--- 1 files changed, 2 insertions

[E1000-devel] [PATCH 3/4] KVM: use PCI VFs assignment helper functions

2014-07-10 Thread Ethan Zhao
New VFs reference counter mechanism and VFs assignment helper functions are introduced to PCI SRIOV, use them instead of manipulating device flag directly. Signed-off-by: Ethan Zhao --- virt/kvm/assigned-dev.c |2 +- virt/kvm/iommu.c|4 ++-- 2 files changed, 3 insertions(+), 3

[E1000-devel] [PATCH 1/2 Net-next v5] ixgbe: define IXGBE_MAX_VFS_DRV_LIMIT macro and cleanup const 63

2014-01-16 Thread ethan zhao
Because ixgbe driver limit the max number of VF functions could be enabled to 63, so define one macro IXGBE_MAX_VFS_DRV_LIMIT and cleanup the const 63 in code. v3: revised for net-next tree. v4: remove one signoff of two v5: fix style issue. Signed-off-by: Ethan Zhao --- drivers/net/ethernet

[E1000-devel] [PATCH 2/2 Net-next v5] ixgbe: set driver_max_VFs should be done before enabling SRIOV

2014-01-16 Thread ethan zhao
river_max_VFs with pci_sriov_set_totalvfs() before enable VFs with ixgbe_enable_sriov(). V2: revised for net-next tree. V3: V4: remove one signoff of two. V5: fix style issue. Signed-off-by: Ethan Zhao --- drivers/net/ethernet/intel/ixgbe/ixgbe_main.c |2 +- 1 files changed, 1 insertions(+), 1 deletion

[E1000-devel] [PATCH 2/2 Net-next v4] ixgbe: set driver_max_VFs should be done before enabling SRIOV

2014-01-15 Thread ethan zhao
river_max_VFs with pci_sriov_set_totalvfs() before enable VFs with ixgbe_enable_sriov(). V2: revised for net-next tree. V4: remove one signoff of two. Signed-off-by: Ethan Zhao --- drivers/net/ethernet/intel/ixgbe/ixgbe_main.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/

[E1000-devel] [PATCH 1/2 net-next v4] ixgbe: define IXGBE_MAX_VFS_DRV_LIMIT macro and cleanup const 63

2014-01-15 Thread ethan zhao
Because ixgbe driver limit the max number of VF functions could be enalbed to 63, so define one macro IXGBE_MAX_VFS_DRV_LIMIT and cleanup the const 63 in code. v3: revised for net-next tree. V4: remove one signoff of two. Signed-off-by: Ethan Zhao --- drivers/net/ethernet/intel/ixgbe

Re: [E1000-devel] [PATCH 1/2 Net-next] ixgbe: define IXGBE_MAX_VFS_DRV_LIMIT macro and cleanup const 63

2014-01-15 Thread Ethan Zhao
, 2014 at 1:57 PM, David Miller wrote: > From: ethan zhao > Date: Thu, 16 Jan 2014 12:25:01 +0800 > >> Signed-off-by: Ethan Zhao >> Signed-off-by: Ethan Zhao > > Please don't give two signoffs for yourself, it is not appropriate at > all. > > I am very genui

[E1000-devel] [PATCH 2/2 Net-next] ixgbe: set driver_max_VFs should be done before enabling SRIOV

2014-01-15 Thread ethan zhao
river_max_VFs with pci_sriov_set_totalvfs() before enable VFs with ixgbe_enable_sriov(). V2: revised for net-next tree. Signed-off-by: Ethan Zhao Signed-off-by: Ethan Zhao --- drivers/net/ethernet/intel/ixgbe/ixgbe_main.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/net/et

[E1000-devel] [PATCH 1/2 Net-next] ixgbe: define IXGBE_MAX_VFS_DRV_LIMIT macro and cleanup const 63

2014-01-15 Thread ethan zhao
Because ixgbe driver limit the max number of VF functions could be enalbed to 63, so define one macro IXGBE_MAX_VFS_DRV_LIMIT and cleanup the const 63 in code. v3: revised for net-next tree. Signed-off-by: Ethan Zhao Signed-off-by: Ethan Zhao --- drivers/net/ethernet/intel/ixgbe

Re: [E1000-devel] [PATCH 1/2 v3] ixgbe: define IXGBE_MAX_VFS_DRV_LIMIT macro and cleanup const 63

2014-01-15 Thread Ethan Zhao
Aaron, Revised those patches for Dave Miller's net-next OK, passed building. resent. Thanks, Ethan On Thu, Jan 16, 2014 at 11:08 AM, Ethan Zhao wrote: > Aaron, > Ok, Dave Miler's net-next tree. > > Thanks, > Etan > > On Thu, Jan 16, 2014 at 10:51 AM, Bro

Re: [E1000-devel] [PATCH 1/2 v3] ixgbe: define IXGBE_MAX_VFS_DRV_LIMIT macro and cleanup const 63

2014-01-15 Thread Ethan Zhao
Aaron, Ok, Dave Miler's net-next tree. Thanks, Etan On Thu, Jan 16, 2014 at 10:51 AM, Brown, Aaron F wrote: > On Thu, 2014-01-16 at 09:58 +0800, Ethan Zhao wrote: >> Aaron, >> >> Is this your net-next repo ? if so, I rebuild the patch with this repo >> rig

Re: [E1000-devel] [PATCH 1/2 v3] ixgbe: define IXGBE_MAX_VFS_DRV_LIMIT macro and cleanup const 63

2014-01-15 Thread Ethan Zhao
Aaron, Is this your net-next repo ? if so, I rebuild the patch with this repo right now . git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/net-next.git Thanks, Ethan On Thu, Jan 16, 2014 at 9:54 AM, Brown, Aaron F wrote: > On Thu, 2014-01-16 at 09:27 +0800, Ethan Zhao wrote: >&g

Re: [E1000-devel] [PATCH 1/2 v3] ixgbe: define IXGBE_MAX_VFS_DRV_LIMIT macro and cleanup const 63

2014-01-15 Thread Ethan Zhao
On Thu, Jan 16, 2014 at 6:00 AM, Brown, Aaron F wrote: > On Wed, 2014-01-15 at 22:12 +0800, Ethan Zhao wrote: >> Because ixgbe driver limit the max number of VF functions could be enabled >> to 63, so define one macro IXGBE_MAX_VFS_DRV_LIMIT and cleanup the const 63 >> in

[E1000-devel] [PATCH 2/2] ixgbe: set driver_max_VFs should be done before enabling SRIOV

2014-01-15 Thread Ethan Zhao
sriov_set_totalvfs() before enable VFs with ixgbe_enable_sriov(). Signed-off-by: Ethan Zhao --- drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_ma

[E1000-devel] [PATCH 1/2 v3] ixgbe: define IXGBE_MAX_VFS_DRV_LIMIT macro and cleanup const 63

2014-01-15 Thread Ethan Zhao
Because ixgbe driver limit the max number of VF functions could be enabled to 63, so define one macro IXGBE_MAX_VFS_DRV_LIMIT and cleanup the const 63 in code. v2: fix a typo. v3: fix a encoding issue. Signed-off-by: Ethan Zhao --- drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 4

Re: [E1000-devel] [PATCH 1/2 v2] ixgbe: define IXGBE_MAX_VFS_DRV_LIMIT macro and cleanup const 63

2014-01-15 Thread Ethan Zhao
Aaron, I will check the patch and make it pass the building, seems encoding issue. Thanks, Ethan On Wed, Jan 15, 2014 at 11:46 AM, Brown, Aaron F wrote: > On Fri, 2013-12-27 at 01:02 -0800, Jeff Kirsher wrote: >> On Wed, 2013-12-25 at 00:12 +0800, Ethan Zhao wrote: >> > Be

[E1000-devel] [PATCH 1/2 v2] ixgbe: define IXGBE_MAX_VFS_DRV_LIMIT macro and cleanup const 63

2013-12-24 Thread Ethan Zhao
Because ixgbe driver limit the max number of VF functions could be enabled to 63, so define one macro IXGBE_MAX_VFS_DRV_LIMIT and cleanup the const 63 in code. v2: fix a typo. Signed-off-by: Ethan Zhao --- drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 4 ++-- drivers/net/ethernet/intel

[E1000-devel] [PATCH 2/2] ixgbe: set driver_max_VFs should be done before enabling SRIOV

2013-12-24 Thread Ethan Zhao
sriov_set_totalvfs() before enable VFs with ixgbe_enable_sriov(). Signed-off-by: Ethan Zhao --- drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_ma

[E1000-devel] [PATCH 1/2] ixgbe: define IXGBE_MAX_VFS_DRV_LIMIT macro and cleanup const 63

2013-12-24 Thread Ethan Zhao
Because ixgbe driver limit the max number of VF functions could be enalbed to 63, so define one macro IXGBE_MAX_VFS_DRV_LIMIT and cleanup the const 63 in code. Signed-off-by: Ethan Zhao --- drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 4 ++-- drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c

Re: [E1000-devel] NETDEV WATCHDOG: eth0 (e1000e): transmit queue 0 timed out

2013-12-08 Thread Ethan Zhao
Nick, You could try 7.3.21-k8-NAPI in tree or the out-of-tree version as Bjorn mentioned. To read and debug an old version driver is not a interesting thing for somebody to do. Thanks, Ethan On Tue, Dec 3, 2013 at 9:33 PM, Nick Pegg wrote: > On Mon, Dec 2, 2013 at 10:51 PM, Ethan Z

Re: [E1000-devel] NETDEV WATCHDOG: eth0 (e1000e): transmit queue 0 timed out

2013-12-02 Thread Ethan Zhao
Bjorn, Seems not the same bug as http://sourceforge.net/p/e1000/bugs/367/ , Nick is not running his kernel on bare metal, per the error log, he runs his kernel as HVM DomU guest or Dom0 on XEN ? so just a check of NULL will not fix that. Thanks, Ethan On Thu, Nov 21, 2013 at 5:22 AM, Bjorn

Re: [E1000-devel] [PATCH] drivers/base/core.c: always output device renaming messages.

2013-10-12 Thread Ethan Zhao
On Sat, Oct 12, 2013 at 12:08 AM, Bjorn Helgaas wrote: > [+cc Don, e1000-devel] > > On Fri, Oct 11, 2013 at 9:35 AM, Greg KH wrote: >> On Fri, Oct 11, 2013 at 10:58:18AM +0800, ethan.zhao wrote: >>> From: "ethan.zhao" >>> >>> While loading ixgbevf driver,every vf detected will be output as the >

Re: [E1000-devel] [PATCH] drivers/base/core.c: always output device renaming messages.

2013-10-11 Thread Ethan Zhao
On Sat, Oct 12, 2013 at 1:26 AM, Skidmore, Donald C wrote: >> -Original Message- >> From: Greg KH [mailto:gre...@linuxfoundation.org] >> Sent: Friday, October 11, 2013 9:12 AM >> To: Bjorn Helgaas >> Cc: ethan.zhao; linux-ker...@vger.kernel.org; Skidmore, Donald C; e1000- >> de...@lists.so

Re: [E1000-devel] 82571EB: Detected Hardware Unit Hang

2012-11-28 Thread Ethan Zhao
Joe, Possibly your customer is running a kernel without source code on a platform whose vendor wouldn't like to fix BIOS issue( Is that a HP/Dell server ?). Anyway, to see if is a payload issue or, you could change the payload size with setpci tool to those devices and set the link retrain

[E1000-devel] [next-net PATCH] drivers/net/ethernet/intel/e1000e: fix unregistered net_device ethX name output by e1000e

2012-06-06 Thread Ethan Zhao
commit ca3ccc6835943287b6f69e973c126a02bc4de409 Author: ethan.zhao Date: Wed Jun 6 07:32:11 2012 -0700 modified: drivers/net/ethernet/intel/e1000e/param.c While e1000e_check_options() is called, netdev is not registered, so the e1000e driver will print out confused ethernet i