Add a helper to allow ethernet drivers to limit the speed of a phy
(that they are attached to).
This mainly involves factoring out the business-end of
of_set_phy_supported() and exporting a new symbol.
This code seems to be open coded in several places, in several different
variants.
It is is en
From: Kazuya Mizuguchi
This patch supports the r8a7795 SoC by:
- Using two interrupts
+ One for E-MAC
+ One for everything else
+ Both can be handled by the existing common interrupt handler, which
affords a simpler update to support the new SoC. In future some
consideration may be
Dave,
please consider this series for net-next.
It enhances the ravb driver to support the r8a7795 SoC.
Changes:
* Dropped RFC prefix
* Details in changelog of individual patches
Base:
* net-next/master
Availability:
To aid review of this in conjunction with other EtherAVB changes
the follow
From: Kazuya Mizuguchi
This patch is in preparation for using this driver on arm64 where the
implementation of __dma_alloc_coherent fails if a device parameter is not
provided.
Signed-off-by: Kazuya Mizuguchi
Signed-off-by: Yoshihiro Shimoda
Signed-off-by: Masaru Nagai
[horms: squashed into a
From: Kazuya Mizuguchi
This patch updates the ravb binding to support the r8a7795 SoC by:
- Adding a compat string for the new hardware
- Adding 25 named interrupts to binding for the new SoC;
older SoCs continue to use a single multiplexed interrupt
The example is also updated to reflect the
On 29 September 2015 at 21:09, Jason Baron wrote:
> However, if we call connect on socket 's', to connect to a new socket 'o2', we
> drop the reference on the original socket 'o'. Thus, we can now close socket
> 'o' without unregistering from epoll. Then, when we either close the ep
> or unregiste
Contact us as we offer our finance service at a low and affordable interest
rate for long and short cash term. Interested applicant should contact us for
further acquisition procedures. Thanks as we remain obliged to render service
to you; worldtrading1...@gmail.com
--
To unsubscribe from this
From: Eric Dumazet
Date: Tue, 29 Sep 2015 18:52:25 -0700
> From: Eric Dumazet
>
> Greg reported crashes hitting the following check in __sk_backlog_rcv()
>
> BUG_ON(!sock_flag(sk, SOCK_MEMALLOC));
>
> The pfmemalloc bit is currently checked in sk_filter().
>
> This works correctly for
From: Geliang Tang
Date: Tue, 29 Sep 2015 19:31:32 -0700
> Just fix two typos in code comments.
>
> Signed-off-by: Geliang Tang
Applied, thanks.
--
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 ht
From: Florian Westphal
Date: Wed, 30 Sep 2015 02:45:07 +0200
> Flavio Leitner wrote:
>> Remove __nf_conntrack_find() from headers.
>> Fixes: dcd93ed4cd1 ("netfilter: nf_conntrack: remove dead code"
>
> For the record: netfilter patches should go to
> netfilter-de...@vger.kernel.org .
>
> That
From: David Ahern
Date: Tue, 29 Sep 2015 19:07:07 -0700
> The fib_table_lookup tracepoint found 2 places where the flowi4_flags is
> not initialized.
>
> Signed-off-by: David Ahern
Applied, thanks David.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a mess
From: Pablo Neira Ayuso
Date: Tue, 29 Sep 2015 21:25:21 +0200
> Hi David,
>
> The following pull request contains Netfilter/IPVS updates for net-next
> containing 90 patches from Eric Biederman.
>
> The main goal of this batch is to avoid recurrent lookups for the netns
> pointer, that happens
From: Vivien Didelot
Date: Tue, 29 Sep 2015 14:17:54 -0400
> Because of the default 0 value of ret in dsa_slave_port_attr_set, a
> driver may return -EOPNOTSUPP from the commit phase of a STP state,
> which triggers a WARN() from switchdev.
>
> This happened on a 6185 switch which does not suppo
From: Vivien Didelot
Date: Tue, 29 Sep 2015 12:38:36 -0400
> Because of the default 0 value of ret in dsa_slave_port_attr_set, a
> driver may return -EOPNOTSUPP from the commit phase of a STP state,
> which triggers a WARN() from switchdev.
>
> This happened on a 6185 switch which does not suppo
From: David Ahern
Date: Tue, 29 Sep 2015 09:32:03 -0700
> Add support for filtering neighbor dumps by master device by adding
> the NDA_MASTER attribute to the dump request. A new netlink flag,
> NLM_F_DUMP_FILTERED, is added to indicate the kernel supports the
> request and output is filtered as
On Tue, 2015-09-29 at 21:24 -0700, Eric Dumazet wrote:
> From: Eric Dumazet
>
> tcp_v6_md5_do_lookup() now takes a const socket, even if
> CONFIG_TCP_MD5SIG is not set.
>
> Fixes: b83e3deb974c ("tcp: md5: constify tcp_md5_do_lookup() socket argument")
> From: Eric Dumazet
Signed-off-by: Eric D
From: Eric Dumazet
Date: Tue, 29 Sep 2015 21:24:05 -0700
> From: Eric Dumazet
>
> tcp_v6_md5_do_lookup() now takes a const socket, even if
> CONFIG_TCP_MD5SIG is not set.
>
> Fixes: b83e3deb974c ("tcp: md5: constify tcp_md5_do_lookup() socket argument")
> From: Eric Dumazet
> Reported-by: kbu
From: Vivien Didelot
Date: Tue, 29 Sep 2015 12:07:12 -0400
> This patchset changes switchdev add, del, dump operations from this:
...
> to something similar to the notifier_call callback of a notifier_block:
...
> This allows the caller to pass and expect back a specific switchdev_obj_*
> struc
On 9/29/15, 9:32 AM, David Ahern wrote:
Add support for filtering neighbor dumps by master device by adding
the NDA_MASTER attribute to the dump request. A new netlink flag,
NLM_F_DUMP_FILTERED, is added to indicate the kernel supports the
request and output is filtered as requested.
Signed-off-
From: Eric Dumazet
tcp_v6_md5_do_lookup() now takes a const socket, even if
CONFIG_TCP_MD5SIG is not set.
Fixes: b83e3deb974c ("tcp: md5: constify tcp_md5_do_lookup() socket argument")
From: Eric Dumazet
Reported-by: kbuild test robot
---
net/ipv6/tcp_ipv6.c |2 +-
1 file changed, 1 inser
On Tue, 2015-09-29 at 21:12 -0700, David Miller wrote:
> From: Eric Dumazet
> Date: Tue, 29 Sep 2015 21:10:28 -0700
>
> > Thanks, probably a matter of applying this patch.
>
> Looks obvious enough, please submit this formally, thanks.
Sure ! I am compiling ;)
--
To unsubscribe from this list
From: Marcel Holtmann
Date: Tue, 29 Sep 2015 18:08:32 +0200
> do you have any objections to me taking this change through the
> bluetooth-next tree?
No objections.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majord...@vger.kernel.org
More maj
From: Thomas Huth
Date: Tue, 29 Sep 2015 17:45:28 +0200
> When compiling Documentation/ptp/testptp.c the following compiler
> warnings are printed out:
...
> This happens because __s64 is by default defined as "long" on ppc64,
> not as "long long". However, to fix these warnings, it's possible t
From: Robb Manes
Date: Tue, 29 Sep 2015 11:03:37 -0400
> Both new_steering_entry() and existing_steering_entry() return values
> based on their success or failure, but currently they fall through
> silently. This can make troubleshooting difficult, as we were unable
> to tell which one of these
From: Eric Dumazet
Date: Tue, 29 Sep 2015 21:10:28 -0700
> Thanks, probably a matter of applying this patch.
Looks obvious enough, please submit this formally, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majord...@vger.kernel.org
More
From: Andrew Lunn
Date: Tue, 29 Sep 2015 01:53:48 +0200
> commit dea870242a9c ("dsa: mv88e6xxx: Allow speed/duplex of port to be
> configured") leads to the following static checker warning:
>
> drivers/net/dsa/mv88e6xxx.c:585 mv88e6xxx_adjust_link()
> warn: unsigned 'ret' is nev
From: Geert Uytterhoeven
Date: Tue, 29 Sep 2015 10:24:01 +0200
> This patch series makes the remaining m68k Ethernet drivers modular.
> It's an alternative to the last 3 patches of Paul Gortmaker's series
> "[PATCH net-next 0/6] make non-modular code explicitly non-modular".
>
> Note that "[PATC
From: Weidong Wang
Date: Tue, 29 Sep 2015 11:18:18 +0800
> @@ -839,11 +828,12 @@ bnx2_free_mem(struct bnx2 *bp)
> }
>
> static int
> -bnx2_alloc_mem(struct bnx2 *bp)
> +bnx2_alloc_stats_blk(struct net_device *dev)
> {
> - int i, status_blk_size, err;
> + int i, status_blk_size;
>
On Wed, 2015-09-30 at 12:01 +0800, kbuild test robot wrote:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git
> master
> head: e6934f3ec00b04234acb24a1a2c28af59763d3b5
> commit: a00e74442bac5ad19a929d097370da7e07540ea6 [414/428] tcp/dccp: constify
> send_synack and se
From: Andrew Lunn
Date: Tue, 29 Sep 2015 01:50:56 +0200
> Frames destined to an unknown address must be forwarded to the CPU
> port. Otherwise incoming ARP, dhcp leases, etc, do not work.
>
> Signed-off-by: Andrew Lunn
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netde
From: Arnd Bergmann
Date: Mon, 28 Sep 2015 22:21:27 +0200
> When trying to build a kernel with time_t commented out, I found that
> the ntp subsystem still relies on timespec for its pps handling.
>
> This series addresses this and converts all the code to use timespec64
> instead, step by step.
From: David Ahern
Date: Tue, 29 Sep 2015 20:07:09 -0700
> v3
> - added license header to l3mdev.c
>
> - export symbols in l3mdev.c for use with GPL modules
>
> - removed netdevice header from l3mdev.h (not needed) and fixed
> typo in comment
Series applied, thanks David.
--
To unsubscribe f
tree: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git
master
head: e6934f3ec00b04234acb24a1a2c28af59763d3b5
commit: a00e74442bac5ad19a929d097370da7e07540ea6 [414/428] tcp/dccp: constify
send_synack and send_reset socket argument
config: avr32-atngw100_defconfig (attached as
Signed-off-by: David Ahern
---
drivers/net/vrf.c | 32 ++--
include/linux/netdevice.h | 2 --
include/net/vrf.h | 6 --
3 files changed, 2 insertions(+), 38 deletions(-)
diff --git a/drivers/net/vrf.c b/drivers/net/vrf.c
index 72f1892ebad0..df872
Replace calls to vrf_dev_table and friends with l3mdev_fib_table
and kin.
Signed-off-by: David Ahern
---
include/net/vrf.h | 80 -
net/ipv4/af_inet.c | 4 +--
net/ipv4/fib_frontend.c | 7 ++---
3 files changed, 5 insertions(+), 86 dele
Move remaining structs to VRF driver and delete the vrf header file.
Signed-off-by: David Ahern
---
MAINTAINERS | 1 -
drivers/net/vrf.c | 16 +++-
include/net/vrf.h | 29 -
3 files changed, 15 insertions(+), 31 deletions(-)
delete mode 100644 incl
Signed-off-by: David Ahern
---
drivers/net/Kconfig | 1 +
drivers/net/vrf.c | 29 +
2 files changed, 30 insertions(+)
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig
index d18eb607bee6..b9ebd0d18a52 100644
--- a/drivers/net/Kconfig
+++ b/drivers/net/Kconfig
The VRF device is essentially a Layer 3 master device used to associate
netdevices with a specific routing table and to influence FIB lookups
via 'ip rules' and controlling the oif/iif used for the lookup.
This series generalizes the VRF into L3 master device, l3mdev. Similar
to switchdev it has a
Change CONFIG dependency to CONFIG_NET_L3_MASTER_DEV as well.
Signed-off-by: David Ahern
---
include/linux/netdevice.h | 21 -
include/net/l3mdev.h | 24
include/net/route.h | 1 +
3 files changed, 25 insertions(+), 21 deletions(-)
diff -
Replace calls to vrf_dev_get_rth with l3mdev_get_rtable.
The check on the flow flags is handled in the l3mdev operation.
Signed-off-by: David Ahern
---
include/net/vrf.h | 22 --
net/ipv4/route.c | 8 +++-
2 files changed, 3 insertions(+), 27 deletions(-)
diff --git a/
L3 master devices allow users of the abstraction to influence FIB lookups
for enslaved devices. Current API provides a means for the master device
to return a specific FIB table for an enslaved device, to return an
rtable/custom dst and influence the OIF used for fib lookups.
Signed-off-by: David
Rename IFF_VRF_MASTER to IFF_L3MDEV_MASTER and update the name of the
netif_is_vrf and netif_index_is_vrf macros.
Signed-off-by: David Ahern
---
drivers/net/vrf.c | 6 +++---
include/linux/netdevice.h | 14 +++---
include/net/route.h | 2 +-
include/net/vrf.h | 4
Replace calls to vrf_master_ifindex_rcu and vrf_master_ifindex with either
l3mdev_master_ifindex_rcu or l3mdev_master_ifindex.
The pattern:
oif = vrf_master_ifindex(dev) ? : dev->ifindex;
is replaced with
oif = l3mdev_fib_oif(dev);
And remove the now unused vrf macros.
Signed-off-by: Dav
On Tue, Sep 29, 2015 at 10:52 AM, Jiri Benc wrote:
> When compat code for tunnel configuration is used, IPv6 tun_info will be
> rejected by ovs_tunnel_get_egress_info. As the consequence, only the new way
> of tunnel config supports IPv6.
This appears to me to be a bug in the existing code.
ovs_t
Just fix two typos in code comments.
Signed-off-by: Geliang Tang
---
drivers/net/ethernet/cadence/macb.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/ethernet/cadence/macb.h
b/drivers/net/ethernet/cadence/macb.h
index 6e1faea..866b128 100644
--- a/drivers/
The fib_table_lookup tracepoint found 2 places where the flowi4_flags is
not initialized.
Signed-off-by: David Ahern
---
net/ipv4/fib_frontend.c | 1 +
net/ipv4/route.c| 1 +
2 files changed, 2 insertions(+)
diff --git a/net/ipv4/fib_frontend.c b/net/ipv4/fib_frontend.c
index 6fcbd215cd
On Tue, Sep 29, 2015 at 10:52 AM, Jiri Benc wrote:
> diff --git a/net/openvswitch/flow_netlink.c b/net/openvswitch/flow_netlink.c
> index 5c030a4d7338..03ba070c3256 100644
> --- a/net/openvswitch/flow_netlink.c
> +++ b/net/openvswitch/flow_netlink.c
> @@ -643,6 +643,7 @@ static int ipv4_tun_from_n
From: Eric Dumazet
Greg reported crashes hitting the following check in __sk_backlog_rcv()
BUG_ON(!sock_flag(sk, SOCK_MEMALLOC));
The pfmemalloc bit is currently checked in sk_filter().
This works correctly for TCP, because sk_filter() is ran in
tcp_v[46]_rcv() before hitting the preq
Flavio Leitner wrote:
> Remove __nf_conntrack_find() from headers.
> Fixes: dcd93ed4cd1 ("netfilter: nf_conntrack: remove dead code"
For the record: netfilter patches should go to
netfilter-de...@vger.kernel.org .
That being said, in this case I doubt Pablo minds if David takes this
directly, pa
Remove __nf_conntrack_find() from headers.
Fixes: dcd93ed4cd1 ("netfilter: nf_conntrack: remove dead code"
Signed-off-by: Flavio Leitner
---
include/net/netfilter/nf_conntrack.h | 4
1 file changed, 4 deletions(-)
diff --git a/include/net/netfilter/nf_conntrack.h
b/include/net/netfilter/n
Mention that the ldisc open method must set tty->receive_room, and
that many methods are optional. Add description of receive_buf2 method.
Signed-off-by: Tilman Schmidt
---
Documentation/serial/tty.txt | 60
1 file changed, 39 insertions(+), 21 deleti
From: Eric Dumazet
Date: Tue, 29 Sep 2015 07:42:38 -0700
> This patch series makes changes to TCP/DCCP stacks so that
> we can switch listener code to lockless mode.
>
> This is done by marking const the listener socket in all
> appropriate paths.
>
> FastOpen code had to be changed to not dyna
On 9/29/15 6:56 PM, Pravin Shelar wrote:
On Fri, Sep 25, 2015 at 3:35 PM, Thomas F Herbert
wrote:
Pravin,
Another comment and question. Please seen inline below.
Thanks,
--Tom
On 9/24/15 7:42 PM, Pravin Shelar wrote:
On Thu, Sep 24, 2015 at 10:58 AM, Thomas F Herbert
wrote:
Add support f
On 9/29/15 5:23 PM, David Miller wrote:
From: David Ahern
Date: Mon, 28 Sep 2015 10:16:50 -0700
v2
- rebased to top of net-next
- addressed Niks comments (checking master, removing extra lines, and
flipping the order of patches 1 and 2)
This still needs some work:
ERROR: "l3mdev_master_
From: Pravin B Shelar
Date: Mon, 28 Sep 2015 17:24:25 -0700
> Earlier patch 6ae459bda tried to detect void ckecksum partial
> skb by comparing pull length to checksum offset. But it does
> not work for all cases since checksum-offset depends on
> updates to skb->data.
>
> Following patch fixes i
Some minor updates to {cls,act}_bpf to retrieve routing realms
and to make skb->priority writable.
Thanks!
v1 -> v2:
- Dropped preclassify patch for now from the series as the
rest is pretty much independent of it
- Rest unchanged, only rebased and already posted Acked-by's kept
Daniel Bork
{cls,act}_bpf can now set the skb->priority from an eBPF program based
on various critera, so that for example classful qdiscs like multiq can
update the skb's priority during enqueue time and further push it down
into subsequent qdiscs.
Signed-off-by: Daniel Borkmann
Acked-by: Alexei Starovoitov
As we need to add further flags to the bpf_prog structure, lets migrate
both bools to a bitfield representation. The size of the base structure
(excluding insns) remains unchanged at 40 bytes.
Add also tags for the kmemchecker, so that it doesn't throw false
positives. Even in case gcc would gener
Using routing realms as part of the classifier is quite useful, it
can be viewed as a tag for one or multiple routing entries (think of
an analogy to net_cls cgroup for processes), set by user space routing
daemons or via iproute2 as an indicator for traffic classifiers and
later on processed in th
Hi Russell,
On Tue, Sep 29, 2015 at 8:32 PM, Russell King - ARM Linux
wrote:
> Hi,
>
> I'm seeing really poor IPv6 performance compared to IPv4. I've
> checked using two different ARM platforms - an iMX6 platform using
> the FEC driver, and an Armada 38x using mvneta.
Does this patch help?
http
Hi,
I'm seeing really poor IPv6 performance compared to IPv4. I've
checked using two different ARM platforms - an iMX6 platform using
the FEC driver, and an Armada 38x using mvneta.
The following was captured using iperf between the target system
and my laptop. The problem only occurs one-way.
From: Alexander Duyck
Date: Mon, 28 Sep 2015 11:10:25 -0700
> These patches just contain some minor cleanups to address a few minor
> issues. The first and the third mostly just improve readability. The
> second patch should improve the performance for multicast destination
> addresses that do
Tom Herbert wrote:
> Call before performing NF_HOOK and routing in order to perform address
> translation in the receive path.
>
> Signed-off-by: Tom Herbert
> ---
> net/ipv6/ip6_input.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/net/ipv6/ip6_input.c b/net/ipv6/ip6_input.c
> i
From: David Ahern
Date: Mon, 28 Sep 2015 10:16:50 -0700
> v2
> - rebased to top of net-next
>
> - addressed Niks comments (checking master, removing extra lines, and
> flipping the order of patches 1 and 2)
This still needs some work:
ERROR: "l3mdev_master_ifindex_rcu" [net/ipv6/ipv6.ko] und
Hi Tom,
[auto build test results on next-20150929 -- if it's inappropriate base, please
ignore]
reproduce:
# apt-get install sparse
make ARCH=x86_64 allmodconfig
make C=1 CF=-D__CHECK_ENDIAN__
sparse warnings: (new ones prefixed by >>)
>> net/ipv6/ila/ila_xlat
On Tue, Sep 29, 2015 at 05:21:28PM +0200, PaX Team wrote:
> hi all,
>
> in drivers/net/wireless/mwifiex/sta_ioctl.c the following functions
>
> mwifiex_set_wpa_ie_helper
> mwifiex_set_wapi_ie
> mwifiex_set_wps_ie
>
> can truncate the incoming ie_len argument from u16 to u8 when
On 29 September 2015 at 15:48, Rustad, Mark D wrote:
>> On Sep 29, 2015, at 3:39 PM, Joe Stringer wrote:
>>
>> @@ -728,8 +727,14 @@ static void ovs_fragment(struct vport *vport, struct
>> sk_buff *skb, u16 mru,
>> WARN_ONCE(1, "Failed fragment ->%s: eth=%04x, MRU=%d, MTU=%d.",
>>
Hi Tom:
On 9/29/15 4:17 PM, Tom Herbert wrote:
This patch adds xfrm6_xlat_addr which is called in the data path
to perform address translation (primarily for the receive path). Modules
may register their own callback to perform a translation-- this
registration is managed by xfrm6_xlat_addr_add
On Fri, Sep 25, 2015 at 3:35 PM, Thomas F Herbert
wrote:
> Pravin,
>
> Another comment and question. Please seen inline below.
>
> Thanks,
>
> --Tom
>
> On 9/24/15 7:42 PM, Pravin Shelar wrote:
>>
>> On Thu, Sep 24, 2015 at 10:58 AM, Thomas F Herbert
>> wrote:
>>>
>>> Add support for 802.1ad incl
On Tue, Sep 29, 2015 at 12:12 AM, David Woodhouse wrote:
> On Mon, 2015-09-28 at 20:04 -0700, Tom Herbert wrote:
>>
>> > I've been pondering a bit of a redesign in this space. I think the
>> > skb struct should be explicit in its instructions to hardware for
>> > which offloads to do for each pac
> On Sep 29, 2015, at 3:39 PM, Joe Stringer wrote:
>
> @@ -728,8 +727,14 @@ static void ovs_fragment(struct vport *vport, struct
> sk_buff *skb, u16 mru,
> WARN_ONCE(1, "Failed fragment ->%s: eth=%04x, MRU=%d, MTU=%d.",
> ovs_vport_name(vport), ntohs(etherty
Hi Tom,
[auto build test results on next-20150929 -- if it's inappropriate base, please
ignore]
config: m68k-sun3_defconfig (attached as .config)
reproduce:
wget
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
-O ~/bin/make.cross
chmod +x
The ct_state field was initially added as an 8-bit field, however six of
the bits are already being used and use cases are already starting to
appear that may push the limits of this field. This patch extends the
field to 32 bits while retaining the internal representation of 8 bits.
This should co
Conntrack LABELS (plural) are exposed by conntrack; rename the OVS name
for these to be consistent with conntrack.
Fixes: c2ac667 "openvswitch: Allow matching on conntrack label"
Signed-off-by: Joe Stringer
---
include/uapi/linux/openvswitch.h | 4 ++--
net/openvswitch/actions.c| 2 +-
The ct action uses parts of the flow key, so we need to ensure that it
is valid before executing that action.
Fixes: 7f8a436 "openvswitch: Add conntrack action"
Signed-off-by: Joe Stringer
---
net/openvswitch/actions.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/net/openvswitch/act
These comments hadn't caught up to their implementations, fix them.
Fixes: 7f8a436 "openvswitch: Add conntrack action"
Signed-off-by: Joe Stringer
---
include/uapi/linux/openvswitch.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/uapi/linux/openvswitch.h b/inclu
Previously, if userspace specified ct_state bits in the flow key which
are currently undefined (and therefore unsupported), then they would be
ignored. This could cause unexpected behaviour in future if userspace is
extended to support additional bits but attempts to communicate with the
current ve
Previously, the CT_ATTR_FLAGS attribute, when nested under the
OVS_ACTION_ATTR_CT, encoded a 32-bit bitmask of flags that modify the
semantics of the ct action. It's more extensible to just represent each
flag as a nested attribute, and this requires no additional error
checking to reject flags tha
If ovs_fragment() was unable to fragment the skb due to an L2 header
that exceeds the supported length, skbs would be leaked. Fix the bug.
Fixes: 7f8a436 "openvswitch: Add conntrack action"
Signed-off-by: Joe Stringer
---
net/openvswitch/actions.c | 13 +
1 file changed, 9 insertions
The userspace side of the Open vSwitch conntrack changes is currently
undergoing review, which has highlighted some minor bugs in the existing
conntrack implementation in the kernel, as well as pointing out some
future-proofing that can be done on the interface to reduce the need for
additional com
Hi Tom,
[auto build test results on next-20150929 -- if it's inappropriate base, please
ignore]
config: xtensa-allyesconfig (attached as .config)
reproduce:
wget
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
-O ~/bin/make.cross
chmod +x
The fm10k_msix_clean_rings function runs from hard interrupt context or
with interrupts already disabled in netpoll.
It can use napi_schedule_irqoff() instead of napi_schedule()
Signed-off-by: Alexander Duyck
---
drivers/net/ethernet/intel/fm10k/fm10k_pci.c |2 +-
1 file changed, 1 insertio
This patch set is meant to replace the calls to napi_schedule with
napi_schedule_irqoff as this should help to reduce the interrupt overhead
slightly by removing the unneeded call to local_irq_save and
local_irq_restore.
---
Alexander Duyck (3):
ixgbe/ixgbevf: use napi_schedule_irqoff()
The i40e_intr and i40e/i40evf_msix_clean_rings functions run from hard
interrupt context or with interrupts already disabled in netpoll.
They can use napi_schedule_irqoff() instead of napi_schedule()
Signed-off-by: Alexander Duyck
---
drivers/net/ethernet/intel/i40e/i40e_main.c |6 -
The ixgbe_intr and ixgbe/ixgbevf_msix_clean_rings functions run from hard
interrupt context or with interrupts already disabled in netpoll.
They can use napi_schedule_irqoff() instead of napi_schedule()
Signed-off-by: Alexander Duyck
---
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c |4
This patch set up a hook for xfrm6_xlat_addr. This provides a way to
perform ILA translation before early demux which can be a significant
performance advantage over LWT which would occur later.
The implementation entails a rhashtable which is used to do the locator
lookup. The rhash table is conf
The start callback allows the caller to set up a context for the
dump callbacks. Presumably, the context can then be destroyed in
the done callback.
Signed-off-by: Tom Herbert
---
include/linux/netlink.h | 2 ++
include/net/genetlink.h | 2 ++
net/netlink/af_netlink.c | 4
net/netlink/
Call before performing NF_HOOK and routing in order to perform address
translation in the receive path.
Signed-off-by: Tom Herbert
---
net/ipv6/ip6_input.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/net/ipv6/ip6_input.c b/net/ipv6/ip6_input.c
index 9075acf..06dac55 100644
--- a/net/i
This patch adds xfrm6_xlat_addr which is called in the data path
to perform address translation (primarily for the receive path). Modules
may register their own callback to perform a translation-- this
registration is managed by xfrm6_xlat_addr_add and xfrm6_xlat_addr_del.
xfrm6_xlat_addr allows tr
Create ila directory in preparation for supporting other hooks in the
kernel than LWT for doing ILA. This includes:
- Moving ila.c to ila/ila_lwt.c
- Splitting out some common functions into ila_common.c
Signed-off-by: Tom Herbert
---
net/ipv6/Makefile | 2 +-
net/ipv6/ila.c
Add the rhashtable_replace_fast function. This replaces one object in
the table with another atomically. The hashes of the new and old objects
must be equal.
Signed-off-by: Tom Herbert
---
include/linux/rhashtable.h | 82 ++
1 file changed, 82 insertio
In the current implementation of ILA, LWT is used to perform
translation on both the input and output paths. This is functional,
however there is a big performance hit in the receive path. Early
demux occurs before the routing lookup (a hit actually obviates the
route lookup). Therefore the stack c
From: Alexander Duyck
Date: Mon, 28 Sep 2015 09:16:17 -0700
> For some reason we were carrying the budget value around between the
> various calls to napi->poll. If for example one of the drivers called had
> a bug in which it returned a non-zero value for work this could result in
> the budget
From: David Ahern
Date: Mon, 28 Sep 2015 10:12:13 -0700
> Wolfgang reported that IPv6 stack is ignoring oif in output route lookups:
...
> The stack does consider the oif but a mismatch in rt6_device_match is not
> considered fatal because RT6_LOOKUP_F_IFACE is not set in the flags.
>
> Cc: Wol
From: Liviu Dudau
Date: Mon, 28 Sep 2015 17:51:51 +0100
> On some embedded systems the EEPROM does not contain a valid MAC address.
> In that case it is better to fallback to a generated mac address and
> let init scripts fix the value later.
>
> Reported-by: Liviu Dudau
> Signed-off-by: Stephe
From: Alexander Stein
Date: Mon, 28 Sep 2015 15:05:33 +0200
> Otherwise 4294967295 (MBit/s) (-1) will be printed when there is no link.
> Documentation/ABI/testing/sysfs-class-net does not state if this shall be
> signed or unsigned.
> Also remove the now unused variable fmt_udec.
>
> Signed-off
Daniel Mack wrote:
> Add a new chain type NF_INET_LOCAL_SOCKET_IN which is ran after the
> input demux is complete and the final destination socket (if any)
> has been determined.
>
> This helps filtering packets based on information stored in the
> destination socket, such as cgroup controller s
From: Andrzej Hajda
Date: Mon, 28 Sep 2015 10:49:48 +0200
> Several functions can return negative value in case of error,
> so their return type should be fixed as well as type of variables
> to which this value is assigned.
>
> The problem has been detected using proposed semantic patch
> scrip
From: Alexander Duyck
Date: Sun, 27 Sep 2015 15:58:56 -0700
> On 09/26/2015 10:36 PM, David Miller wrote:
>> From: Alexander Duyck
>> Date: Tue, 22 Sep 2015 14:56:08 -0700
>>
>>> Rather than carry around a value of budget that is 0 or less we can
>>> instead
>>> just loop through and pass 0 to e
From: Aaron Conole
Date: Sat, 26 Sep 2015 18:50:41 -0400
> This patch set implements a bugfix for kernel.org bugzilla #12323, allowing
> MSG_PEEK to return all queued data on the unix domain socket, not just the
> data contained in a single SKB.
>
> This is the v3 version of this patch, which i
1 - 100 of 209 matches
Mail list logo