Re: [RFC PATCH net-next 2/4] switchdev: add fwd_mark generator helper

2015-06-13 Thread Jiri Pirko
Sat, Jun 13, 2015 at 08:04:28PM CEST, sfel...@gmail.com wrote: >From: Scott Feldman > >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 on driver-

Re: [RFC PATCH net-next 1/4] net: don't reforward packets already forwarded by offload device

2015-06-13 Thread Jiri Pirko
Sat, Jun 13, 2015 at 08:04:27PM CEST, sfel...@gmail.com wrote: >From: Scott Feldman > >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 switchdev port d

[PATCH v4] NET: Add ezchip ethernet driver

2015-06-13 Thread Noam Camus
From: Noam Camus 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 Signed-off-by: Tal Zilcer Acked-by: Alexey Brodkin --- Change log for v4: 1) replace macros with generic ones

Re: [PATCH net-next] Increase limit of macvtap queues

2015-06-13 Thread Sergei Shtylyov
Hello. On 06/12/2015 04:30 PM, Pankaj Gupta wrote: Macvtap should be compatible with tuntap for maximum number of queues. '1059590254fa9dce9cafc4f07d1103dbec415e76' removes Please also specify that commit's summary line in parens. the limitation and increases number of queues in tuntap.

JOB OPENING

2015-06-13 Thread Email
JOB OPENINGS AT HISOFT TECHNOLOGY. SEND YOUR CV FOR CONSIDERATION -- 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

[RFC PATCH net-next 2/4] switchdev: add fwd_mark generator helper

2015-06-13 Thread sfeldma
From: Scott Feldman 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 on driver-supplied key. Typically, the driver would use device switch ID for

[RFC PATCH net-next 3/4] rocker: add fwd_mark support

2015-06-13 Thread sfeldma
From: Scott Feldman 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 device to egress ports matching skb->fwd_mark. For rocker, derive port dev->fwd_

[RFC PATCH net-next 4/4] switchdev: update documentation for fwd_mark

2015-06-13 Thread sfeldma
From: Scott Feldman Signed-off-by: Scott Feldman --- Documentation/networking/switchdev.txt | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/Documentation/networking/switchdev.txt b/Documentation/networking/switchdev.txt index da82cd7..d6a8695 100644 --- a/D

[RFC PATCH net-next 0/4] switchdev: avoid duplicate packet forwarding

2015-06-13 Thread sfeldma
From: Scott Feldman (RFC because we're at rc7+ now) With switchdev support for offloading L2/L3 forwarding data path to a switch device, we have a general problem where both the device and the kernel may forward the packet, resulting in duplicate packets on the wire. Anytime a packet is forwarde

[RFC PATCH net-next 1/4] net: don't reforward packets already forwarded by offload device

2015-06-13 Thread sfeldma
From: Scott Feldman 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 switchdev port driver/device on ingress to indicate the skb has already been forward

Re: [Bug 98781] New: WWAN: TX bytes counter shows very huge impossible value

2015-06-13 Thread Stephen Hemminger
On Sat, 13 Jun 2015 00:28:58 + (UTC) Kevin wrote: > Stephen Hemminger networkplumber.org> writes: > > > > > > > Begin forwarded message: > > > > Date: Sat, 23 May 2015 16:54:50 + > > From: "bugzilla-daemon bugzilla.kernel.org" > bugzilla.kernel.org> > > To: "shemminger linux-found

Dear Sir/Madam

2015-06-13 Thread Bill William And Andrea Groner
Dear Sir/Madam, I saw your email address during the course of my research today. My name is Bill William Groner my wife and I won a Jackpot Lottery of $50 Million Dollars in December 2013, we are donating the sum of $1 million Dollars to 6 lucky individual all over the world as part of our cha

[BUG ?] irda: via-ircc: condition with no effect

2015-06-13 Thread Nicholas Mc Guire
From: Nicholas Mc Guire scanning for trivial bug-patters with coccinelle spatches returned: ./drivers/net/irda/via-ircc.c:598 WARNING: condition with no effect (if branch == else) This code was added prior to the transition to git (Linux-2.6.12-rc2)

[BUG ?] rtlwifi: rtl8723be: condition with no effect

2015-06-13 Thread Nicholas Mc Guire
From: Nicholas Mc Guire 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 a619d1abe20c ("rtlwifi: rtl8723be: Ad

Re: [PATCH net-next] rocker: gaurd against NULL rocker_port when removing ports

2015-06-13 Thread Jiri Pirko
Sat, Jun 13, 2015 at 06:09:44AM CEST, sfel...@gmail.com wrote: >From: Scott Feldman > >The ports array is filled in as ports are probed, but if probing doesn't >finish, we need to stop only those ports that where probed successfully. >Check the ports array for NULL to skip un-probed ports when sto

Re: [PATCH v2 net-next 3/3] bpf: let kprobe programs use bpf_get_smp_processor_id() helper

2015-06-13 Thread Daniel Borkmann
On 06/13/2015 04:39 AM, Alexei Starovoitov wrote: It's useful to do per-cpu histograms. Suggested-by: Daniel Wagner Signed-off-by: Alexei Starovoitov Acked-by: Daniel Borkmann -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.ker