10 Mar, 2011
2 commits
-
Phonet assumes that packets are never dropped. We try our best to
avoid this situation. But lets return ENOBUFS if queueing to the
network device fails so that the caller knows things went wrong.Signed-off-by: Rémi Denis-Courmont
Signed-off-by: David S. Miller -
The previous Phonet patch series introduced per-socket implicit
destination (i.e. connect()). In that case, the destination
socket address is NULL in the transmit function.
However commit a8059512b120362b15424f152b2548fe8b11bd0c
("Phonet: implement per-socket destination/peer address")
is incomplete and would trigger a NULL dereference.
(Fortunately, the code is not in released kernel, and in fact
currently not reachable.)Signed-off-by: Rémi Denis-Courmont
Signed-off-by: David S. Miller
09 Mar, 2011
6 commits
-
If modifications on other cpus are ok, then modifications to
the tree during lookup done by the local cpu are ok too.Signed-off-by: David S. Miller
-
This commit:
commit d7c8a29fc8bd20ba45ec2f52577ed04a988a9500
Author: Emil Tantilov
Date: Thu Mar 3 09:25:02 2011 +0000ixgbe: improve logic in ixgbe_init_mbx_params_pf
incorrectly added a line that accessed mbx->udelay. I'm sure the intent
was mbx->usec_delay. This patch fixes the compilation error.Signed-off-by: Andy Gospodarek
Signed-off-by: David S. Miller -
The mv88e6060 uses either the lower 16 or upper 16 mii addresses,
depending on the value of the EE_CLK/ADDR4 pin. Support both
configurations by using the sw_addr setting as base address.Signed-off-by: Peter Korsgaard
Acked-by: Lennert Buytenhek
Signed-off-by: David S. Miller -
We have to use cfg->fc_scope not the final nh_scope value.
Reported-by: Julian Anastasov
Signed-off-by: David S. Miller
08 Mar, 2011
32 commits
-
When doing output route lookups, we have to select the source address
if the user has not specified an explicit one.First, if the route has an explicit preferred source address
specified, then we use that.Otherwise we search the route's outgoing interface for a suitable
address.This search can be precomputed and cached at route insertion time.
The only missing part is that we have to refresh this precomputed
value any time addresses are added or removed from the interface, and
this is accomplished by fib_update_nh_saddrs().Signed-off-by: David S. Miller
-
Add the ability to set 100/F on x540.
Fix reporting of advertised modes by adding check for phy.autoneg_advertisedSigned-off-by: Emil Tantilov
Tested-by: Stephen Ko
Signed-off-by: Jeff Kirsher -
Signed-off-by: Emil Tantilov
Tested-by: Stephen Ko
Signed-off-by: Jeff Kirsher -
Use if/then instead of an all-inclusive case statement.
Signed-off-by: Emil Tantilov
Tested-by: Stephen Ko
Signed-off-by: Jeff Kirsher -
Add description for ixgbe_init_eeprom_params_X540 and whitespace fix.
Signed-off-by: Emil Tantilov
Tested-by: Stephen Ko
Signed-off-by: Jeff Kirsher -
This patch enables flow control pause parameters auto-negotiation support
to 82599 based 10G Base-T, backplane devices and multi-speed fiber optics
modules at 1G speedSigned-off-by: Emil Tantilov
Tested-by: Stephen Ko
Signed-off-by: Jeff Kirsher -
Add defines to accumulate and display x540 PHY statistic counters on
transmit/receive.Signed-off-by: Emil Tantilov
Tested-by: Stephen Ko
Signed-off-by: Jeff Kirsher -
The 82599 was not correctly having some of it's counters cleared for flow
control. This change corrects that.Signed-off-by: Emil Tantilov
Signed-off-by: Jeff Kirsher -
This change cleans up several situations in which we were either stepping
over possible errors, or calling initialization routines multiple times.
Also includes whitespace fixes where applicable.Signed-off-by: Emil Tantilov
Tested-by: Stephen Ko
Signed-off-by: Jeff Kirsher -
Add support to the ndo_fcoe_ddp_target() to allow the Intel 82599 device to
also provide DDP offload capability when the upper FCoE protocol stack is
operating as a target.Signed-off-by: Yi Zou
Signed-off-by: Kiran Patil
Signed-off-by: Jeff Kirsher -
Add the new target ddp offload support ndo_fcoe_ddp_target().
Signed-off-by: Yi Zou
Signed-off-by: Kiran Patil
Signed-off-by: Jeff Kirsher -
The Fiber Channel over Ethernet (FCoE) Direct Data Placement (DDP) can also be
used for FCoE target, where the DDP used for read I/O on an initiator can be
used on an FCoE target to speed up the write I/O to the target from the initiator.
The added ndo_fcoe_ddp_target() works in the similar way as the existing
ndo_fcoe_ddp_setup() to allow the underlying hardware set up the DDP context
accordingly when it gets called from the FCoE target implementation on top
the existing Open-FCoE fcoe/libfc protocol stack so without losing the ability
to provide DDP for read I/O as an initiator, it can also provide DDP offload
to the write I/O coming from the initiator as a target.Signed-off-by: Yi Zou
Signed-off-by: Kiran Patil
Tested-by: Kavindya Deegala
Signed-off-by: Jeff Kirsher -
In the previous commit:
commit 5e655105e3e19d746f9e95c514b014c11c3d1b6a
Author: Don Skidmore
Date: Fri Feb 25 01:58:04 2011 +0000ixgbe: add function pointer for semaphore function
there was one release of the semaphore function call which
did not get converted to a function pointer.Signed-off-by: Jeff Kirsher
-
This patch adds statistics output for OS2BMC feature which is configured
by eeprom on capable devices.Signed-off-by: Carolyn Wyborny
Tested-by: Aaron Brown
Signed-off-by: Jeff Kirsher -
kernel build fails with:
drivers/built-in.o: In function `e1000_lv_jumbo_workaround_ich8lan':
(.text+0x3e7a8): undefined reference to `crc32_le'when CONFIG_CRC32 is not set or does not match the CONFIG_E1000E
selection.Signed-off-by: Emil Tantilov
Reviewed-by: Bruce Allan
Tested-by: Jeff Pieper
Signed-off-by: Jeff Kirsher -
Signed-off-by: Hagen Paul Pfeifer
Signed-off-by: David S. Miller -
Signed-off-by: Hagen Paul Pfeifer
Signed-off-by: David S. Miller -
Signed-off-by: Hagen Paul Pfeifer
Signed-off-by: David S. Miller -
ip6_mc_source(), ip6_mc_msfilter() as well as ip6_mc_msfget() declare
and assign dev but do not use the variable afterwards.Signed-off-by: Hagen Paul Pfeifer
Signed-off-by: David S. Miller -
drivers/net/s2io.c:7559: warning: ‘tcp_len’ may be used uninitialized in this function
Signed-off-by: Shan Wei
Signed-off-by: David S. Miller -
When there is a ptype handler holding a clone of this skb, whose
destination MAC addresse is overwritten, the owner of this handler may
get a corrupted packet.Signed-off-by: Changli Gao
Signed-off-by: David S. Miller -
These two functions are only used when net poll controller is enabled.
Signed-off-by: Changli Gao
Signed-off-by: David S. Miller -
This was there before, I forgot about this. Allows deliveries to
ptype_base handlers registered for orig_dev. I presume this is still
desired.Signed-off-by: Jiri Pirko
Reviewed-by: Nicolas de Pesloüan
Signed-off-by: David S. Miller -
Lancer requires multicast capability flag set during IFACE_CREATE
for adding multicast filters.Signed-off-by: Padmanabh Ratnakar
Signed-off-by: Sathya Perla
Signed-off-by: Subramanian Seetharaman
Signed-off-by: David S. Miller -
For Lancer disable interrupts in close by disarming CQs and EQs.
Change the order of calls in be_close to achieve the correct result.Signed-off-by: Padmanabh Ratnakar
Signed-off-by: Sathya Perla
Signed-off-by: Subramanian Seetharaman
Signed-off-by: David S. Miller -
Remove TX Queue stop in close
Signed-off-by: Padmanabh Ratnakar
Signed-off-by: Sathya Perla
Signed-off-by: Subramanian Seetharaman
Signed-off-by: David S. Miller -
Change f/w command versions for Lancer
Signed-off-by: Padmanabh Ratnakar
Signed-off-by: Sathya Perla
Signed-off-by: Subramanian Seetharaman
Signed-off-by: David S. Miller -
Add error recovery during load for Lancer
Signed-off-by: Padmanabh Ratnakar
Signed-off-by: Sathya Perla
Signed-off-by: Subramanian Seetharaman
Signed-off-by: David S. Miller -
L4 checksum field is valid only for TCP/UDP packets in Lancer
Signed-off-by: Padmanabh Ratnakar
Signed-off-by: Sathya Perla
Signed-off-by: Subramanian Seetharaman
Signed-off-by: David S. Miller -
Workaround added for Lancer in handling RX ERR completion received
when no RX buffers are posted is not needed.Signed-off-by: Padmanabh Ratnakar
Signed-off-by: Sathya Perla
Signed-off-by: Subramanian Seetharaman
Signed-off-by: David S. Miller -
This elimiates a lot of pure overhead due to parameter
passing.Signed-off-by: David S. Miller