29 Oct, 2009
16 commits
-
Implement querying and acting upon the no sack bit in the features
field.Signed-off-by: Gilad Ben-Yossef
Sigend-off-by: Ori Finkelman
Sigend-off-by: Yony Amit
Signed-off-by: David S. Miller -
Adding an accessor to existing dst_entry feautres field and
refactor the only supported feature (allfrag) to use it.Signed-off-by: Gilad Ben-Yossef
Sigend-off-by: Ori Finkelman
Sigend-off-by: Yony Amit
Signed-off-by: David S. Miller -
We need tcp_parse_options to be aware of dst_entry to
take into account per dst_entry TCP options settingsSigned-off-by: Gilad Ben-Yossef
Sigend-off-by: Ori Finkelman
Sigend-off-by: Yony Amit
Signed-off-by: David S. Miller -
Since we only use tcp_parse_options here to check for the exietence
of TCP timestamp option in the header, it is better to call with
the "established" flag on.Signed-off-by: Gilad Ben-Yossef
Signed-off-by: Ori Finkelman
Signed-off-by: Yony Amit
Signed-off-by: David S. Miller -
Speedup module unloading by factorizing synchronize_rcu() calls
Signed-off-by: Eric Dumazet
Signed-off-by: David S. Miller -
Speedup module unloading by factorizing synchronize_rcu() calls
Signed-off-by: Eric Dumazet
Signed-off-by: David S. Miller -
Speedup module unloading by factorizing synchronize_rcu() calls
Signed-off-by: Eric Dumazet
Signed-off-by: David S. Miller -
Speedup module unloading by factorizing synchronize_rcu() calls
Signed-off-by: Eric Dumazet
Signed-off-by: David S. Miller -
Speedup module unloading by factorizing synchronize_rcu() calls
Signed-off-by: Eric Dumazet
Signed-off-by: David S. Miller -
This patch adds the PCI IDs for the next generation chip to the
PCI_DEVICE_ID table.Signed-off-by: Ajit Khaparde
Signed-off-by: David S. Miller -
When changing flow control (pause) parameters, the flow control thresholds
(i.e. when to send XON/XOFF frames) may not be setup correctly on parts
with copper media. Call the existing e1000_set_fc_watermarks()
function to set these thresholds.Signed-off-by: Bruce Allan
Signed-off-by: Jeff Kirsher
Signed-off-by: David S. Miller -
Implements the netdev_ops.ndo_fcoe_get_wwn for VLAN device.
Signed-off-by: Yi Zou
Signed-off-by: Jeff Kirsher
Signed-off-by: David S. Miller -
Implements the netdev_ops.ndo_fcoe_get_wwn in 82599 if it finds valid
prefix for the World Wide Node Name (WWNN) or World Wide Port Name (WWPN),
as well as valid SAN MAC address.Signed-off-by: Yi Zou
Signed-off-by: Jeff Kirsher
Signed-off-by: David S. Miller -
Add ndo_fcoe_get_wwn so Fiber Channel over Ethernet (FCoE) can make use of
the provided World Wide Port Name (WWPN) and World Wide Node Name (WWNN)
from the underlying network interface driver.Signed-off-by: Yi Zou
Signed-off-by: Jeff Kirsher
Signed-off-by: David S. Miller -
The 82599 EEPROM supports alternative prefix for World Wide Node Name
(WWNN) and World Wide Port Name (WWPN). The prefixes can be used together
with the SAN MAC address to form the WWNN and WWPN, which can be used by
upper layer drivers such as Fiber Channel over Ethernet (FCoE).Signed-off-by: Yi Zou
Acked-by: Peter P Waskiewicz Jr
Signed-off-by: Jeff Kirsher
Signed-off-by: David S. Miller -
Remove duplicate headerfile includes from vmxnet3_int.h
Signed-off-by: Shreyas Bhatewara
Signed-off-by: Huang Weiyi
Signed-off-by: Bhavesh Davda
Signed-off-by: David S. Miller
28 Oct, 2009
24 commits
-
Update ethtool get_settings function to:
- get current link speed settings from controller
- get port transceiver type from controller
- fill appropriate values for supported, phy_addressSigned-off-by: Sarveshwar Bandi
Signed-off-by: David S. Miller -
Devices with loadable firmware must have their firmware reloaded
after the system resumes from sleep, but the request_firmare()
API is not available at this point in the resume flow because
tasks are not yet running, and the system will hang if it is
called. Work around this issue by only calling request_firmware()
for a device's first firmware load, and cache a copy of the pointer
to the firmware blob for that device, so that we may reload firmware
images even during resume.Signed-off-by: David Graham
Signed-off-by: Jeff Kirsher
Signed-off-by: David S. Miller -
Signed-off-by: Dhananjay Phadke
Signed-off-by: David S. Miller -
Add MODULE_FIRMWARE hints for various firmware file types,
required by different chip revisions.Signed-off-by: Dhananjay Phadke
Signed-off-by: David S. Miller -
Update module info with QLogic signature.
Signed-off-by: Dhananjay Phadke
Signed-off-by: David S. Miller -
Add PCI vendor and device IDs for QLE8240 and QLE8242
CNA devices.Signed-off-by: Dhananjay Phadke
Signed-off-by: David S. Miller -
Refactor code to calculate and set indirect access
window for control registers in 2MB address space
(NX3031 or newer). Use void __iomem * data type for
absolute pci addresses.Signed-off-by: Dhananjay Phadke
Signed-off-by: David S. Miller -
Add support for extracting firmware from a unified
file format which embeds firmware images for all chip
revisions. Fallback to orginal file formats if new
image is not found.Signed-off-by: Amit Kumar Salecha
Signed-off-by: Dhananjay Phadke
Signed-off-by: David S. Miller -
via-velocity maintains a list of its devices in order to determine
whether a netdev notification applies to one of them. That can be
determined simply by checking the netdev_ops pointer, so the list can
be removed.Compile-tested only.
Signed-off-by: Ben Hutchings
Signed-off-by: David S. Miller -
Corrected a spelling error in a function name.
Signed-off-by: Andreas Petlund
Signed-off-by: David S. Miller -
commit d519e17e2d01a0ee9abe083019532061b4438065
(net: export device speed and duplex via sysfs)
made the wrong assumption that netdev->ethtool_ops was always set.This makes possible to crash kernel and let rtnl in locked state.
modprobe dummy
ip link set dummy0 up
(udev runs and crash)Signed-off-by: Eric Dumazet
Acked-by: Andy Gospodarek
Signed-off-by: David S. Miller -
This driver has NAPI code but it has been disabled. Enable it now.
The non-napi code will be removed lator.Signed-off-by: Atsushi Nemoto
Signed-off-by: David S. Miller -
Return received count correctly even if tx completed at the same time.
Currently NAPI is disabled for this driver so this patch does not fix
any real problem.Signed-off-by: Atsushi Nemoto
Signed-off-by: David S. Miller -
Add support NAPI Rx API for KS8695NET driver.
v2, change the Rx function to NAPI.
in :
Interrupt Enable Register (offset 0xE204)
Bit29 : WAN MAC Receive Interrupt Enable
Bit16 : LAN MAC Receive Interrupt EnableInterrupt Status Register (Offset 0xF208)
Bit29: WAN MAC Receive Status
Bit16: LAN MAC Receive Statussee arch/arm/mach-ks8695/devices.c:
ks8695_wan_resources[] and ks8695_lan_resources[]
have IORESOURCE_IRQ , it have define the RX irq,
for wan, irq = 29; for lan ,irq = 16.
so we can do this read the interrupt status:unsigned long mask_bit = 1 << ksp->rx_irq;
status = readl(KS8695_IRQ_VA + KS8695_INTST);Signed-off-by: Figo.zhang
Signed-off-by: David S. Miller -
drivers/net/igb/igb_ethtool.c: In function ‘igb_set_ringparam’:
drivers/net/igb/igb_ethtool.c:744: warning: comparison of distinct pointer types lacks a cast
drivers/net/igb/igb_ethtool.c:748: warning: comparison of distinct pointer types lacks a castCasts were to u16 on the constant, but the type of new_{r,t}x_count is
u32. Cast to u32 instead.Signed-off-by: David S. Miller
-
This patch goes through and cleans up whitespace issues in igb_main.c
to help improve readability.Signed-off-by: Alexander Duyck
Signed-off-by: Jeff Kirsher
Signed-off-by: David S. Miller -
Going forward the plan is to have the MACs support SCTP checksum offloads
so change the check from == to >=.Signed-off-by: Alexander Duyck
Signed-off-by: Jeff Kirsher
Signed-off-by: David S. Miller -
Limit the minimum mtu to 68 in order to prevent ip from being unbound from
the interface.Signed-off-by: Alexander Duyck
Signed-off-by: Jeff Kirsher
Signed-off-by: David S. Miller -
This patch relpaces several references to adapter->pdev->dev with just
pdev->dev. This allows for cleanup of several multiline dev_err/info
calls.Signed-off-by: Alexander Duyck
Signed-off-by: Jeff Kirsher
Signed-off-by: David S. Miller -
This patch just cleans up some unecessary references to the adapter->hw
member when it has already been placed in a local variable named hw.Signed-off-by: Alexander Duyck
Signed-off-by: Jeff Kirsher
Signed-off-by: David S. Miller -
This patch cleans up some whitespace issues in clean_rx_irq_adv. It also
adds NUMA aware page allocation and dma error handling to
alloc_rx_buffers_adv.Signed-off-by: Alexander Duyck
Signed-off-by: Jeff Kirsher
Signed-off-by: David S. Miller -
This patch cleans up the xmit frame path for igb to better handle xmit
frame errors and avoid null pointer exceptions. It also cleans up some
whitespace issues found in the xmit frame path.Signed-off-by: Alexander Duyck
Signed-off-by: Jeff Kirsher
Signed-off-by: David S. Miller -
This patch changes the layout of the ring and adapter structs to fill a few
holes in the structure. It also cleans up some whitespace and formatting
issues.Signed-off-by: Alexander Duyck
Signed-off-by: Jeff Kirsher
Signed-off-by: David S. Miller -
There are several counters being used like they are static when in fact
they are clear on read. In order to prevent the values from being
incorrect I am removing the defunct counters.Signed-off-by: Alexander Duyck
Signed-off-by: Jeff Kirsher
Signed-off-by: David S. Miller