15 Feb, 2011
3 commits
-
With previous patch, rose_get_neigh() routine
investigates the full list of neighbor nodes
until it finds or not an already connected node whether
it is called locally or through a level 3 transit frame.
If no routes are opened through an adjacent connected node
then a classical connect request is attempted.Then there is no more reason for an extra loop such
as the one removed by this patch.Signed-off-by: Bernard Pidoux
Signed-off-by: David S. Miller -
FPAC AX25 packet application is using Linux kernel ROSE
routing skills in order to connect or send packets to remote stations
knowing their ROSE address via a network of interconnected nodes.Each FPAC node has a ROSE routing table that Linux ROSE module is
looking at each time a ROSE frame is relayed by the node or when
a connect request to a neighbor node is received.A previous patch improved the system time response by looking at
already established routes each time the system was looking for a
route to relay a frame. If a neighbor node routing the destination
address was already connected, then the frame would be sent
through him. If not, a connection request would be issued.The present patch extends the same routing capability to a connect
request asked by a user locally connected into an FPAC node.
Without this patch, a connect request was not well handled unless it
was directed to an immediate connected neighbor of the local node.Implemented at a number of ROSE FPAC node stations, the present patch
improved dramatically FPAC ROSE routing time response and efficiency.Signed-off-by: Bernard Pidoux
Signed-off-by: David S. Miller -
Commit 0c838ff1ade7 (ipv4: Consolidate all default route selection
implementations.) forgot to remove one rcu_read_unlock() from
fib_select_default().Signed-off-by: Eric Dumazet
Signed-off-by: David S. Miller
14 Feb, 2011
16 commits
-
Bosch C_CAN controller is a full-CAN implementation which is compliant
to CAN protocol version 2.0 part A and B. Bosch C_CAN user manual can be
obtained from:http://www.semiconductors.bosch.de/media/en/pdf/ipmodules_1/c_can/users_manual_c_can.pdf
This patch adds the support for this controller.
The following are the design choices made while writing the controller
driver:
1. Interface Register set IF1 has be used only in the current design.
2. Out of the 32 Message objects available, 16 are kept aside for RX
purposes and the rest for TX purposes.
3. NAPI implementation is such that both the TX and RX paths function
in polling mode.Signed-off-by: Bhupesh Sharma
Signed-off-by: David S. Miller -
Signed-off-by: Guo-Fu Tseng
Signed-off-by: David S. Miller -
Some JMicron Chip treat 0 as error checksum for UDP packets.
Which should be "No checksum needed".Reported-by: Adam Swift
Confirmed-by: "Aries Lee"
Signed-off-by: Guo-Fu Tseng
Signed-off-by: David S. Miller -
The value of the register which holds receive Unicast MAC Address
sometimes get messed-up after resume.
This patch refill it before enabling the hardware filter.Signed-off-by: Guo-Fu Tseng
Signed-off-by: David S. Miller -
Adding control to clk_rx, and makes the control of clk_{rx|tx|tcp}
with safer sequence.
This sequence is provided by JMicron.Signed-off-by: Guo-Fu Tseng
Signed-off-by: David S. Miller -
Clear Transmit Timer/Retry setting while full-duplex.
Signed-off-by: Guo-Fu Tseng
Signed-off-by: David S. Miller -
Signed-off-by: Guo-Fu Tseng
Signed-off-by: David S. Miller -
Signed-off-by: Guo-Fu Tseng
Signed-off-by: David S. Miller -
After main chip rev 5, the hardware support more power saving
control registers.
Some Non-Linux drivers might turn off the phy power with new
interfaces, this patch makes it possible for Linux to turn it
on again.Signed-off-by: Guo-Fu Tseng
Signed-off-by: David S. Miller -
Get the main and sub chip revision for later workaround use.
Signed-off-by: Guo-Fu Tseng
Signed-off-by: David S. Miller -
add possibility to addif/delif via rtnetlink
Signed-off-by: Jiri Pirko
Signed-off-by: David S. Miller -
allow enslaving/releasing using netlink interface
Signed-off-by: Jiri Pirko
Signed-off-by: David S. Miller -
This patch allows userspace to enslave/release slave devices via netlink
interface using IFLA_MASTER. This introduces generic way to add/remove
underling devices.Signed-off-by: Jiri Pirko
Acked-by: Patrick McHardy
Signed-off-by: David S. Miller -
Fix two bugs introduced by the commit
c659c38b2796578638548b77ef626d93609ec8ac ("tlan: Code cleanup:
checkpatch.pl is relatively happy now.") In that change,
TLAN_CSTAT_READY was considered as a bit mask containing a single bit
set while it was actually had two set instead.Many thanks to Dan Carpenter for finding the mistake.
Signed-off-by: Sakari Ailus
Signed-off-by: David S. Miller -
dev->master is now tightly connected to bonding driver. This patch makes
this pointer more general and ready to be used by others.- netdev_set_master() - bond specifics moved to new function
netdev_set_bond_master()
- introduced netif_is_bond_slave() to check if device is a bonding slaveSigned-off-by: Jiri Pirko
Signed-off-by: David S. Miller -
No need to check (master) twice and to drive in and out the header file.
Signed-off-by: Jiri Pirko
Reviewed-by: Nicolas de Pesloüan
Signed-off-by: David S. Miller
12 Feb, 2011
21 commits
-
Remove unneeded depends on PHYLIB. The config selection is already in
an if PHYLIB / endif block.Signed-off-by: H Hartley Sweeten
Cc: "David S. Miller"
Signed-off-by: David S. Miller -
This allows user-space to send a '1500' MTU VLAN packet on a
1500 MTU ethernet frame. The extra 4 bytes of a VLAN header is
not usually charged against the MTU when other parts of the
network stack is transmitting vlans...Signed-off-by: Ben Greear
Reviewed-by: Eric Dumazet
Signed-off-by: David S. Miller -
WOL is not supported for Vrtual Functions.
Signed-off-by: Ajit Khaparde
Signed-off-by: David S. Miller -
Signed-off-by: Ajit Khaparde
Signed-off-by: David S. Miller -
Avoid accessing the hardware when UE is detected.
Signed-off-by: Ajit Khaparde
Signed-off-by: David S. Miller -
> call pci msix disable in be_suspend
> call pci msix enable in be_resume
> stop worker thread in be_suspend
> start worker thread in be_resume
> stop worker thread in be_shutdownSigned-off-by: Ajit Khaparde
Signed-off-by: David S. Miller -
Signed-off-by: Ajit Khaparde
Signed-off-by: David S. Miller -
Signed-off-by: Ajit Khaparde
Signed-off-by: David S. Miller -
Signed-off-by: Ajit Khaparde
Signed-off-by: David S. Miller -
be_cmd_pmac_add/del functions need to pass domain number to the firmware.
Signed-off-by: Ajit Khaparde
Signed-off-by: David S. Miller -
Currently we are always using the Emulex OUI for a VF MAC address
while generating MAC for a VF. Use OUI from current MAC instead.Signed-off-by: Ajit Khaparde
Signed-off-by: David S. Miller -
The PF needs to cleanup all the interface handles that it created for the VFs.
Signed-off-by: Ajit Khaparde
Signed-off-by: David S. Miller -
This is to avoid the completion processing for be_vf_eth_addr_config
to consume the link status notification before netdev_register.
Otherwise this causes the PF miss its first link status update.Signed-off-by: Ajit Khaparde
Signed-off-by: David S. Miller -
Signed-off-by: Ajit Khaparde
Signed-off-by: David S. Miller -
Signed-off-by: Ajit Khaparde
Signed-off-by: David S. Miller -
Signed-off-by: Ajit Khaparde
Signed-off-by: David S. Miller -
While configuring QOS for VFs, the VF number should be translated
to domain number correctly.Signed-off-by: Ajit Khaparde
Signed-off-by: David S. Miller -
For a host in the mesh network, the batman layer should be transparent.
However, we had one exception, data packets within the mesh network
which have the same destination as a originator are being routed to
that node, although there is no host that node's bat0 interface and
therefore gets dropped anyway. This commit removes this exception.Signed-off-by: Linus Lüssing
Signed-off-by: Sven Eckelmann -
types.h is included by main.h, which is included at the beginning of any
other c-file anyway. Therefore this commit removes those duplicate
inclussions.Signed-off-by: Linus Lüssing
Signed-off-by: Sven Eckelmann