History log of /drivers/net/ethernet/emulex/benet/be.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
f1f3ee1bcc996e21f122442fd8c34de51622c76a 18-Mar-2012 Ajit Khaparde <ajit.khaparde@emulex.com> be2net: fix programming of VLAN tags for VF

Signed-off-by: Ajit Khaparde <ajit.khaparde@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
/drivers/net/ethernet/emulex/benet/be.h
fbc13f018c0043146f8eccc7d6a6c0e66339e2d5 18-Mar-2012 Ajit Khaparde <ajit.khaparde@emulex.com> be2net: Program secondary UC MAC address into MAC filter

Signed-off-by: Ajit Khaparde <ajit.khaparde@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
/drivers/net/ethernet/emulex/benet/be.h
4762f6cec4455f3bbe4ca82c100fe5d85d3c02a2 18-Mar-2012 Ajit Khaparde <ajit.khaparde@emulex.com> be2net: enable WOL by default if h/w supports it

Signed-off-by: Ajit Khaparde <ajit.khaparde@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
/drivers/net/ethernet/emulex/benet/be.h
97767a87f3be8834192dc3fc9412aaccf708d87f 29-Feb-2012 Roland Dreier <roland@purestorage.com> be2net: Remove unused OFFSET_IN_PAGE() macro

Signed-off-by: Roland Dreier <roland@purestorage.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
/drivers/net/ethernet/emulex/benet/be.h
d708f6039b21ca8f0508ba1da1aaf3d00a36446f 23-Feb-2012 Sathya Perla <sathya.perla@emulex.com> be2net: update driver version

Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
/drivers/net/ethernet/emulex/benet/be.h
191eb7563164529bc7d6a693742fe5bed33cf004 23-Feb-2012 Sathya Perla <sathya.perla@emulex.com> be2net: cancel be_worker during EEH recovery

EEH recovery involves ring cleanup and re-creation. The worker
thread must not run during EEH cleanup/resume.

Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
/drivers/net/ethernet/emulex/benet/be.h
10ef9ab4329edd08bccc7a8d34b96b85714195ce 09-Feb-2012 Sathya Perla <sathya.perla@emulex.com> be2net: event queue re-design

v2: Fixed up the bad typecasting pointed out by David...

In the current design 8 TXQs are serviced by 1 EQ, while each RSS queue
is serviced by a separate EQ. This is being changed as follows:

- Upto 8 EQs will be used (based on the availabilty of msix vectors).
Each EQ will handle 1 RSS and 1 TX ring. The default non-RSS RX queue and
MCC queue are handled by the last EQ.

- On cards which provide support, upto 8 RSS rings will be used, instead
of the current limit of 4.

The new design allows spreading the TX multi-queue completion processing
across multiple CPUs unlike the previous design.

Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
/drivers/net/ethernet/emulex/benet/be.h
d45b9d39a1aed7851948460d29b843ce70eb0a68 29-Jan-2012 Sathya Perla <sathya.perla@emulex.com> be2net: add descriptions for stat counters reported via ethtool

Also rename a few counters appropritely and delete 2 counters that are not
implemented in HW.

vlan_mismatch_drops does not exist in BE3 and is accounted for in
address_mismatch_drops. Do the same thing for BE2 and Lancer.

Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
/drivers/net/ethernet/emulex/benet/be.h
bb349bb4b19b39830e0486aedfd7c7dca23b7baf 25-Jan-2012 Eric Dumazet <eric.dumazet@gmail.com> be2net: allocate more headroom in incoming skbs

Allocation of 64 bytes in skb headroom is not enough if we have to pull
ethernet + ipv6 + tcp headers, and/or extra tunneling header.

Its currently not noticed because netdev_alloc_skb_ip_align(64) give us
more room, thanks to power-of-two kmalloc() roundups.

Make sure we ask for 128 bytes so that side effects of upcoming patches
from Ian Campbell dont decrease benet rx performance, because of extra
skb head reallocations.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Cc: Ian Campbell <Ian.Campbell@citrix.com>
Cc: Vasundhara Volam <vasundhara.volam@emulex.com>
Cc: Sathya Perla <sathya.perla@emulex.com>
Cc: Ajit Khaparde <ajit.khaparde@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
/drivers/net/ethernet/emulex/benet/be.h
b236916a68d923acff15787b5439d7d684c17ae5 30-Dec-2011 Ajit Khaparde <ajit.khaparde@emulex.com> be2net: query link status in be_open()

