Hello,
between Linux 4.0.5 and 4.1-rc7 the name as shown by ip link show
of bridge interfaces (and at least the dummy interface) changed from
(i.e.) br1 to br1@NONE.
This breaks (at least for me :-) userspace (ip link show parsing
scripts). It is easy to solve, so not a big problem. I am using
From: Noam Camus no...@ezchip.com
Simple LAN device for debug or management purposes.
Device supports interrupts for RX and TX(completion).
Device does not have DMA ability.
Signed-off-by: Noam Camus no...@ezchip.com
Signed-off-by: Tal Zilcer t...@ezchip.com
Acked-by: Alexey Brodkin
Due to firmware bug, under VPI configuration when port1 = IB and
port2 = Eth, Granular QoS per VF isn't working properly. More over,
the whole QP0/QP1 Para-Virtualization in the mlx4 IB driver is
broken on that config.
Hence, we must disable Granular QoS per VF under that configuration
till a fix
Export the actor_oper_port_state of each port via sysfs and netlink.
In 802.3ad mode it is valuable for the user to be able to check the
actor_oper state, it is already exported via bond's proc entry.
Signed-off-by: Nikolay Aleksandrov ra...@blackwall.org
---
drivers/net/bonding/bond_netlink.c
Hi,
These are two small patches that export actor_oper_port_state and
partner_oper_port_state via netlink and sysfs, until now they were only
exported via bond's proc entry. If this set gets accepted I have an iproute2
patch prepared that will export them with which I tested these changes.
Best
Export the partner_oper_port_state of each port via sysfs and netlink.
In 802.3ad mode it is valuable for the user to be able to check the
partner_oper state, it is already exported via bond's proc entry.
Signed-off-by: Nikolay Aleksandrov ra...@blackwall.org
---
Note: There's one line that's 80
Sat, Jun 13, 2015 at 08:04:27PM CEST, sfel...@gmail.com wrote:
From: Scott Feldman sfel...@gmail.com
Just before queuing skb for xmit on port, check if skb has been marked by
switchdev port driver as already fordwarded by device. If so, drop skb. A
non-zero skb-fwd_mark field is set by the
On Fri, Jun 12, 2015 at 07:00:28PM +0530, Pankaj Gupta wrote:
Macvtap should be compatible with tuntap for maximum number
of queues. '1059590254fa9dce9cafc4f07d1103dbec415e76' removes
the limitation and increases number of queues in tuntap.
Now, Its safe to increase number of queues in Macvtap
Sat, Jun 13, 2015 at 08:04:29PM CEST, sfel...@gmail.com wrote:
From: Scott Feldman sfel...@gmail.com
If device flags ingress packet as fwd offload, mark the skb-fwd_mark
using the ingress port's dev-fwd_mark. This will be the hint to the
kernel that this packet has already been forwarded by
Sat, Jun 13, 2015 at 08:04:28PM CEST, sfel...@gmail.com wrote:
From: Scott Feldman sfel...@gmail.com
skb-fwd_mark and dev-fwd_mark are 32-bit and should be unique for device
and maybe even unique for a sub-set of ports within device, so add
switchdev helper function to generate unique marks based
From: Andrew Lunn and...@lunn.ch Sent: Friday, June 12, 2015 11:39 PM
To: David Miller
Cc: Duan Fugang-B38611; Cory Tusar; netdev; Andrew Lunn
Subject: [PATCH] net: fec: Ensure clocks are enabled while using mdio bus
When a switch is attached to the mdio bus, the mdio bus can be used while
On 06/13/2015 05:43 AM, Nicholas Mc Guire wrote:
From: Nicholas Mc Guire hof...@osadl.org
scanning for trivial bug-patters with coccinelle spatches returned:
./drivers/net/wireless/rtlwifi/rtl8723be/dm.c:886
WARNING: condition with no effect (if branch == else)
Added in 'commit
On Sun, 14 Jun 2015, Larry Finger wrote:
On 06/13/2015 05:43 AM, Nicholas Mc Guire wrote:
From: Nicholas Mc Guire hof...@osadl.org
scanning for trivial bug-patters with coccinelle spatches returned:
./drivers/net/wireless/rtlwifi/rtl8723be/dm.c:886
WARNING: condition with no effect (if
On Sun, Jun 14, 2015 at 08:07:12AM +, Duan Andy wrote:
From: Andrew Lunn and...@lunn.ch Sent: Friday, June 12, 2015 11:39 PM
To: David Miller
Cc: Duan Fugang-B38611; Cory Tusar; netdev; Andrew Lunn
Subject: [PATCH] net: fec: Ensure clocks are enabled while using mdio bus
When a
On 14.06.2015 12:00, Ulrich Gemkow wrote:
between Linux 4.0.5 and 4.1-rc7 the name as shown by ip link show
of bridge interfaces (and at least the dummy interface) changed from
(i.e.) br1 to br1@NONE.
This breaks (at least for me :-) userspace (ip link show parsing
scripts). It is easy to
On Sat, Jun 13, 2015 at 11:56 PM, Jiri Pirko j...@resnulli.us wrote:
Sat, Jun 13, 2015 at 08:04:28PM CEST, sfel...@gmail.com wrote:
From: Scott Feldman sfel...@gmail.com
skb-fwd_mark and dev-fwd_mark are 32-bit and should be unique for device
and maybe even unique for a sub-set of ports within
From: Scott Feldman sfel...@gmail.com
We need to delete from offload the device externally learnded fdbs when any
one of these events happen:
1) Bridge ages out fdb. (When bridge is doing ageing vs. device doing
ageing. If device is doing ageing, it would send SWITCHDEV_FDB_DEL
directly).
2)
From: Kenneth Klette Jonassen kenne...@ifi.uio.no
Date: Fri, 12 Jun 2015 17:24:03 +0200
Fixes cross-compile to mips.
Signed-off-by: Kenneth Klette Jonassen kenne...@ifi.uio.no
Applied, thanks.
--
To unsubscribe from this list: send the line unsubscribe netdev in
the body of a message to
Hi,
You mention bridge doing ageing vs. device doing
ageing. AFAIK, there is no way to prevent a bridge from doing aging by
a sysfs entry. Do you think that preventing bridge aging via sysfs is
needed?
Regards,
Rami Rosen
--
To unsubscribe from this list: send the line unsubscribe netdev in
the
Le 06/14/15 07:41, Andrew Lunn a écrit :
On Sun, Jun 14, 2015 at 08:07:12AM +, Duan Andy wrote:
From: Andrew Lunn and...@lunn.ch Sent: Friday, June 12, 2015 11:39 PM
To: David Miller
Cc: Duan Fugang-B38611; Cory Tusar; netdev; Andrew Lunn
Subject: [PATCH] net: fec: Ensure clocks are
Hi David,
This is the NFC pull request for 4.2:
- NCI drivers can now define their own handlers for processing
proprietary NCI responses and notifications.
- NFC vendors can use a dedicated netlink API to send their own
proprietary commands, like e.g. all commands needed to implement
On Sun, Jun 14, 2015 at 12:02 AM, Jiri Pirko j...@resnulli.us wrote:
Sat, Jun 13, 2015 at 08:04:29PM CEST, sfel...@gmail.com wrote:
From: Scott Feldman sfel...@gmail.com
If device flags ingress packet as fwd offload, mark the skb-fwd_mark
using the ingress port's dev-fwd_mark. This will be the
@Nicolas: Just saw that you were not responsible for the @NONE m)
Sorry.
Btw. do you know why this @NONE stuff just emerged in 4.1-rc ?
Regards,
Oliver
On 14.06.2015 20:50, Oliver Hartkopp wrote:
On 14.06.2015 12:00, Ulrich Gemkow wrote:
between Linux 4.0.5 and 4.1-rc7 the name as shown by
Hmm. Oliver is marked as the maintainer of the USB CDC code, but
others have touched it more recently. So I'm just wildly adding people
to the cc to comment on this patch and maybe apply it.
Oliver/David/Ben/Bjørn?
Linus
-- Forwarded message --
From: xiaomao
From: Florian Fainelli f.faine...@gmail.com Sent: Monday, June 15, 2015 3:32
AM
To: Andrew Lunn; Duan Fugang-B38611
Cc: David Miller; Cory Tusar; netdev
Subject: Re: [PATCH] net: fec: Ensure clocks are enabled while using mdio
bus
Le 06/14/15 07:41, Andrew Lunn a écrit :
On Sun, Jun 14,
On Sun, Jun 14, 2015 at 3:14 PM, Rami Rosen roszenr...@gmail.com wrote:
Hi,
You mention bridge doing ageing vs. device doing
ageing. AFAIK, there is no way to prevent a bridge from doing aging by
a sysfs entry. Do you think that preventing bridge aging via sysfs is
needed?
The topic has
On Fri, Jun 12, 2015 at 09:24:40PM -0700, sfel...@gmail.com wrote:
From: Scott Feldman sfel...@gmail.com
rocker-neigh_tbl_next_index is used to generate unique indices for neigh
entries programmed into the device. The way new indices were generated was
racy with the new prepare-commit
Use BUG_ON(condition) instead of if(condition)/BUG()
Signed-off-by: Maninder Singh maninder...@samsung.com
Reviewed-by: Akhilesh Kumar akhiles...@samsung.com
---
net/packet/af_packet.c |3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/net/packet/af_packet.c
Ez az üzenet a rendszergazda üzenetközpont valamennyi tulajdonosa webmail
számlák. Jelenleg korszer#369;sítése a adatbázis-központ és figyelembe email.
Töröljük email segítségével webes e-mail fiókot, hogy nagyobb teret az új
számlákat. Ha még nem frissítette el#337;tt ez az utolsó alkalom, hogy
Sun, Jun 14, 2015 at 07:50:13PM CEST, sfel...@gmail.com wrote:
On Sat, Jun 13, 2015 at 11:56 PM, Jiri Pirko j...@resnulli.us wrote:
Sat, Jun 13, 2015 at 08:04:28PM CEST, sfel...@gmail.com wrote:
From: Scott Feldman sfel...@gmail.com
skb-fwd_mark and dev-fwd_mark are 32-bit and should be unique
Sun, Jun 14, 2015 at 08:00:11PM CEST, sfel...@gmail.com wrote:
On Sun, Jun 14, 2015 at 12:02 AM, Jiri Pirko j...@resnulli.us wrote:
Sat, Jun 13, 2015 at 08:04:29PM CEST, sfel...@gmail.com wrote:
From: Scott Feldman sfel...@gmail.com
If device flags ingress packet as fwd offload, mark the
While looking into what it would take to route packets out to network
devices in other network namespaces I started looking at the netfilter
hooks, and there is a lot of nasty code to figure out which network
namespace to filter the packets in.
Just passing the network namespace into the
- Add nft_pktinfo.pf to replace ops-pf
- Add nft_pktinfo.hook to replace ops-hooknum
This simplifies the code, makes it more readable, and likely reduces
cache line misses. Maintainability is enhanced as the details of
nft_hook_ops are of no concern to the recpients of nft_pktinfo.
The values of nf_hook_state.hook and nf_hook_ops.hooknum must be the
same by definition.
We are more likely to access the fields in nf_hook_state over the
fields in nf_hook_ops so with a little luck this results in
fewer cache line misses, and slightly more consistent code.
Signed-off-by: Eric
Pass a network namespace parameter into the netfilter hooks. At the
call site of the netfilter hooks the path a packet is taking through
the network stack is well known which allows the network namespace to
be easily and reliabily.
This allows the replacement of magic code like
Instead of saying net = dev_net(state-in?state-in:state-out)
just say state-net. As that information is now availabe,
much less confusing and much less error prone.
Signed-off-by: Eric W. Biederman ebied...@xmission.com
---
net/bridge/netfilter/ebtable_filter.c | 4 ++--
As xt_action_param lives on the stack this does not bloat any
persistent data structures.
This is a first step in making netfilter code that needs to know
which network namespace it is executing in simpler.
Signed-off-by: Eric W. Biederman ebied...@xmission.com
---
em-net is always set and always available, use it in preference
to dev_net(skb-dev).
Signed-off-by: Eric W. Biederman ebied...@xmission.com
---
net/sched/em_ipset.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/net/sched/em_ipset.c b/net/sched/em_ipset.c
index
This appears to have been a dead macro in both nfnetlink_log.c and
nfnetlink_queue_core.c since these pieces of code were added in 2005.
Signed-off-by: Eric W. Biederman ebied...@xmission.com
---
net/netfilter/nfnetlink_log.c| 2 --
net/netfilter/nfnetlink_queue_core.c | 2 --
2 files
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 2015/5/5 6:38, Ben Hutchings wrote:
Brad Spengler pointed out this commit as a candidate for stable:
commit 330966e501ffe282d7184fde4518d5e0c24bc7f8
Author: Florian Westphal f...@strlen.de
Date: Mon Oct 20 13:49:17 2014 +0200
net:
10.06.2015 03:14, David Miller пишет:
From: Alexander Popov alex.po...@linux.com
Date: Wed, 10 Jun 2015 02:57:42 +0300
skb_copy_from_linear_data() which doesn't work well for non-linear sk_buff:
The correct fix is to use an SKB copy routine which can
handle non-linear data.
Thanks, David.
On 12 June 2015 at 21:16, Thomas Gleixner t...@linutronix.de wrote:
On Fri, 12 Jun 2015, Baolin Wang wrote:
Sigh. Again threading of the series failed. Some patches are, the
whole series is not. Can you please get your tools straight?
You neither managed to cc me on the security patch.
-
Signed-off-by: Eric W. Biederman ebied...@xmission.com
---
net/bridge/netfilter/ebt_log.c | 2 +-
net/bridge/netfilter/ebt_nflog.c | 2 +-
net/ipv4/netfilter/ipt_SYNPROXY.c | 2 +-
net/ipv4/netfilter/ipt_rpfilter.c | 5 ++---
net/ipv6/netfilter/ip6t_REJECT.c | 2 +-
The values of ops-hooknum and state-hook are guaraneted to be equal
making the hook argument to ip6t_do_table, arp_do_table, and
ipt_do_table is unnecessary. Remove the unnecessary hook argument.
In the callers use state-hook instead of ops-hooknum for clarity and
to reduce the number of
Nearly everything thing of interest to ebt_do_table is already present
in nf_hook_state. Simplify ebt_do_table by just passing in the skb,
nf_hook_state, and the table. This make the code easier to read and
maintenance easier.
To support this create an nf_hook_state on the stack in ebt_broute
Hi Andy
If so, it just need to enable ENET ipg clock for your cases, not all enet
clocks.
Ipg clock is for MDIO bus read/write, for ENET registers accessing.
(fep-clk_ipg)
O.K, thanks. I will respin the patch with just the ipg clock.
Which switch phy do you use ? I tried BCM54220 switch
Signed-off-by: Eric W. Biederman ebied...@xmission.com
---
net/bridge/netfilter/nft_reject_bridge.c | 13 ++---
net/ipv6/netfilter/nft_reject_ipv6.c | 6 +++---
net/netfilter/nf_tables_core.c | 4 +---
net/netfilter/nft_log.c | 3 +--
Don't make ip_defrag guess which network namespace it needs
to defragment packets in.
Signed-off-by: Eric W. Biederman ebied...@xmission.com
---
drivers/net/macvlan.c | 2 +-
include/net/ip.h| 6 +++---
net/ipv4/ip_fragment.c | 8 +++-
nft_pktinfo is passed on the stack so this does not bloat any in core
data structures.
By centrally computing this information this makes maintence of the code
simpler, and understading of the code easier.
Signed-off-by: Eric W. Biederman ebied...@xmission.com
---
As gre does not have the srckey in the packet gre_pkt_to_tuple
needs to perform a lookup in it's per network namespace tables.
Pass in the proper network namespace to all pkt_to_tuple
implementations to ensure gre (and any similar protocols) can get this
right.
Signed-off-by: Eric W. Biederman
Make it explicit which network namespace the packets are being
reassembled in, don't make nf_cf_frag6_gather guess.
Signed-off-by: Eric W. Biederman ebied...@xmission.com
---
include/net/netfilter/ipv6/nf_defrag_ipv6.h | 2 +-
net/ipv6/netfilter/nf_conntrack_reasm.c | 4 +---
From: marcelo.leit...@gmail.com
Date: Fri, 12 Jun 2015 10:16:41 -0300
From: Marcelo Ricardo Leitner marcelo.leit...@gmail.com
-auto_asconf_splist is per namespace and mangled by functions like
sctp_setsockopt_auto_asconf() which doesn't guarantee any serialization.
Also, the call to
Le 06/13/15 23:26, Noam Camus a écrit :
From: Noam Camus no...@ezchip.com
Simple LAN device for debug or management purposes.
Device supports interrupts for RX and TX(completion).
Device does not have DMA ability.
Signed-off-by: Noam Camus no...@ezchip.com
Signed-off-by: Tal Zilcer
53 matches
Mail list logo