19 Dec, 2013
13 commits
-
Conflicts:
drivers/net/ethernet/intel/i40e/i40e_main.c
drivers/net/macvtap.cBoth minor merge hassles, simple overlapping changes.
Signed-off-by: David S. Miller
-
Drivers should call skb_set_hash to set the hash and its type
in an skbuff.Signed-off-by: Tom Herbert
Signed-off-by: David S. Miller -
Drivers should call skb_set_hash to set the hash and its type
in an skbuff.Signed-off-by: Tom Herbert
Signed-off-by: David S. Miller -
Drivers should call skb_set_hash to set the hash and its type
in an skbuff.Signed-off-by: Tom Herbert
Signed-off-by: David S. Miller -
Drivers should call skb_set_hash to set the hash and its type
in an skbuff.Signed-off-by: Tom Herbert
Signed-off-by: David S. Miller -
Drivers should call skb_set_hash to set the hash and its type
in an skbuff.Signed-off-by: Tom Herbert
Signed-off-by: David S. Miller -
Drivers should call skb_set_hash to set the hash and its type
in an skbuff.Signed-off-by: Tom Herbert
Signed-off-by: David S. Miller -
Drivers should call skb_set_hash to set the hash and its type
in an skbuff.Signed-off-by: Tom Herbert
Signed-off-by: David S. Miller -
Drivers should call skb_set_hash to set the hash and its type
in an skbuff.Signed-off-by: Tom Herbert
Signed-off-by: David S. Miller -
Drivers should call skb_set_hash to set the hash and its type
in an skbuff.Signed-off-by: Tom Herbert
Signed-off-by: David S. Miller -
Drivers should call skb_set_hash to set the hash and its type
in an skbuff.Signed-off-by: Tom Herbert
Signed-off-by: David S. Miller -
Drivers should call skb_set_hash to set the hash and its type
in an skbuff.Signed-off-by: Tom Herbert
Signed-off-by: David S. Miller -
Jeff Kirsher says:
====================
Intel Wired LAN Driver UpdatesThis series contains updates to i40e, ixgbevf, ixgbe and igb.
Don provides an ixgbevf patch to add DCB configuration into the queue
setup so that we won't have to allocate queues in a separate place when
enabling DCB.Guenter Roeck provides 2 patches for ixgbe to simplify the code by
attaching hwmon sysfs attributes to hwmon device instead of PCI device.
Also fix an issues where the temperature sensor attribute index was
being started with the value 0 and not 1 as per the hwmon API.Carolyn provides igb patches to fix queue allocation method to
accommodate changes during runtime. This includes changing how the
driver initializes MSIx and checks for MSIx configuration to make it
easier to reconfigure the device when queue changes happen at runtime.Neerav and Shannon fixes i40e debugfs commands that dump hex information
by using print_hex_dump().Shannon provides several i40e fixes which include the prevention of
null pointer exception in the dump descriptor by checking that rings
were allocated before trying to reference them. Fixed up a couple of
scanfs to accept various base numbers instead of silently requiring hex.Anjali fixes up i40e where the incorrect defines were being used for
misc interrupts.Alan Cox provides a fix for i40e where we assume that the resulting
buffer is zero terminated when we then re-use it. The sscanf is limited
to 512 bytes but needs to be 511 to allow for a terminator.Stephen Hemminger fixes i40e by making local functions static and removes
unused code (i40e_aq_add/remove_vlan() functions).
====================Signed-off-by: David S. Miller
18 Dec, 2013
27 commits
-
This patch changes how the driver initializes MSIx and checks
for MSIx configuration. This change makes it easier to reconfigure the
device when queue changes happen at runtime using ethtool's set_channels
feature.Signed-off-by: Carolyn Wyborny
Tested-by: Aaron Brown
Signed-off-by: Jeff Kirsher -
When changing number of queues using ethtool's set_channels during runtime,
a queue allocation could fail, which can leave the device in a down state.
In order to preserve the usability of the device in this scenario, this patch
changes the driver to allocate the number of queues only if they have not
been allocated already. The first allocation is then done for the max number
of queues, which is the default queues for this driver. With this change,
queue quantity changes are not subject to queue allocation failures.Signed-off-by: Carolyn Wyborny
Tested-by: Aaron Brown
Signed-off-by: Jeff Kirsher -
Per hwmon ABI, temperature sensor attribute index starts with 1, not 0.
Signed-off-by: Guenter Roeck
Reviewed-by: Jean Delvare
Signed-off-by: Jeff Kirsher -
Simplify the code. Attach hwmon sysfs attributes to hwmon device
instead of pci device. Avoid race conditions caused by attributes
being created after hwmon device registration. Implicitly
(through hwmon API) add mandatory 'name' sysfs attribute.Other cleanup:
Instead of allocating memory for hwmon attributes, move attributes
and all other hwmon related data into struct hwmon_buff and allocate
the entire structure using devm_kzalloc.Check return value from calls to igb_add_hwmon_attr() one by one instead
of logically combining them all together.Signed-off-by: Guenter Roeck
Tested-by: Phil Schmitt
Signed-off-by: Jeff Kirsher -
This patch takes the DCB config checks and adds them to the normal setting
up of the queues. This way we won't have to allocation queues in a separate
place for enabling DCB.Signed-off-by: Alexander Duyck
Signed-off-by: Don Skidmore
Tested-by: Phil Schmitt
Tested-By: Jack Morgan
Signed-off-by: Jeff Kirsher -
Make local functions static in the file they are used.
Remove functions i40e_aq_add_vlan and i40e_aq_remove_vlan since
they are not used anywhere by current code.Signed-off-by: Stephen Hemminger
Tested-by: Kavindya Deegala
Signed-off-by: Jeff Kirsher -
We assume that the resulting buffer is zero terminated when we then
re-use it. The sscanf is limited to 512 bytes but needs to be 511
to allow for a terminator.One of a set of problems noted by Jackie Chang
Signed-off-by: Alan Cox
Acked-by: Shannon Nelson
Tested-by: Kavindya Deegala
Signed-off-by: Jeff Kirsher -
Version updated to 0.3.14-k
Signed-off-by: Catherine Sullivan
Signed-off-by: Jesse Brandeburg
Signed-off-by: Jeff Kirsher -
No functional change, but the wrong defines were being used.
Change-Id: Ica2afd2dfe18154ca0f1260a508f31e372319ba7
Signed-off-by: Anjali Singhai Jain
Signed-off-by: Jesse Brandeburg
Signed-off-by: Jeff Kirsher -
Take advantage of print_hex_dump() in another couple places to
clean up the code.Change-Id: Ib618e75f928308c0afd0d8d74105da0c6577a024
Signed-off-by: Shannon Nelson
Signed-off-by: Jesse Brandeburg
Signed-off-by: Jeff Kirsher -
Fix up a couple of scanfs to accept various base numbers instead of silently
requiring hex.Change-Id: I1cc4dffbb1d011bf603cbf34a8db093da57fad7a
Signed-off-by: Shannon Nelson
Signed-off-by: Jesse Brandeburg
Signed-off-by: Jeff Kirsher -
debugfs fixes: We don't really need to give usage messages for data errors,
only for invalid command errors.Change-Id: If3f74ac49e43c3ced7fd388323fa738ac145e055
Signed-off-by: Shannon Nelson
Signed-off-by: Jesse Brandeburg
Signed-off-by: Jeff Kirsher -
Check that rings were allocated before trying to reference them.
Change-Id: I33151e55ab7a7a305fecdb88ccb2709ac246b7c7
Signed-off-by: Shannon Nelson
Signed-off-by: Jesse Brandeburg
Signed-off-by: Jeff Kirsher -
checkpatch spotted two errors, fix them.
Signed-off-by: Florian Fainelli
Signed-off-by: David S. Miller -
checkpatch spotted a few checkpatch errors such as whitespace damages
and switch/case labels not being on the same column, fix them.Signed-off-by: Florian Fainelli
Signed-off-by: David S. Miller -
checkpatch spotted a few spaces vs tabs errors, fix them.
Signed-off-by: Florian Fainelli
Signed-off-by: David S. Miller -
Signed-off-by: Florian Fainelli
Signed-off-by: David S. Miller -
checkpath spotted a few errors in this file, fix them.
Signed-off-by: Florian Fainelli
Signed-off-by: David S. Miller -
Signed-off-by: Florian Fainelli
Signed-off-by: David S. Miller -
Signed-off-by: Florian Fainelli
Signed-off-by: David S. Miller -
checkpath spotted a few stylistic errors, fix them.
Signed-off-by: Florian Fainelli
Signed-off-by: David S. Miller -
checkpath spotted a few stylistic errors fix them.
Signed-off-by: Florian Fainelli
Signed-off-by: David S. Miller -
Signed-off-by: Rasesh Mody
Signed-off-by: David S. Miller -
This patch includes change to enable firmware patch simplication feature.
This feature is targeted to address the requirement to have independent patch
release for firmware. Prior to the 3.2.3.0 firmware, releasing a patch fix for
firmware would require changes to bna driver, to use new firmware images.
However with these changes, if the new firmware is flashed on to the Adapter,
the driver will use the new firmware after checking the patch release byte in
the firmware version.Update the f/w version to 3.2.3.0
Signed-off-by: Rasesh Mody
Signed-off-by: David S. Miller -
- Store the length of the skb buffer mapped along with the handle and use it
while unmapping the buffer.Signed-off-by: Rasesh Mody
Signed-off-by: David S. Miller -
Change details:
- When bnad_setup_tx() returns NULL, the error is NOT returned to the caller.
The caller will incorrectly assume success. So Return ENOMEM when bna_tx_create()
fails.
- If bnad_tx_msix_register() fails, call bna_tx_destroy() to free tx & to NULL
the bnad reference to tcb.Signed-off-by: Rasesh Mody
Signed-off-by: David S. Miller -
Currently we already check to see whether the BNAD_TXQ_TX_STARTED cleared.
But if the tcb structure which contains this flag is also already freed by that
time, we would dereference the NULL pointer. This patch is to check tcb for NULL
pointer, before dereferencing it.Signed-off-by: Rasesh Mody
Signed-off-by: David S. Miller