be2net gets an async link status notification from the FW when it creates
an MCC queue. There are some cases in which this gratuitous notification
is not received from FW. To cover this explicitly query the link status
in be_open().

Signed-off-by: Vasundhara Volam <vasundhara.volam@emulex.com>
Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: Ajit Khaparde <ajit.khaparde@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
/drivers/net/ethernet/emulex/benet/be.h
ecedb6ae908e3a8a19942da921a3ffb1c5a0d6ab 15-Dec-2011 Ajit Khaparde <ajit.khaparde@emulex.com> be2net: Add support for Skyhawk cards

Signed-off-by: Ajit Khaparde <ajit.khaparde@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
/drivers/net/ethernet/emulex/benet/be.h
11ac75ed1eb9d8f5ff067fa9a82ebf5075989281 13-Dec-2011 Sathya Perla <sathya.perla@emulex.com> be2net: refactor/cleanup vf configuration code

- use adapter->num_vfs (and not the module param) to store the actual
number of vfs created. Use the same variable to reflect SRIOV
enable/disable state. So, drop the adapter->sriov_enabled field.

- use for_all_vfs() macro in VF configuration code

- drop the "vf_" prefix for the fields of be_vf_cfg; the prefix is
redundant and removing it helps reduce line wrap

Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
/drivers/net/ethernet/emulex/benet/be.h
6589ade019dcab245d3bb847370f855b56cdf6ad 10-Nov-2011 Sathya Perla <sathya.perla@emulex.com> be2net: stop issuing FW cmds if any cmd times out

A FW cmd timeout (with a sufficiently large timeout value in the
order of tens of seconds) indicates an unresponsive FW. In this state
issuing further cmds and waiting for a completion will only stall the process.

Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
/drivers/net/ethernet/emulex/benet/be.h
30128031d71741ef7d0e32c345e3bf02aa8a0704 10-Nov-2011 Sathya Perla <sathya.perla@emulex.com> be2net: init (vf)_if_handle/vf_pmac_id to handle failure scenarios

Initialize if_handle, vf_if_handle and vf_pmac_id with "-1" so that in
failure cases when be_clear() is called, we can skip over
if_destroy/pmac_del cmds if they have not been created.

Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
/drivers/net/ethernet/emulex/benet/be.h
3de09455cfcde1898fb435ad425b9ad5d13ed362 30-Sep-2011 Somnath Kotur <somnath.kotur@emulex.com> be2net: Making die temperature ioctl call async

Also changing it's frequency to once every 64s instead of existing 32s as
it was shown to affect performance

Signed-off-by: Somnath Kotur <somnath.kotur@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
/drivers/net/ethernet/emulex/benet/be.h
9ae081c66eb8ba0fdb38cca180952782a8744da4 30-Sep-2011 Somnath Kotur <somnath.kotur@emulex.com> be2net: Change the data type of the 'on die temperature' stat.

This was showing up as junk value on PPC /Big endian machines since
it was marked as a byte.

Signed-off-by: Somnath Kotur <somnath.kotur@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
/drivers/net/ethernet/emulex/benet/be.h
15133fbbb91ae695f153fb48daa6a1a8af4a5032 22-Aug-2011 Sathya Perla <sathya.perla@emulex.com> be2net: remove unused variable

Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
/drivers/net/ethernet/emulex/benet/be.h
db3ea7819d035ff01c8260fce364511adfae0eaa 22-Aug-2011 Sathya Perla <sathya.perla@emulex.com> be2net: get rid of memory mapped pci-cfg space address

Get rid of adapter->pcicfg and its use. Use pci_config_read/write_dword()
instead.

Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
/drivers/net/ethernet/emulex/benet/be.h
9aebddd11be42366f89b0296590770c02797aa98 13-May-2011 Jeff Kirsher <jeffrey.t.kirsher@intel.com> be2net: Move the Emulex driver

Moves the Emulex driver into drivers/net/ethernet/emulex/ and
make the necessary Kconfig and Makefile changes.

CC: Sathya Perla <sathya.perla@emulex.com>
CC: Subbu Seetharaman <subbu.seetharaman@emulex.com>
CC: Ajit Khaparde <ajit.khaparde@emulex.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
/drivers/net/ethernet/emulex/benet/be.h