netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stephen Hemminger <shemminger@linux-foundation.org>
To: Linsys Contractor Mithlesh Thukral <mithlesh@netxen.com>
Cc: netdev@vger.kernel.org, amitkale@netxen.com, jeff@garzik.org,
	netxenproj@linsyssoft.com, rob@netxen.com
Subject: Re: [PATCH 1/7] NetXen: Use multiple PCI functions
Date: Thu, 19 Apr 2007 08:00:59 -0700	[thread overview]
Message-ID: <20070419080059.1fe5d937@localhost.localdomain> (raw)
In-Reply-To: <200704191452.l3JEqOYv032290@dut39.unminc.com>

On Thu, 19 Apr 2007 07:52:24 -0700
Linsys Contractor Mithlesh Thukral <mithlesh@netxen.com> wrote:

> NetXen: Make driver use multiple PCI functions.
> This patch will make NetXen driver work with multiple PCI functions. This will
> make the usage of memory resources as well as interrupts more independent
> among different functions which results in better throughput. This change has
> been done after the multiport support is added in firmware.
> 
> Signed-off by: Mithlesh Thukral <mithlesh@netxen.com>
> 
> ---
> 
>  drivers/net/netxen/netxen_nic.h          |  126 ++---
>  drivers/net/netxen/netxen_nic_ethtool.c  |   83 +--
>  drivers/net/netxen/netxen_nic_hdr.h      |    8 
>  drivers/net/netxen/netxen_nic_hw.c       |  217 ++++++--
>  drivers/net/netxen/netxen_nic_hw.h       |   18 
>  drivers/net/netxen/netxen_nic_init.c     |  117 +---
>  drivers/net/netxen/netxen_nic_isr.c      |   87 +--
>  drivers/net/netxen/netxen_nic_main.c     |  526 ++++++++++-----------
>  drivers/net/netxen/netxen_nic_niu.c      |   27 -
>  drivers/net/netxen/netxen_nic_phan_reg.h |  125 ----
>  10 files changed, 645 insertions(+), 689 deletions(-)
> 
> diff --git a/drivers/net/netxen/netxen_nic.h b/drivers/net/netxen/netxen_nic.h
> index dd8ce35..7a5a95e 100644
> --- a/drivers/net/netxen/netxen_nic.h
> +++ b/drivers/net/netxen/netxen_nic.h
> @@ -219,6 +219,7 @@ #define MIN_RX_COUNT	4096
>  #define NETXEN_CTX_SIGNATURE	0xdee0
>  #define NETXEN_RCV_PRODUCER(ringid)	(ringid)
>  #define MAX_FRAME_SIZE	0x10000	/* 64K MAX size for LSO */
> +#define MAC_ADDR_LEN 	6
>

Please use ETH_ALEN for this if it is an ethernet device.

  reply	other threads:[~2007-04-19 15:01 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-19 14:52 [PATCH 1/7] NetXen: Use multiple PCI functions Linsys Contractor Mithlesh Thukral
2007-04-19 15:00 ` Stephen Hemminger [this message]
2007-04-19 15:00   ` Mithlesh Thukral
  -- strict thread matches above, loose matches on Subject: below --
2007-04-20 14:52 Mithlesh Thukral
2007-04-28  0:13 ` Jeff Garzik
2007-04-19 14:51 Linsys Contractor Mithlesh Thukral
2007-04-13 15:36 Linsys Contractor Mithlesh Thukral

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070419080059.1fe5d937@localhost.localdomain \
    --to=shemminger@linux-foundation.org \
    --cc=amitkale@netxen.com \
    --cc=jeff@garzik.org \
    --cc=mithlesh@netxen.com \
    --cc=netdev@vger.kernel.org \
    --cc=netxenproj@linsyssoft.com \
    --cc=rob@netxen.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).