Hello folks,
Tokyo is still being in a hot weather but it'll start
comfortable autumn very soon.
Here is an weekly update of Netdev 1.2 Tokyo.
We again extended the deadline of early bird registration.
Please don't miss the discount ticket - and your early
registration will be definitely
Hi Andrei,
Adding Richard Cochran for PTP.
On Fri, Sep 2, 2016 at 6:23 PM, Andrei Pistirica
wrote:
> From: Harini Katakam
>
> Cadence GEM provides a 102 bit time counter with 48 bits for seconds,
> 30 bits for nsecs and 24 bits for sub-nsecs
Hi Andrei,
+Richard Cochran
On Fri, Sep 2, 2016 at 6:23 PM, Andrei Pistirica
wrote:
> Hardware time stamp on the PTP Ethernet packets are received using the
> SO_TIMESTAMPING API. Timers are obtained from the PTP event/peer
> gem registers.
>
> Signed-off-by:
ftell() may return -1 in error case, which is not handled and therefore pass a
negative offset to fseek(). The return code of fseek() is also not checked.
Reported-by: Phil Sutter
Signed-off-by: Hangbin Liu
---
ip/iproute.c | 11 +--
1 file changed, 9
Signed-off-by: Hangbin Liu
---
.gitignore | 1 +
1 file changed, 1 insertion(+)
diff --git a/.gitignore b/.gitignore
index ef03b17..74a5496 100644
--- a/.gitignore
+++ b/.gitignore
@@ -10,6 +10,7 @@ Config
# cscope
cscope.*
ncscope.*
+tags
TAGS
# git files that we
Signed-off-by: Hangbin Liu
---
ip/iplink_bond_slave.c | 2 +-
ip/iplink_bridge_slave.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/ip/iplink_bond_slave.c b/ip/iplink_bond_slave.c
index 9c60dea..8a3104b 100644
--- a/ip/iplink_bond_slave.c
+++
The global utilities block controls power management, I/O device
enabling, power-onreset(POR) configuration monitoring, alternate
function selection for multiplexed signals,and clock control.
This patch adds a driver to manage and access global utilities block.
Initially only reading SVR and
Move guts devicetree doc to Documentation/devicetree/bindings/soc/fsl/
since it's used by not only PowerPC but also ARM. And add a specification
for 'little-endian' property.
Signed-off-by: Yangbo Lu
Acked-by: Rob Herring
Acked-by: Scott Wood
The eSDHC of T4240-R1.0-R2.0 has incorrect vender version and spec version.
Acturally the right version numbers should be VVN=0x13 and SVN = 0x1.
This patch adds the GUTS driver support for eSDHC driver to match SoC.
And fix host version to avoid that incorrect version numbers break down
the ADMA
We keep running into cases where device drivers want to know the exact
version of the a SoC they are currently running on. In the past, this has
usually been done through a vendor specific API that can be called by a
driver, or by directly accessing some kind of version register that is
not part
> -Original Message-
> From: Greg KH [mailto:g...@kroah.com]
> Sent: Monday, September 5, 2016 5:04 PM
> To: Stephen Rothwell
> Cc: Arnd Bergmann ; David Miller ;
> Networking ;
This patchset is used to fix a host version register bug in the T4240-R1.0-R2.0
eSDHC controller. To match the SoC version and revision, 10 previous version
patchsets had tried many methods but all of them were rejected by reviewers.
Such as
- dts compatible method
- syscon method
Add maintainer entry for Freescale SoC drivers including
the QE library and the GUTS driver now. Also add maintainer
for QE library.
Signed-off-by: Yangbo Lu
Acked-by: Scott Wood
Acked-by: Qiang Zhao
---
Changes for v8:
- Added
From: Joe Perches
Date: Fri, 02 Sep 2016 13:40:01 -0700
> On Fri, 2016-09-02 at 20:34 +, woojung@microchip.com wrote:
>> From: Woojung Huh
>>
>> Add STRAP_STATUS defines.
> []
>> diff --git a/drivers/net/usb/smsc95xx.h
From:
Date: Fri, 2 Sep 2016 20:34:17 +
> From: Woojung Huh
Series applied, thanks.
On Sun, Aug 28, 2016 at 11:56:48PM -0700, Vidya Sagar Ravipati wrote:
> From: Vidya Sagar Ravipati
>
> This patchset enhances ethtool link mode bitmap to include
> missing interface modes for 1G/10G speeds
>
> Vidya Sagar Ravipati (2):
> ethtool-copy.h:sync with net
Will send out man page fix. Missed it.
On Tue, Sep 6, 2016 at 1:32 PM, Vidya Sagar Ravipati
wrote:
> Will send out man page fix too. Missed it.
>
> On Tue, Sep 6, 2016 at 1:16 PM, John W. Linville
> wrote:
>>
>> On Sun, Aug 28, 2016 at
From: Haishuang Yan
Date: Sun, 4 Sep 2016 18:52:51 +0800
> If vxlan_build_skb return err < 0, tx_errors should be also increased.
>
> Signed-off-by: Haishuang Yan
Applied to net-next.
From: Yuval Mintz
Date: Mon, 5 Sep 2016 13:26:33 +0300
> From: Alexander Duyck
>
> Signed-off-by: Alexander Duyck
> Tested-by: Yuval Mintz
Applied.
From: Wei Yongjun
Date: Mon, 5 Sep 2016 16:06:31 +0800
> In general, when DAD detected IPv6 duplicate address, ifp->state
> will be set to INET6_IFADDR_STATE_ERRDAD and DAD is stopped by a
> delayed work, the call tree should be like this:
>
> ndisc_recv_ns
> ->
Make the #defines a bit more sensible to read.
Done with:
$ sed -r -i -e 's/\b([A-Z0-9_][A-Za-z0-9_]+)_\b/\U\1\E/g' \
drivers/net/usb/smsc95xx.[ch]
and a little editing of the .h file to realign tabstop define values.
There are 3 [RT]x_COE_ defines that were also uppercased.
No change in
On Tue, Sep 06, 2016 at 05:50:00PM +0100, Bert Kenward wrote:
> Reported-by: Ma Yuying
> Suggested-by: Jarod Wilson
> Signed-off-by: Bert Kenward
Works for me, until we can get some dialog going about possible
centralization (or not)
The dwmac-meson glue driver supports Meson6 and Meson8 SoCs. Newer SoCs
are supported by the dwmac-meson8b driver.
Signed-off-by: Martin Blumenstingl
---
drivers/net/ethernet/stmicro/stmmac/dwmac-meson.c | 4 ++--
1 file changed, 2 insertions(+), 2
This exposes the MPLL2 clock as this is one of the input clocks of the
ethernet controller's internal mux.
Signed-off-by: Martin Blumenstingl
---
drivers/clk/meson/gxbb.h | 2 +-
include/dt-bindings/clock/gxbb-clkc.h | 1 +
2 files changed, 2
From: Joe Perches
Date: Fri, 2 Sep 2016 15:58:00 -0700
> This seems to be the only code in the kernel that uses
> macro defines with a trailing underscore. Fix that.
Series applied, thanks.
From: Brenden Blanco
Date: Sat, 3 Sep 2016 21:29:58 -0700
> Depending on the preempt mode, the bpf_prog stored in xdp_prog may be
> freed despite the use of call_rcu inside bpf_prog_put. The situation is
> possible when running in PREEMPT_RCU=y mode, for instance, since
From: Helmut Buchsbaum
Date: Sun, 4 Sep 2016 18:09:47 +0200
> I'm still struggling to get this fix right..
>
> Changes since v2:
> - do not blindly modify SKB contents according to Dave's legitimate
>objection
>
> Changes since v1:
> - dropped disabling HW
From: Joe Perches
Date: Sun, 4 Sep 2016 14:24:03 -0700
> These messages are unnecessary as OOM allocation failures already do
> a dump_stack() giving more or less the same information.
>
> $ size drivers/net/ethernet/qlogic/qed/built-in.o* (defconfig x86-64)
>text
From: Michael Chan
Date: Mon, 5 Sep 2016 01:57:35 -0400
> There is a code path where we are calling __iowrite64_copy() on
> an address that is not 64-bit aligned. This causes an exception on
> some architectures such as arm64. Fix that code path by using
>
On 2016-09-06 22:21, Alexander Duyck wrote:
> On Tue, Sep 6, 2016 at 11:46 AM, Michal Soltys wrote:
>> Hi,
>>
>> I've been testing different configurations and I didn't manage to get XPS to
>> "behave" correctly - so I'm probably misunderstanding or forgetting
>> something. The
On Tue, Sep 6, 2016 at 5:52 AM, Jamal Hadi Salim wrote:
> On 16-09-02 01:57 AM, Cong Wang wrote:
>
>> Cc: Jamal Hadi Salim
>> Signed-off-by: Cong Wang
>> ---
>> include/net/act_api.h | 2 ++
>> net/sched/act_api.c | 20
Brandon Cazander wrote:
[ cc netfilter-devel ]
> Sorry to resurrect this so much later—I just got back from holidays and this
> was still on my desk.
>
> Will anyone have another chance to look at this? It appears that the DIVERT
> rule is not working in our
From: Baoyou Xie
Date: Tue, 6 Sep 2016 16:19:02 +0800
> We get a few warnings when building kernel with W=1:
> drivers/net/usb/lan78xx.c:1182:6: warning: no previous prototype for
> 'lan78xx_defer_kevent' [-Wmissing-prototypes]
> drivers/net/usb/lan78xx.c:1409:5:
From: Baoyou Xie
Date: Tue, 6 Sep 2016 16:21:56 +0800
> We get 1 warning when building kernel with W=1:
> drivers/net/ethernet/arc/emac_mdio.c:107:5: warning: no previous prototype
> for 'arc_mdio_reset' [-Wmissing-prototypes]
>
> In fact, this function is only used in
From: Baoyou Xie
Date: Tue, 6 Sep 2016 16:11:59 +0800
> We get 1 warning when building kernel with W=1:
> drivers/net/vmxnet3/vmxnet3_drv.c:1643:1: warning: no previous prototype for
> 'vmxnet3_rq_destroy_all_rxdataring' [-Wmissing-prototypes]
>
> In fact, this function
Macro defines with trailing underscore are hard to read.
These locally defined ones with trailing underscores are all unique
without the trailing underscore, so remove them from the defines and uses.
Global defines that start with LAN88XX_ that are excluded.
Done with:
$ perl -p -i -e
> Joe Perches (2):
> lan78xx: Remove locally defined trailing underscores from defines and uses
> microchipphy.h and uses: Remove trailing underscores from defines and
> uses
>
> drivers/net/phy/microchip.c |4 +-
> drivers/net/usb/lan78xx.c| 368 +++
>
From: Kefeng Wang
Date: Tue, 6 Sep 2016 19:53:11 +0800
> Declare function as static to kill warning about missing-prototypes.
>
> Cc: Yisen Zhuang
> Cc: Kejian Yan
> Signed-off-by: Kefeng Wang
On Tue, Sep 6, 2016 at 5:47 AM, Jamal Hadi Salim wrote:
> On 16-09-02 01:57 AM, Cong Wang wrote:
>>
>> We already free tc actions in a RCU callback, so here
>> we just need to convert the hash table operations to
>> RCU API's.
>>
>> Cc: Jamal Hadi Salim
>>
From: Jia He
Date: Tue, 6 Sep 2016 10:30:04 +0800
> +#define MAX(a, b) ((u32)(a) >= (u32)(b) ? (a) : (b))
Please do not define private min/max macros, use the existing max_t()
or similar as needed.
Macro defines with trailing underscore are hard to read.
These uses with trailing underscores are all unique to this .h file,
so remove them from the defines and uses.
Done with:
$ sed -r -i -e 's/\b([A-Z0-9_][A-Za-z0-9_]+)_\b/\U\1\E/g' \
include/linux/microchipphy.h \
Joe Perches (2):
lan78xx: Remove locally defined trailing underscores from defines and uses
microchipphy.h and uses: Remove trailing underscores from defines and uses
drivers/net/phy/microchip.c |4 +-
drivers/net/usb/lan78xx.c| 368 +++
drivers/net/usb/lan78xx.h|
Hi Bjorn,
> Stub the wcnss_ctrl API to allow compile testing wcnss function drivers.
>
> Cc: Marcel Holtmann
> Signed-off-by: Bjorn Andersson
> ---
>
> There are no other pending changes colliding with this, so if Andy is okay
> with
> this it
We get a few warnings when building kernel with W=1:
drivers/net/usb/lan78xx.c:1182:6: warning: no previous prototype for
'lan78xx_defer_kevent' [-Wmissing-prototypes]
drivers/net/usb/lan78xx.c:1409:5: warning: no previous prototype for
'lan78xx_nway_reset' [-Wmissing-prototypes]
We get 1 warning when building kernel with W=1:
drivers/net/vmxnet3/vmxnet3_drv.c:1643:1: warning: no previous prototype for
'vmxnet3_rq_destroy_all_rxdataring' [-Wmissing-prototypes]
In fact, this function is only used in the file in which it is
declared and don't need a declaration, but can be
We get 1 warning when building kernel with W=1:
drivers/net/ethernet/arc/emac_mdio.c:107:5: warning: no previous prototype for
'arc_mdio_reset' [-Wmissing-prototypes]
In fact, this function is only used in the file in which it is
declared and don't need a declaration, but can be made static.
so
> On Sep 6, 2016, at 10:44 AM, Hangbin Liu wrote:
>
> Signed-off-by: Hangbin Liu
> ---
> ip/iplink_bond_slave.c | 2 +-
> ip/iplink_bridge_slave.c | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/ip/iplink_bond_slave.c
> -Original Message-
> From: David Miller [mailto:da...@davemloft.net]
> Sent: Monday, September 05, 2016 8:43 PM
> To: Salil Mehta
> Cc: weiyj...@163.com; Zhuangyuzeng (Yisen); Yankejian (Hackim Yim);
> yongjun_...@trendmicro.com.cn; netdev@vger.kernel.org
> Subject: Re: [PATCH -next
Update Freescale DCFG compatible with 'fsl,-dcfg' instead
of 'fsl,ls1021a-dcfg' to include more chips such as ls1021a,
ls1043a, and ls2080a.
Signed-off-by: Yangbo Lu
Acked-by: Rob Herring
Signed-off-by: Scott Wood
---
Changes for v8:
Move mpc85xx.h to include/linux/fsl and rename it to svr.h as a common
header file. This SVR numberspace is used on some ARM chips as well as
PPC, and even to check for a PPC SVR multi-arch drivers would otherwise
need to ifdef the header inclusion and all references to the SVR symbols.
Add the dts node for device configuration unit that provides
general purpose configuration and status for the device.
Signed-off-by: Yangbo Lu
Acked-by: Scott Wood
---
Changes for v5:
- Added this patch
Changes for v6:
- None
Changes for v7:
On Wed, 2016-09-07 at 02:00 +, ronnie.ku...@microchip.com wrote:
> Microchip's internal convention is for register (offset) definitions
> to be capitalized (i.e.: MY_REGISTER). Our convention for bits
> (position) definitions within a register is to carry as a prefix the
> name of the register
On 9/7/16 6:57 AM, David Miller wrote:
From: Jia He
Date: Tue, 6 Sep 2016 10:30:04 +0800
+#define MAX(a, b) ((u32)(a) >= (u32)(b) ? (a) : (b))
Thanks
B.R.
Jia
Please do not define private min/max macros, use the existing max_t()
or similar as needed.
Hi Marcelo
Thanks for the suggestion
Will consider that
B.R.
Jia
On 9/6/16 8:44 PM, Marcelo Ricardo Leitner wrote:
On Tue, Sep 06, 2016 at 10:30:03AM +0800, Jia He wrote:
...
v2:
- 1/6 fix bug in udplite statistics.
- 1/6 snmp_seq_show is split into 2 parts
Jia He (6):
proc: Reduce
> -Original Message-
> From: KY Srinivasan
> Sent: Tuesday, September 6, 2016 11:06 AM
> To: 'Greg KH' ; Stephen Rothwell
> Cc: Arnd Bergmann ; David Miller ;
> Networking ;
On 6 September 2016 at 10:28, Yangbo Lu wrote:
> We keep running into cases where device drivers want to know the exact
> version of the a SoC they are currently running on. In the past, this has
> usually been done through a vendor specific API that can be called by a
>
Hello Kalle,
On 09/03/2016 12:35 PM, Kalle Valo wrote:
> Javier Martinez Canillas wrote:
>> If request_irq() fails in mwifiex_sdio_probe_of(), only an error message
>> is printed but the actual error is not propagated to the caller function.
>>
>> Signed-off-by: Javier
On 16-09-05 11:44 PM, Alexei Starovoitov wrote:
lol :)
compiling bpf into fixed pipeline asic is definitely not easy.
The problem with adding new cls classifieris and actions to match
what configurable hw does isn't pretty either. The fixed pipeline
isn't interesting beyond l2/l3 and flow-based
Declare function as static to kill warning about missing-prototypes.
Cc: Yisen Zhuang
Cc: Kejian Yan
Signed-off-by: Kefeng Wang
---
The warning is shown when make with W=1.
Since reset_control_get() never returns NULL, we can use IS_ERR()
instead of IS_ERR_OR_NULL(). The return statements can be simpler
as well.
Signed-off-by: Masahiro Yamada
---
drivers/net/wireless/ath/ath10k/ahb.c | 25 ++---
1 file changed,
On 16-09-04 06:55 AM, Hadar Hen Zion wrote:
From: Amir Vadai
This action could be used before redirecting packets to a shared tunnel
device, or when redirecting packets arriving from a such a device.
The action will release the metadata created by the tunnel device
(decap), or
On Tue, Sep 06, 2016 at 10:30:03AM +0800, Jia He wrote:
...
> v2:
> - 1/6 fix bug in udplite statistics.
> - 1/6 snmp_seq_show is split into 2 parts
>
> Jia He (6):
> proc: Reduce cache miss in {snmp,netstat}_seq_show
> proc: Reduce cache miss in snmp6_seq_show
> proc: Reduce cache miss in
> >Since this thread about tcam... my 0.02 here is it's pretty bad in
> >the nic(host) due to power consumption and in the tor it's only good as
> >a part of algorithmic lpm solutions. There it won't be even seen as tcam.
> >Instead the fancy algorithms will use exact match + tcam + aux data to
On Tuesday, September 6, 2016 2:34:02 PM CEST David Howells wrote:
> Arnd Bergmann wrote:
>
> > The rxrpc_process_call function has debug code to print a failure code,
> > but instead of printing the code from the rxrpc_call structure, it
> > prints an uninitialized variable:
> >
From: Jiri Pirko
This is RFC, unfinished. I came across some issues in the process so I would
like to share those and restart the fib offload discussion in order to make it
really usable.
So the goal of this patchset is to allow driver to propagate all prefixes
configured in
From: Jiri Pirko
This allows to pass information about added/deleted fib entries to
whoever is interested. This is done in a very similar way as devinet
notifies address additions/removals.
Signed-off-by: Jiri Pirko
---
include/net/ip_fib.h | 19
From: Jiri Pirko
Until now, in order to offload a FIB entry to HW we use switchdev op.
However that has limits. Mainly in case we need to make the HW aware of
all route prefixes configured in kernel. HW needs to know those in order
to properly trap appropriate packets and pass
ng
On 16-08-30 08:44 AM, Eric Dumazet wrote:
On Tue, 2016-08-30 at 07:57 -0400, Jamal Hadi Salim wrote:
if (flags & SKBMOD_F_SWAPMAC) {
u8 tmpaddr[ETH_ALEN];
/*XXX: I am sure we can come up with something more efficient */
Use the managed variant of reset_control_get() to simplify the
failure path and the .remove callback.
Signed-off-by: Masahiro Yamada
---
drivers/net/wireless/ath/ath10k/ahb.c | 56 +++
1 file changed, 10 insertions(+), 46
On 16-09-06 07:03 AM, Hadar Hen Zion wrote:
On Tue, Sep 6, 2016 at 1:49 PM, Jamal Hadi Salim wrote:
Please verify by running a test and send a packet or two
and verify that stats are incremented (I know it may sound silly to
ask but it is important).
Already tested that
inline
On Tue, Sep 6, 2016 at 6:17 PM, Pablo Neira Ayuso wrote:
> On Tue, Sep 06, 2016 at 09:57:23AM +0800, f...@ikuai8.com wrote:
>> From: Gao Feng
>>
>> When memory is exhausted, nfct_seqadj_ext_add may fail to add the seqadj
>> extension. But the
The newly added bpf_overflow_handler function is only built of both
CONFIG_EVENT_TRACING and CONFIG_BPF_SYSCALL are enabled, but the caller
only checks the latter:
kernel/events/core.c: In function 'perf_event_alloc':
kernel/events/core.c:9106:27: error: 'bpf_overflow_handler' undeclared (first
On Tue, Sep 6, 2016 at 1:49 PM, Jamal Hadi Salim wrote:
> On 16-09-04 06:55 AM, Hadar Hen Zion wrote:
>>
>> From: Amir Vadai
>>
>> This action could be used before redirecting packets to a shared tunnel
>> device, or when redirecting packets arriving from a such
From: Hangbin Liu
> Sent: 06 September 2016 07:40
> ftell() may return -1 in error case, which is not handled and therefore pass a
> negative offset to fseek(). The return code of fseek() is also not checked.
>
> Reported-by: Phil Sutter
> Signed-off-by: Hangbin Liu
On 16-08-30 08:35 AM, Eric Dumazet wrote:
synchronize_rcu() might bee to expensive if you plan to change actions
hundred of times per second.
You could instead add a 'struct rcu_head rcu;' field in struct
tcf_skbmod_params (but make sure this is not exported to user space)
Then :
On Tuesday, September 6, 2016 1:44:23 PM CEST Ulf Hansson wrote:
> On 6 September 2016 at 10:28, Yangbo Lu wrote:
> > We keep running into cases where device drivers want to know the exact
> > version of the a SoC they are currently running on. In the past, this has
> > usually
The rxrpc_process_call function has debug code to print a failure code,
but instead of printing the code from the rxrpc_call structure, it
prints an uninitialized variable:
net/rxrpc/call_event.c: In function 'rxrpc_process_call':
net/rxrpc/call_event.c:879:58: error: 'error' may be used
Arnd Bergmann wrote:
> The rxrpc_process_call function has debug code to print a failure code,
> but instead of printing the code from the rxrpc_call structure, it
> prints an uninitialized variable:
>
> net/rxrpc/call_event.c: In function 'rxrpc_process_call':
>
On 16-09-02 01:57 AM, Cong Wang wrote:
We already free tc actions in a RCU callback, so here
we just need to convert the hash table operations to
RCU API's.
Cc: Jamal Hadi Salim
Signed-off-by: Cong Wang
This one stands on its own merit, no?
So:
On 16-09-06 09:31 AM, Andrew Lunn wrote:
So if i'm reading this right, you are talking about big switches, top
of racks, etc. And you don't see much use for the TCAM.
Florian and I are interested in the other end of the scale. Little
5-10 port switches in SoHo, STB, WiFi Access points etc. At
Clean-up code with devm_clk_get() and devm_reset_control_get().
I know devm_reset_control_get() should be replaced with
either devm_reset_control_get_exclusive() or
devm_reset_control_get_shared().
My best guess is devm_reset_control_get_shared() for this case,
but I am not 100% sure, so I am
From: Jamal Hadi Salim
This action is intended to be an upgrade from a usability perspective
from pedit (as well as operational debugability).
Compare this:
sudo tc filter add dev $ETH parent 1: protocol ip prio 10 \
u32 match ip protocol 1 0xff flowid 1:2 \
action pedit
On Sun, Sep 04, 2016 at 12:57:13PM +0200, Thomas Zeitlhofer wrote:
> In case of inter address family tunneling (IPv6 over vti4 or IPv4 over
> vti6), the inbound policy checks in vti_rcv_cb and vti6_rcv_cb are using
> the wrong address family. As a result, all inbound inter address family
> traffic
On Sun, Sep 04, 2016 at 01:05:46PM +0200, Jiri Benc wrote:
> On Sat, 3 Sep 2016 13:30:12 -0400, Eric Garver wrote:
> > Would a BUG_ON(!(encap && in_encap)) be better?
>
> Please don't crash the kernel for something that could very well
> continue without problems. Use WARN_ON at most.
Thanks
Use the managed variant of clk_get() to simplify the failure path
and the .remove callback.
Signed-off-by: Masahiro Yamada
---
drivers/net/wireless/ath/ath10k/ahb.c | 34 ++
1 file changed, 6 insertions(+), 28 deletions(-)
diff
On 16-09-02 01:57 AM, Cong Wang wrote:
Cc: Jamal Hadi Salim
Signed-off-by: Cong Wang
---
include/net/act_api.h | 2 ++
net/sched/act_api.c | 20
2 files changed, 22 insertions(+)
diff --git a/include/net/act_api.h
For now, this program type is equivalent to BPF_PROG_TYPE_SOCKET_FILTER in
terms of checks during the verification process. It may access the skb as
well.
Programs of this type will be attached to cgroups for network filtering
and accounting.
Signed-off-by: Daniel Mack
---
If the cgroup associated with the receiving socket has an eBPF
programs installed, run them from sk_filter_trim_cap().
eBPF programs used in this context are expected to either return 1 to
let the packet pass, or != 1 to drop them. The programs have access to
the full skb, including the MAC
On Sun, 2016-09-04 at 13:55 +0300, Hadar Hen Zion wrote:
> From: Amir Vadai
...
> +struct tcf_tunnel_key_params {
> + struct rcu_head rcu;
> + int tcft_action;
> + int action;
> + struct metadata_dst
On Tue, 2016-09-06 at 08:08 -0400, Jamal Hadi Salim wrote:
> ng
> On 16-08-30 08:44 AM, Eric Dumazet wrote:
> > On Tue, 2016-08-30 at 07:57 -0400, Jamal Hadi Salim wrote:
> >> if (flags & SKBMOD_F_SWAPMAC) {
> >> u8 tmpaddr[ETH_ALEN];
> >> /*XXX: I am sure
On 9/5/16, 10:18 AM, Jiri Pirko wrote:
> From: Nogah Frankel
>
> Add a new ndo to return statistics for offloaded operation.
> Since there can be many different offloaded operation with many
> stats types, the ndo gets an attribute id by which it knows which
> stats are
On 9/5/16, 10:18 AM, Jiri Pirko wrote:
> From: Nogah Frankel
>
> Add a nested attribute of offload stats to if_stats_msg
> named IFLA_STATS_LINK_OFFLOAD_XSTATS.
> Under it, add SW stats, meaning stats only per packets that went via
> slowpath to the cpu, named
f...@ikuai8.com wrote:
> From: Gao Feng
>
> When memory is exhausted, nfct_seqadj_ext_add may fail to add the seqadj
> extension. But the function nf_ct_seqadj_init doesn't check if get valid
> seqadj pointer by the nfct_seqadj.
>
> Now drop the packet
On 9/6/16 8:44 AM, Jiri Pirko wrote:
> Tue, Sep 06, 2016 at 04:32:12PM CEST, d...@cumulusnetworks.com wrote:
>> On 9/6/16 6:01 AM, Jiri Pirko wrote:
>>> From: Jiri Pirko
>>>
>>> This allows to pass information about added/deleted fib entries to
>>> whoever is interested. This
From: Gao Feng
When memory is exhausted, nfct_seqadj_ext_add may fail to add the seqadj
extension. But the function nf_ct_seqadj_init doesn't check if get valid
seqadj pointer by the nfct_seqadj.
Now drop the packet directly when fail to add seqadj extension to avoid
Tue, Sep 06, 2016 at 04:32:12PM CEST, d...@cumulusnetworks.com wrote:
>On 9/6/16 6:01 AM, Jiri Pirko wrote:
>> From: Jiri Pirko
>>
>> This allows to pass information about added/deleted fib entries to
>> whoever is interested. This is done in a very similar way as devinet
>>
On 9/5/16, 10:18 AM, Jiri Pirko wrote:
> From: Jiri Pirko
>
> The problem we try to handle is about offloaded forwarded packets
> which are not seen by kernel. Let me try to draw it:
>
> port1 port2 (HW stats are counted here)
> \
Tue, Sep 06, 2016 at 11:34:30AM CEST, jasminder.k...@hpe.com wrote:
>From: "Kaur, Jasminder"
>
>If a bond is in use such as with IP address configured, removing it
>can result in application disruptions. If bond is used for cluster
>communication or network file system
On Tue, 6 Sep 2016 13:17:04 +
Amir Yihie wrote:
>
I guess there's not much to do here?
-- Steve
On Tue, Sep 6, 2016 at 5:11 PM, Eric Dumazet wrote:
> On Sun, 2016-09-04 at 13:55 +0300, Hadar Hen Zion wrote:
>> From: Amir Vadai
>
> ...
>
>> +struct tcf_tunnel_key_params {
>> + struct rcu_head rcu;
>> + int
1 - 100 of 197 matches
Mail list logo