Claim the emac sram ourselves, rather then relying on the bootloader
having mapped the sram to the emac controller during boot.
Signed-off-by: Hans de Goede hdego...@redhat.com
---
drivers/net/ethernet/allwinner/sun4i-emac.c | 13 +++--
1 file changed, 11 insertions(+), 2 deletions(-)
Remove unfounded interrupts which is not on RTL 8101 series.
Signed-off-by: Corcodel Marian corcodel.mar...@gmail.com
diff --git a/drivers/net/ethernet/realtek/r8169.c
b/drivers/net/ethernet/realtek/r8169.c
index 5fb79b1..5693e65 100644
--- a/drivers/net/ethernet/realtek/r8169.c
+++
The change to use a custom dst broke tcpdump captures on the VRF device:
$ tcpdump -n -i vrf10
...
05:32:29.009362 IP 10.2.1.254 10.2.1.2: ICMP echo request, id 21989, seq 1,
length 64
05:32:29.009855 00:00:40:01:8d:36 45:00:00:54:d6:6f, ethertype Unknown
(0x0a02), length 84:
0x:
Le 08/23/15 02:46, Andrew Lunn a écrit :
When polling for link status, don't consider ports which have a forced
link. Such ports don't monitor their phy or may not even have a phy.
Signed-off-by: Andrew Lunn and...@lunn.ch
Acked-by: Florian Fainelli f.faine...@gmail.com
--
Florian
--
To
Sun, Aug 23, 2015 at 02:11:16AM CEST, julia.law...@lip6.fr wrote:
Return a negative error code on failure.
A simplified version of the semantic match that finds this problem is as
follows: (http://coccinelle.lip6.fr/)
// smpl
@@
identifier ret; expression e1,e2;
@@
(
if (\(ret 0\|ret != 0\))
{
Le 08/23/15 02:46, Andrew Lunn a écrit :
Set the supported field of the phydev to indicate the speed features
of the phy. If the phy is never attached to a netdev, but used in an
adjust_link() function, the speed will be incorrectly evaluated to
10/half rather than the correct speed/duplex.
Le 08/23/15 02:46, Andrew Lunn a écrit :
It can be useful for DSA and CPU ports to have a phy-mode property, in
particular to specify RGMII delays. Parse the property and set it in
the fixed-link phydev.
Signed-off-by: Andrew Lunn and...@lunn.ch
Acked-by: Florian Fainelli
Le 08/23/15 02:46, Andrew Lunn a écrit :
Some Marvell switches allow the RGMII Rx and Tx clock to be delayed
when the port is using RGMII. Have the adjust_link function look at
the phy interface type and enable this delay as requested.
Signed-off-by: Andrew Lunn and...@lunn.ch
---
On Sat, 22 Aug 2015 02:20:56 +0200
Phil Sutter p...@nwl.cc wrote:
When removing the root qdisc, the interface should fall back to noqueue
as the 'real' minimal qdisc instead of the default one.
I worry this behavior could break existing scripts.
I prefer the idea of allowing tc command to
On Thu, 20 Aug 2015 22:40:12 +0200
Matthias Tafelmeier matthias.tafelme...@gmx.net wrote:
The prospected output formatters and ss do share type declarations like
slabstat or tcpstat so that the decision has been made to centralize
those declarations in ss_types.h. Potential future
Le 08/23/15 02:46, Andrew Lunn a écrit :
The current code sets user ports to perform auto negotiation using the
phy. CPU and DSA ports are configured to full duplex and maximum speed
the switch supports.
There are however use cases where the CPU has a slower port, and when
user ports have
On Sun, Aug 23, 2015 at 10:15:00AM +0200, Thomas Gleixner wrote:
So why can't you take N samples from the synced hardware? It does not
make any sense to me to switch to the imprecise mode if nsamples 1.
Ok, then I prefer to leave this imprecise method in place and ...
You can also provide a
From: Rana Shahout ra...@mellanox.com
To avoid multiply/division operations on the data path,
we hold a {channel, tc}==txq mapping table.
We held this mapping table inside the channel object that is
being destroyed upon some configuration operations (e.g MTU change).
So in case ndo_select_queue
On Sun, 23 Aug 2015 19:18:30 +0300
Corcodel Marian corcodel.mar...@gmail.com wrote:
Remove unfounded interrupts which is not on RTL 8101 series.
Signed-off-by: Corcodel Marian corcodel.mar...@gmail.com
Kernel style standards precludes use of C++ style comments.
Also, it is is considered
Le 08/23/15 02:47, Andrew Lunn a écrit :
What features a phy supports is masked in genphy_config_init() by
looking at the PHYs BMSR register.
If the link is down, fixed_phy_update_regs() will only set the auto-
negotiation capable bit in BMSR. Thus genphy_config_init() comes to
the
On Sun, 23 Aug 2015 20:44:42 +0200
Jesper Dangaard Brouer bro...@redhat.com wrote:
On Sat, 22 Aug 2015 02:20:56 +0200
Phil Sutter p...@nwl.cc wrote:
When removing the root qdisc, the interface should fall back to noqueue
as the 'real' minimal qdisc instead of the default one.
I worry
Le 08/23/15 02:46, Andrew Lunn a écrit :
By default, DSA and CPU ports are configured to the maximum speed the
switch supports. However there can be use cases where the peer devices
port is slower. Allow a fixed-link property to be used with the DSA
and CPU port in the device tree, and use
Keep writting on ChipCmd register close and execute before
writting on any decriptors.On close the interface same rule.
Signed-off-by: Corcodel Marian corcodel.mar...@gmail.com
diff --git a/drivers/net/ethernet/realtek/r8169.c
b/drivers/net/ethernet/realtek/r8169.c
index b0f7ed2..2ee8bca
Increase MaxReadReq to 8192 bytes wich fit with value
written on MaxTxPacketSize register 64 units and 128 descriptors on unit
on pci express interface. Old value from MaxReadReq is half from new value
as not fit.
Signed-off-by: Corcodel Marian a...@192-168-0-3.rdsnet.ro
diff --git
Remove various inlined functions not referenced in the kernel.
Signed-off-by: David Ahern d...@cumulusnetworks.com
---
include/net/inetpeer.h | 67 --
1 file changed, 67 deletions(-)
diff --git a/include/net/inetpeer.h b/include/net/inetpeer.h
On Sat, 22 Aug 2015, Richard Cochran wrote:
On Sat, Aug 22, 2015 at 10:33:48PM +0200, Thomas Gleixner wrote:
@@ -196,19 +197,31 @@ long ptp_ioctl(struct posix_clock *pc, unsigned int
cmd, unsigned long arg)
break;
}
pct = sysoff-ts[0];
-
inetpeer caches based on address only, so duplicate IP addresses within
a namespace return the same cached entry. Similar to IP fragments handle
duplicate addresses across VRFs by adding the VRF master device index to
the lookup.
Signed-off-by: David Ahern d...@cumulusnetworks.com
---
What features a phy supports is masked in genphy_config_init() by
looking at the PHYs BMSR register.
If the link is down, fixed_phy_update_regs() will only set the auto-
negotiation capable bit in BMSR. Thus genphy_config_init() comes to
the conclusion the PHY can only perform 10/Half, and masks
This patchset allows various switch port settings to be configured and
port status to be sampled. Some of these patches have been posted
before.
The first three patches provide infrastructure for configuring a
switch ports link speed and duplex from a fixed_link phy.
Patch four then uses this
It can be useful for DSA and CPU ports to have a phy-mode property, in
particular to specify RGMII delays. Parse the property and set it in
the fixed-link phydev.
Signed-off-by: Andrew Lunn and...@lunn.ch
---
net/dsa/dsa.c | 8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git
By default, DSA and CPU ports are configured to the maximum speed the
switch supports. However there can be use cases where the peer devices
port is slower. Allow a fixed-link property to be used with the DSA
and CPU port in the device tree, and use this information to configure
the port.
The current code sets user ports to perform auto negotiation using the
phy. CPU and DSA ports are configured to full duplex and maximum speed
the switch supports.
There are however use cases where the CPU has a slower port, and when
user ports have SFP modules with fixed speed. In these cases,
When polling for link status, don't consider ports which have a forced
link. Such ports don't monitor their phy or may not even have a phy.
Signed-off-by: Andrew Lunn and...@lunn.ch
---
drivers/net/dsa/mv88e6xxx.c | 5 +
1 file changed, 5 insertions(+)
diff --git
Set the supported field of the phydev to indicate the speed features
of the phy. If the phy is never attached to a netdev, but used in an
adjust_link() function, the speed will be incorrectly evaluated to
10/half rather than the correct speed/duplex.
Signed-off-by: Andrew Lunn and...@lunn.ch
---
From: Florian Fainelli f.faine...@gmail.com
Some Ethernet MAC drivers using the PHY library require the hardcoding
of link parameters when interfaced to a switch device, SFP module,
switch to switch port, etc. This has typically lead to various ad-hoc
implementations looking like this:
- using a
Some Marvell switches allow the RGMII Rx and Tx clock to be delayed
when the port is using RGMII. Have the adjust_link function look at
the phy interface type and enable this delay as requested.
Signed-off-by: Andrew Lunn and...@lunn.ch
---
drivers/net/dsa/mv88e6xxx.c | 10 ++
when A sends a data to B, then A close() and enter into SHUTDOWN_PENDING state,
if B neither claim his rwnd is 0 nor send SACK for this data, A will keep
retransmitting this data util t5 timeout, Max.Retrans times can't work anymore,
which is bad.
if B's rwnd is not 0, it should send abord after
On Sun, Aug 23, 2015 at 11:44:01AM -0700, Florian Fainelli wrote:
Le 08/23/15 02:46, Andrew Lunn a écrit :
Some Marvell switches allow the RGMII Rx and Tx clock to be delayed
when the port is using RGMII. Have the adjust_link function look at
the phy interface type and enable this delay as
Hi,
I have found with netlink we can miss a ack message when exchanging large
buffers.
I came across this bug ? when doing some tests on the NFC subsytem by trying
to
send extended APDU to a secure element (up to 65K) or when sending specific
device
firmware data (up to 8K) (NFC_ATTR_SE_APDU
Currently, ACK in case of error contains a full copy of the originating
message. This can cause lost ACKs with large netlink messages, especially
after commit c05cdb1b864f (netlink: allow large data transfers from
user-space).
Send back a capped message instead.
Signed-off-by: Christophe Ricard
On 08/23/15 at 08:26am, David Ahern wrote:
inetpeer caches based on address only, so duplicate IP addresses within
a namespace return the same cached entry. Similar to IP fragments handle
duplicate addresses across VRFs by adding the VRF master device index to
the lookup.
We have a lot of
On Sun, Aug 23, 2015 at 11:40:07AM -0700, Florian Fainelli wrote:
Le 08/23/15 02:47, Andrew Lunn a écrit :
What features a phy supports is masked in genphy_config_init() by
looking at the PHYs BMSR register.
If the link is down, fixed_phy_update_regs() will only set the auto-
From: Vivien Didelot vivien.dide...@savoirfairelinux.com
Date: Wed, 19 Aug 2015 18:54:55 -0400
The current Secure port mode requires the port-based VLANs to also be
valid in the 802.1Q VLAN Table Unit. The current hardware bridging
support only configures the port-based VLANs, thus is broken.
From: Charles (Chas) Williams 3ch...@gmail.com
Date: Wed, 19 Aug 2015 19:14:20 -0400
From: Chas Williams 3ch...@gmail.com
If you simply load and unload the module without starting the interfaces,
the queues are never created and you get a bad pointer dereference.
Signed-off-by: Chas
+ port_dn = cd-port_dn[port];
+ if (of_phy_is_fixed_link(port_dn)) {
+ ret = of_phy_register_fixed_link(port_dn);
+ if (ret) {
+ netdev_err(master,
+ failed to
From: David Ahern d...@cumulusnetworks.com
Date: Tue, 18 Aug 2015 09:49:14 -0600
Signed-off-by: David Ahern d...@cumulusnetworks.com
---
I realize the sensitivity around adding tracepoints, but these have been
invaluable developing the VRF device driver along with a return probe:
perf
From: Noam Camus no...@ezchip.com
Date: Thu, 20 Aug 2015 08:00:00 +0300
Change v2
TX done is handled back with NAPI poll.
Change v1
This patch set is a bunch of fixes to make nps_enet work correctly with
all platforms, i.e. real device, emulation system, and simulation system.
The main
From: Jiri Benc jb...@redhat.com
Date: Fri, 21 Aug 2015 12:41:14 +0200
@@ -99,6 +99,9 @@ struct dst_entry {
atomic_t__refcnt; /* client references*/
int __use;
unsigned long lastuse;
+#ifndef CONFIG_64BIT
+ struct
From: Marc Kleine-Budde m...@pengutronix.de
Date: Thu, 20 Aug 2015 14:13:53 +0200
this is a pull request of a two patches for net-next.
The first patch is by Nik Nyby and fixes a typo in a function name. The
second patch by Lucas Stach demotes register output to debug level.
Pulled, thanks
From: David Ahern d...@cumulusnetworks.com
Date: Thu, 20 Aug 2015 08:51:40 -0700
@@ -1670,7 +1670,7 @@ static int pfkey_register(struct sock *sk, struct
sk_buff *skb, const struct sad
return -ENOBUFS;
}
- pfkey_broadcast(supp_skb, GFP_KERNEL, BROADCAST_REGISTERED,
Now that IP1000A chips are supported by dl2k driver, the buggy ipg driver
can be removed.
---
drivers/net/ethernet/Kconfig |1 -
drivers/net/ethernet/Makefile|1 -
drivers/net/ethernet/icplus/Kconfig | 13 -
drivers/net/ethernet/icplus/Makefile |5 -
Add support for IP1000A chips to dl2k driver.
IP1000A chip looks like a TC9020 with integrated PHY.
Tested with Asus NX1101.
---
drivers/net/ethernet/dlink/Kconfig |5 ++--
drivers/net/ethernet/dlink/dl2k.c | 51 +---
drivers/net/ethernet/dlink/dl2k.h |
From: Ken-ichirou MATSUZAWA chama...@gmail.com
Date: Thu, 20 Aug 2015 12:43:53 +0900
I can't send netlink message via mmaped netlink socket since
commit: a8866ff6a5bce7d0ec465a63bc482a85c09b0d39
netlink: make the check for send from tx_ring deterministic
msg-msg_iter.type is set
From: Jon Maloy jon.ma...@ericsson.com
Date: Thu, 20 Aug 2015 02:12:53 -0400
We fix three problems with the new link failover/synch implementation,
which was introduced earlier in this release cycle. They are all related
to situations where there is a very short interval between the disabling
On 8/23/15 6:15 PM, Thomas Graf wrote:
On 08/23/15 at 08:26am, David Ahern wrote:
inetpeer caches based on address only, so duplicate IP addresses within
a namespace return the same cached entry. Similar to IP fragments handle
duplicate addresses across VRFs by adding the VRF master device
Hi all,
After merging the net-next tree, today's linux-next build (arm
multi_v7_defconfig) failed like this:
In function 'dst_hold',
inlined from '__ipv6_dev_ac_dec' at
/home/sfr/next/next/net/ipv6/anycast.c:328:2:
/home/sfr/next/next/include/linux/compiler.h:447:38: error: call to
On Sun, Aug 23, 2015 at 3:06 PM, Christophe Ricard
christophe.ric...@gmail.com wrote:
Currently, ACK in case of error contains a full copy of the originating
message. This can cause lost ACKs with large netlink messages, especially
after commit c05cdb1b864f (netlink: allow large data transfers
From: David Miller da...@davemloft.net
Date: Sun, 23 Aug 2015 20:38:43 -0700 (PDT)
From: Tom Herbert t...@herbertland.com
Date: Thu, 20 Aug 2015 11:22:36 -0700
This patch set:
- Adds argument ot LWT build_state that holds a pointer to the fib
configuration being applied to the new
From: Samuel Ortiz sa...@linux.intel.com
Date: Fri, 21 Aug 2015 01:39:08 +0200
This is the NFC pull request for 4.3.
With this one we have:
- A new driver for Samsung's S3FWRN5 NFC chipset. In order to
properly support this driver, a few NCI core routines needed
to be exported. Future
On 2015/8/17 16:46, Arend van Spriel wrote:
+ Rafael
On 08/17/2015 09:29 AM, Johannes Berg wrote:
On Mon, 2015-08-17 at 09:48 +0800, Fu, Zhonghui wrote:
The suspend/resume timing of wiphy device and related devices will be
ensured by their parent/child relationship. So, enabling wiphy
On Mon, Aug 17, 2015 at 2:18 PM, David Miller da...@davemloft.net wrote:
From: shh@gmail.com
Date: Fri, 14 Aug 2015 12:23:40 +0800
From: Shaohui Xie shaohui@freescale.com
Currently, if phy state is PHY_RUNNING, we always register a CHANGE
when phy works in polling or interrupt
From: Tom Herbert t...@herbertland.com
Date: Thu, 20 Aug 2015 11:22:36 -0700
This patch set:
- Adds argument ot LWT build_state that holds a pointer to the fib
configuration being applied to the new route
- Adds support in ILA to precompute checksum difference for
performance
Hi Dave,
On Sun, 23 Aug 2015 20:33:25 -0700 (PDT) David Miller da...@davemloft.net
wrote:
From: Stephen Rothwell s...@canb.auug.org.au
Date: Mon, 24 Aug 2015 13:21:11 +1000
After merging the net-next tree, today's linux-next build (arm
multi_v7_defconfig) failed like this:
Fixed by:
58 matches
Mail list logo