On 2015-08-10 08:23, Damian Hobson-Garcia wrote:
Replying to my own post, but I had the following comments/questions.
Martin, if you have any response to my comments I would be very happy
to
hear them.
On 2015-08-10 2:51 PM, Damian Hobson-Garcia wrote:
From: Martin Sustrik
[snip]
write(2
Replying to my own post, but I had the following comments/questions.
Martin, if you have any response to my comments I would be very happy to
hear them.
On 2015-08-10 2:51 PM, Damian Hobson-Garcia wrote:
> From: Martin Sustrik
>
[snip]
>
> write(2):
>
> User is allowed to write only buffers co
IS_ERR(_OR_NULL) already contain an 'unlikely' compiler flag and there
is no need to do that again from its callers. Drop it.
Signed-off-by: Viresh Kumar
---
net/openvswitch/datapath.c | 2 +-
net/sctp/socket.c | 2 +-
net/socket.c | 6 +++---
3 files changed, 5 insertions
IS_ERR(_OR_NULL) already contain an 'unlikely' compiler flag and there
is no need to do that again from its callers. Drop it.
Acked-by: Murali Karicheri
Signed-off-by: Viresh Kumar
---
drivers/net/ethernet/ti/netcp_core.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/d
From: Jiri Pirko
Date: Thu, 6 Aug 2015 16:41:51 +0200
> From: Jiri Pirko
>
> Ido Schimmel (5):
> mlxsw: Call free_netdev when removing port
> mlxsw: Make system port to local port mapping explicit
> mlxsw: Simplify mlxsw_sx_port_xmit function
> mlxsw: Use correct skb length when dumpin
From: Martin Sustrik
When implementing network protocols in user space, one has to implement
fake file descriptors to represent the sockets for the protocol.
Polling on such fake file descriptors is a problem (poll/select/epoll accept
only true file descriptors) and forces protocol implementers
Hello all,
eventfd is very useful for generating POLLIN/POLLOUT poll events from user
space but some applications may want to generate POLLPRI/POLLERR events as well.
This patch submission aims to generalize the events generated by an
eventfd. This is a resubmission of a patch from Feb 2013[1]. Th
From: Masanari Iida
Date: Thu, 6 Aug 2015 21:27:54 +0900
> This patch fix double word "the the" in
> Documentation/DocBook/networking/API-eth-get-headlen.html
> Documentation/DocBook/networking/netdev.html
> Documentation/DocBook/networking.xml
>
> These files are generated from comment in sour
From:
Date: Thu, 6 Aug 2015 19:03:35 +0800
> From: Shaohui Xie
>
> RTL8211DN is compatible with RTL8211E.
>
> Signed-off-by: Shaohui Xie
Applied to net-next, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majord...@vger.kernel.org
Mor
From: Robert Shearman
Date: Thu, 6 Aug 2015 11:04:56 +0100
> RFC 4182 s2 states that if an IPv4 Explicit NULL label is the only
> label on the stack, then after popping the resulting packet must be
> treated as a IPv4 packet and forwarded based on the IPv4 header. The
> same is true for IPv6 Expl
From: Kaixu Xia
Date: Thu, 6 Aug 2015 07:02:31 +
> The detail of patches is as follow:
>
> Patch 1/5 add the necessary core perf APIs perf_event_attrs(),
> perf_event_get(),perf_event_read_local() when accessing events
> counters in eBPF programs
>
> Patch 2/5 rewrites part of the bpf_prog_
From: Vivien Didelot
Date: Thu, 6 Aug 2015 01:44:01 -0400
> This patchset refactors the DSA and mv88e6xxx code to use the switchdev FDB
> objects.
Series applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majord...@vger.kernel.org
M
From: Masanari Iida
Date: Thu, 6 Aug 2015 12:52:47 +0900
> This patch fix a double word "the the"
> in Documentation/DocBook/networking.xml and
> Documentation/DocBook/networking/API-Wimax-report-rfkill-sw.html.
>
> These files are generated from comment in source, so I had to
> fix the typo in
From:
Date: Wed, 5 Aug 2015 21:26:14 +
> diff --git a/drivers/net/usb/lan78xx.c b/drivers/net/usb/lan78xx.c
> index ec8bd34..3ac405f 100644
> --- a/drivers/net/usb/lan78xx.c
> +++ b/drivers/net/usb/lan78xx.c
> @@ -291,7 +291,7 @@ static int lan78xx_read_reg(struct lan78xx_net *dev, u32
> ind
From: Calvin Owens
Date: Wed, 5 Aug 2015 13:26:54 -0700
> Commit 8133534c760d4083 ("net: limit tcp/udp rmem/wmem to
> SOCK_{RCV,SND}BUF_MIN") modified four sysctls to enforce that the values
> written to them are not less than SOCK_MIN_{RCV,SND}BUF.
>
> This change is fine for tcp_rmem and udp_r
On Friday 07 August 2015 12:45 PM, YOSHIFUJI Hideaki wrote:
>> diff --git a/net/ipv4/ipconfig.c b/net/ipv4/ipconfig.c
>> > index 8e7328c..bdb8cb5 100644
>> > --- a/net/ipv4/ipconfig.c
>> > +++ b/net/ipv4/ipconfig.c
>> > @@ -94,7 +94,7 @@
>> > /* Define the timeout for waiting for a DHCP/BOOTP/RARP
Thanks for reviews, I sent out patches with the Kconfig fix.
On Sun, Aug 9, 2015 at 9:19 AM, Thomas Graf wrote:
> On 08/05/15 at 08:12pm, Pravin B Shelar wrote:
>> Using flow based tunneling, we can implement
>> OVS GRE vport. This patch removes all of the OVS
>> specific GRE code and make OVS us
Following patch create new tunnel flag which enable
tunnel metadata collection on given device.
Signed-off-by: Pravin B Shelar
Acked-by: Thomas Graf
---
include/net/ip_tunnels.h | 7 +-
include/uapi/linux/if_tunnel.h | 1 +
net/ipv4/ip_gre.c | 195
Support for sharing GREPROTO_CISCO port was added so that
OVS gre port and kernel GRE devices can co-exist. After
flow-based tunneling patches OVS GRE protocol processing
is completely moved to ip_gre module. so there is no need
for GRE protocol hook. Following patch consolidates
GRE protocol relat
Using GRE tunnel meta data collection feature, we can implement
OVS GRE vport. This patch removes all of the OVS
specific GRE code and make OVS use a ip_gre net_device.
Minimal GRE vport is kept to handle compatibility with
current userspace application.
Signed-off-by: Pravin B Shelar
Acked-by: T
This function will be used in gre and geneve vport implementations.
Signed-off-by: Pravin B Shelar
Acked-by: Thomas Graf
---
net/openvswitch/vport-netdev.c | 21 ++---
net/openvswitch/vport-netdev.h | 2 +-
net/openvswitch/vport-vxlan.c | 17 +
3 files changed,
Following patches make use of new Using GRE tunnel meta data
collection feature. This allows us to directly use netdev
based GRE tunnel implementation. While doing so I have
removed GRE demux API which were targeted for OVS. Most
of GRE protocol code is now consolidated in ip_gre module.
v5-v4:
Fi
Hi all,
Today's linux-next merge of the net-next tree got a conflict in:
drivers/net/ethernet/cavium/Kconfig
between commit:
22f54bf932a0 ("net: thunderx: remove effective "default y" from Kconfig if
ARCH_THUNDER=y")
from the net tree and commit:
274b0b3984a9 ("net: thunderx: Select CO
Now, since the fmt (json, hr) handlers are in place, all can be output via these
newly deviced code parts.
Signed-off-by: Matthias Tafelmeier
Suggested-by: Hagen Paul Pfeifer
---
misc/ss.c | 332 +-
1 file changed, 153 insertions(+), 1
This small sized patch shall convey the locations which have to be
changed for a symmetrical output extension. Symmetrical means in this
context all existing semantically related handlers in the diverse
formatters (for hr and json up to now).
Signed-off-by: Matthias Tafelmeier
Suggested-by: Hagen
This patch creates a central formatter module that acts as a kind of
switch. From there, more specific handler modules for the certain output
formats are called. Up to now, humand readable and json do exist.
That prepares ss for potential output format extensions in the future.
With the help of su
TLDR:
- add full JSON support for ss
- Patchset provides a general and easy to use abstraction to extend ss later
- Patchset size is large to minimize daily use ("user" should not deal with
formation (json, human readble) later on)
- Patches 8/10 and 9/10 illustrate how to extend ss for ne
Those functions are obsoleted since the new fmt handler mechanism
subsumes their tasks. Rendundancy would be contradictory to
the new mechanism.
Signed-off-by: Matthias Tafelmeier
Suggested-by: Hagen Paul Pfeifer
---
misc/ss.c | 190 --
Minor fix to enable json output. Freeing of automatic char array name
which will get freed after function stack cleanup. Another one after
tcp_stats_fmt for freeing automatic tcpstats struct instance.
Signed-off-by: Matthias Tafelmeier
Suggested-by: Hagen Paul Pfeifer
---
misc/ss.c | 6 --
Exported current_filter as ss_current_filter, because in
the fmt handlers, I need that piece of info to resolve out issues of json.
Signed-off-by: Matthias Tafelmeier
Suggested-by: Hagen Paul Pfeifer
---
misc/ss.c | 218 +++---
1 file chan
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. The latter should help amend the extent of ss.c as
well.
Signed-off-b
Minor preparation Patch
Renamed, and exported timer to not have to pass it as a function local
parameter argument.
Signed-off-by: Matthias Tafelmeier
Suggested-by: Hagen Paul Pfeifer
---
misc/ss.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/misc/ss.c b/misc/ss.c
index e
This patch just adds the --json flag to ss. Also it ensures proper
stats components bracketization – that goes for ex. TCP, UDP, NETLINK etc.
Moreover, this patch prevents human readable headers to be printed. The
first element flag ensures, that every first output json container
element is treate
This commit shall show shortly where to place changes when one wants to
extend an ss output formatter with a new handler (format print
procedure). The extension is done symmetrically. That means, every up to
now existing formatter is extended with a semantically equivalent
handler (hr and json form
Corcodel Marian :
> We want to start evaluate an RES Receive error summary only
> when LS (LastFrag) occurred but without FirstFrag
No.
The driver does not care about fragmented rx frames (hint: RxMaxSize).
--
Ueimor
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
th
Le 08/09/15 10:35, Andrew Lunn a écrit :
>>> The optional mii-bus properties i'm adding should be used in
>>> preference to this global one, for this switch. Keeping the names the
>>> same makes sense. But i did drop the dsa prefix to indicate it is
>>> local, not global scope,
>>
>>Dropping a
> >The optional mii-bus properties i'm adding should be used in
> >preference to this global one, for this switch. Keeping the names the
> >same makes sense. But i did drop the dsa prefix to indicate it is
> >local, not global scope,
>
>Dropping a vendor prefix usually means that it's (standar
On 8/9/2015 5:20 PM, Andrew Lunn wrote:
When using a cluster of switches, some topologies will have an MDIO
bus per switch, not one for the whole cluster. Allow this to be
represented in the device tree, by adding an optional mii-bus property
at the switch level.
Signed-off-by: Andrew Lunn
R
On 08/05/15 at 08:12pm, Pravin B Shelar wrote:
> Support for sharing GREPROTO_CISCO port was added so that
> OVS gre port and kernel GRE devices can co-exist. After
> flow-based tunneling patches OVS GRE protocol processing
> is completely moved to ip_gre module. so there is no need
> for GRE proto
On 08/05/15 at 08:12pm, Pravin B Shelar wrote:
> Using flow based tunneling, we can implement
> OVS GRE vport. This patch removes all of the OVS
> specific GRE code and make OVS use a ip_gre net_device.
> Minimal GRE vport is kept to handle compatibility with
> current userspace application.
>
> S
On 08/05/15 at 08:12pm, Pravin B Shelar wrote:
> Following patch create new tunnel flag which enable
> tunnel metadata collection on given device.
>
> Signed-off-by: Pravin B Shelar
LGTM
Acked-by: Thomas Graf
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a
On 08/05/15 at 08:12pm, Pravin B Shelar wrote:
> This function will be used in gre and geneve vport implementations.
>
> Signed-off-by: Pravin B Shelar
Acked-by: Thomas Graf
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majord...@vger.kernel.or
On Sun, Aug 09, 2015 at 05:57:53PM +0300, Eyal Moscovici wrote:
> Eyal Moscovici
> HL-Cloud Infrastructure Solutions
> IBM Haifa Research Lab
>
> "Michael S. Tsirkin" wrote on 08/09/2015 03:45:47 PM:
>
> > From: "Michael S. Tsirkin"
> > To: Bandan Das
> > Cc: k...@vger.kernel.org, netdev@vger.
Hi all,
I'm seeing a lockdep warning that was introduced in 869e7c624 ("net: af_unix:
implement stream sendpage support"):
[377296.160447] ==
[377296.160449] [ INFO: possible circular locking dependency detected ]
[377296.160455] 4.2.0-rc5-next-
On Sun, Aug 09, 2015 at 03:39:25PM +0300, Sergei Shtylyov wrote:
> Hello.
>
> On 8/9/2015 4:29 AM, Andrew Lunn wrote:
>
> >When using a cluster of switches, some topologies will have an MDIO
> >bus per switch, not one for the whole cluster. Allow this to be
> >represented in the device tree, by a
On Sat, Aug 08, 2015 at 07:06:38PM -0400, Bandan Das wrote:
> Hi Michael,
>
> "Michael S. Tsirkin" writes:
>
> > On Mon, Jul 13, 2015 at 12:07:31AM -0400, Bandan Das wrote:
> >> Hello,
> >>
> >> There have been discussions on improving the current vhost design. The
> >> first
> >> attempt, to
Hello.
On 8/9/2015 2:57 PM, Corcodel Marian wrote:
We want to start evaluate an RES Receive error summary only
when LS (LastFrag) occurred but without FirstFrag
Signed-off-by: Corcodel Marian
diff --git a/drivers/net/ethernet/realtek/r8169.c
b/drivers/net/ethernet/realtek/r8169.c
i
Hello.
On 8/9/2015 4:29 AM, Andrew Lunn wrote:
When using a cluster of switches, some topologies will have an MDIO
bus per switch, not one for the whole cluster. Allow this to be
represented in the device tree, by adding an optional mii-bus property
at the switch level.
Signed-off-by: Andrew
We want to start evaluate an RES Receive error summary only
when LS (LastFrag) occurred but without FirstFrag
Signed-off-by: Corcodel Marian
diff --git a/drivers/net/ethernet/realtek/r8169.c
b/drivers/net/ethernet/realtek/r8169.c
index 8bf8c3f..0ee0107 100644
--- a/drivers/net/ethernet/real
This is the identical fix as "netfilter: ipt_SYNPROXY: fix sending
window update to client" but for the IPv6 variant which obviously
suffers from the same issue.
Signed-off-by: Phil Sutter
---
Changes since v1:
- Adjust for v2 changes of first patch.
---
net/ipv6/netfilter/ip6t_SYNPROXY.c | 3 ++
This happens when networking namespaces are enabled.
Suggested-by: Patrick McHardy
Signed-off-by: Phil Sutter
---
Changes since v1:
- Moved snet param to first place.
- Constify snet param.
---
net/ipv6/netfilter/ip6t_SYNPROXY.c | 18 ++
1 file changed, 10 insertions(+), 8 delet
51 matches
Mail list logo