On Mon, Aug 24, 2015 at 11:40:10AM +0530, Akshat Kakkar wrote:
> Dear All,
> A behavioural bug has been found in iproute2. How and where should I report
> it?
> --
> To unsubscribe from this list: send the line "unsubscribe netdev" in
> the body of a message to majord...@vger.kernel.org
> More maj
From:
Date: Fri, 21 Aug 2015 15:29:29 +0800
> From: Shaohui Xie
>
> By implementing config_intr & ack_interrupt, now the phy can support
> link connect/disconnect interrupt.
>
> Signed-off-by: Shaohui Xie
Applied to net-next, thanks.
--
To unsubscribe from this list: send the line "unsubscri
Dear All,
A behavioural bug has been found in iproute2. How and where should I report it?
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
From: Jaedon Shin
Date: Fri, 21 Aug 2015 10:08:26 +0900
> Clean the dma flags of multiq ring buffer int the interface stop
> process. This patch fixes that the genet is not running while the
> interface is re-enabled.
>
> $ ifup eth0 - running after booting
> $ ifdown eth0
> $ ifup eth0 - not ru
From: Florian Fainelli
Date: Thu, 20 Aug 2015 18:04:22 -0700
> bcmgenet_timeout() executes in atomic context, yet we will invoke
> napi_disable() which does sleep. Looking back at the changes, disabling
> TX napi and re-enabling it is completely useless, since we reclaim all
> TX buffers and re-e
On Mon, Aug 17, 2015 at 2:18 PM, David Miller wrote:
>
> From:
> Date: Fri, 14 Aug 2015 12:23:40 +0800
>
> > From: Shaohui Xie
> >
> > Currently, if phy state is PHY_RUNNING, we always register a CHANGE
> > when phy works in polling or interrupt ignored, this will make the
> > adjust_link being
Hi Dave,
On Sun, 23 Aug 2015 20:33:25 -0700 (PDT) David Miller
wrote:
>
> From: Stephen Rothwell
> 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:
>
>
> [PA
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, enabl
From: Samuel Ortiz
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 drivers like Int
From: David Miller
Date: Sun, 23 Aug 2015 20:38:43 -0700 (PDT)
> From: Tom Herbert
> 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
From: Tom Herbert
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 optimization
>
> v2:
>
From: Stephen Rothwell
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:
[PATCH] route: fix breakage after moving lwtunnel state
__recnt and related fields need to be in
On Sun, Aug 23, 2015 at 3:06 PM, Christophe Ricard
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
> user-space").
>
>
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
'__compi
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 index
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
From: Jiri Benc
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 lwtunnel_s
From: David Ahern
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, sk,
> sock_net(sk
From: Marc Kleine-Budde
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 Marc.
--
To unsu
From: Jon Maloy
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
> and enabling of in
From: Noam Camus
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 trigger for
From: Ken-ichirou MATSUZAWA
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 to WRITE (1
From: Tom Herbert
Date: Wed, 19 Aug 2015 17:07:31 -0700
> This patch set addresses some issue related to tunneling and GRO:
>
> - Fix remote checksum offload to properly deal with frag0 in GRO.
> - Add support for GRO at VXLAN tunnel (call gro_cells)
>
> Testing: Ran one netperf TCP_STREAM to h
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:
From: Vivien Didelot
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.
>
> A new patchset is required t
From: David Ahern
Date: Tue, 18 Aug 2015 09:49:14 -0600
> Signed-off-by: David Ahern
> ---
> I realize the sensitivity around adding tracepoints, but these have been
> invaluable developing the VRF device driver along with a return probe:
> perf probe -a 'fib_table_lookup_ret=fib_table_lookup%
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
> > + 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,
> > + "fail
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 -
drivers/net/eth
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 |
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 del
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-
> >
Le 08/23/15 02:46, Andrew Lunn a écrit :
> 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
On Sun, 23 Aug 2015 20:44:42 +0200
Jesper Dangaard Brouer wrote:
> On Sat, 22 Aug 2015 02:20:56 +0200
> Phil Sutter 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
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.
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/)
>
>//
>@@
>identifier ret; expression e1,e2;
>@@
>(
>if (\(ret < 0\|ret !=
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 h
Le 08/23/15 02:46, Andrew Lunn a écrit :
> An SFP module may have a link up/down status pin which can be
> connection to a GPIO line of the host. Add support for reading such an
> GPIO in the fixed_phy driver.
Reviewed-by: Florian Fainelli
--
Florian
--
To unsubscribe from this list: send the li
On Sat, 22 Aug 2015 02:20:56 +0200
Phil Sutter 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 assign noque
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
> ---
> drivers/net/dsa
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
Acked-by: Florian Fainelli
--
Florian
--
To unsubscri
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
Acked-by: Florian Fainelli
--
Florian
--
To unsubscribe from this list: send t
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: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 con
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
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
---
drivers/net/ethernet/allwinner/sun4i-emac.c | 13 +++--
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/drivers/
On Thu, 20 Aug 2015 22:40:12 +0200
Matthias Tafelmeier 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 declarations shall
> be placed there
On Sun, 23 Aug 2015 19:18:30 +0300
Corcodel Marian wrote:
> Remove unfounded interrupts which is not on RTL 8101 series.
>
> Signed-off-by: Corcodel Marian
Kernel style standards precludes use of C++ style comments.
Also, it is is considered best practice to delete incorrect or
dead code rath
Remove unfounded interrupts which is not on RTL 8101 series.
Signed-off-by: Corcodel Marian
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
+++ b/drivers/net/ethernet/realtek/r8169.
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
---
include/net/inetpeer.h | 11 +++
Remove various inlined functions not referenced in the kernel.
Signed-off-by: David Ahern
---
include/net/inetpeer.h | 67 --
1 file changed, 67 deletions(-)
diff --git a/include/net/inetpeer.h b/include/net/inetpeer.h
index d5332ddcea3f..002f0bd2
From: Rana Shahout
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 occurs during such
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 M
commit f8d960524 fix the 0 peer.rwnd issue in SHUTDOWN_PENDING state through
not reseting the overall_error_count when receive a heartbeat, but the same
issue also exists in SHUTDOWN_RECEIVE state.
so we change the condition to state < SCTP_STATE_SHUTDOWN_PENDING to reset the
overall_error_count w
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 prov
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
diff --git a/drivers/net/ethernet/real
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 o
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
---
net/dsa/dsa.c | 8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/net/dsa/dsa.c
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 inf
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
---
drivers/net/ph
From: Florian Fainelli
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 "fixed PHY" emulated
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
---
drivers/net/dsa/mv88e6xxx.c | 10 ++
drivers/net/dsa/mv88e6xxx
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
---
drivers/net/dsa/mv88e6xxx.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/drivers/net/dsa/mv88e6xxx.c b/drivers/ne
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.
Signed-o
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, por
An SFP module may have a link up/down status pin which can be
connection to a GPIO line of the host. Add support for reading such an
GPIO in the fixed_phy driver.
Signed-off-by: Andrew Lunn
---
.../devicetree/bindings/net/fixed-link.txt | 14 +++-
Documentation/networking/stmmac.
Keep writting on ChipCmd register close and execute before
writting on any decriptors.On close the interface same rule.
Signed-off-by: Corcodel Marian
diff --git a/drivers/net/ethernet/realtek/r8169.c
b/drivers/net/ethernet/realtek/r8169.c
index b0f7ed2..2ee8bca 100644
--- a/drivers/net/ethe
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 = &sysof
69 matches
Mail list logo