[PATCH V3 net-next 11/14] net/mlx5e: TLS, Add Innova TLS TX offload data path

2018-03-22 Thread Saeed Mahameed
From: Ilya Lesokhin Implement the TLS tx offload data path according to the requirements of the TLS generic NIC offload infrastructure. Special metadata ethertype is used to pass information to the hardware. Signed-off-by: Ilya Lesokhin Signed-off-by:

[PATCH V3 net-next 01/14] tcp: Add clean acked data hook

2018-03-22 Thread Saeed Mahameed
From: Ilya Lesokhin Called when a TCP segment is acknowledged. Could be used by application protocols who hold additional metadata associated with the stream data. This is required by TLS device offload to release metadata associated with acknowledged TLS records.

[PATCH net-next 1/2] net: systemport: Implement adaptive interrupt coalescing

2018-03-22 Thread Florian Fainelli
Implement support for adaptive RX and TX interrupt coalescing using net_dim. We have each of our TX ring and our single RX ring implement a bcm_sysport_net_dim structure which holds an interrupt counter, number of packets, bytes, and a container for a net_dim instance. Signed-off-by: Florian

[PATCH net-next 2/2] net: bcmgenet: Add support for adaptive RX coalescing

2018-03-22 Thread Florian Fainelli
Unlike the moder modern SYSTEMPORT hardware, we do not have a configurable TDMA timeout, which limits us to implement adaptive RX interrupt coalescing only. We have each of our RX rings implement a bcmgenet_net_dim structure which holds an interrupt counter, number of packets, bytes, and a

[PATCH net-next 0/2] net: broadcom: Adaptive interrupt coalescing

2018-03-22 Thread Florian Fainelli
Hi all, This patch series adds adaptive interrupt coalescing for the Gigabit Ethernet drivers SYSTEMPORT and GENET. This really helps lower the interrupt count and system load, as measured by vmstat for a Gigabit TCP RX session: SYSTEMPORT: without: 1 0 0 192188 0 2547200

[PATCH V3 net-next 04/14] net: Add TLS offload netdev ops

2018-03-22 Thread Saeed Mahameed
From: Ilya Lesokhin Add new netdev ops to add and delete tls context Signed-off-by: Ilya Lesokhin Signed-off-by: Boris Pismenny Signed-off-by: Aviad Yehezkel Signed-off-by: Saeed Mahameed

Re: [RFC v3 net-next 13/18] net/sched: Introduce the TBS Qdisc

2018-03-22 Thread Thomas Gleixner
On Thu, 22 Mar 2018, Jesus Sanchez-Palencia wrote: > Our plan was to work directly with the Qbv-like scheduling (per-port) just > after > the cbs qdisc (Qav), but the feedback here and offline was that there were use > cases for a more simplistic launchtime approach (per-queue) as well. We've >

Re: [RFC v3 net-next 13/18] net/sched: Introduce the TBS Qdisc

2018-03-22 Thread Jesus Sanchez-Palencia
Hi Thomas, On 03/22/2018 03:11 PM, Thomas Gleixner wrote: (...) >> Having the sorting always enabled requires that a valid static clockid is >> passed >> to the qdisc. For the hw offload mode, that means that the PHC and one of the >> system clocks must be synchronized since hrtimers do not

Re: [net-next:master 304/314] drivers/net/ethernet/mellanox/mlxsw/spectrum.c:3878:8: error: too few arguments to function 'devlink_resource_register'

2018-03-22 Thread David Ahern
On 3/22/18 6:47 PM, kbuild test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git > master > head: 6686c459e1449a3ee5f3fd313b0a559ace7a700e > commit: 145307460ba9c11489807de7acd3f4c7395f60b7 [304/314] devlink: Remove > top_hierarchy arg to

Hello

2018-03-22 Thread Mrs. Pamela Atuegbe
Am Mrs.Pamela Atuegbe, I work in one of the prime bank here in burkina faso, i want the bank to transfer the money left by our late customer is a foreigner from Korea. can you investment this money and also help the poor' the amount value at $13,300,000.00 (Thirteen Million Three Hundred

RE: [PATCH] qed: Use true and false for boolean values

2018-03-22 Thread Kalluru, Sudarsana
-Original Message- From: Gustavo A. R. Silva [mailto:gust...@embeddedor.com] Sent: 23 March 2018 01:39 To: Elior, Ariel ; Dept-Eng Everest Linux L2 Cc: netdev@vger.kernel.org; linux-ker...@vger.kernel.org; Gustavo A. R. Silva

Re: linux-next: manual merge of the net-next tree with the rdma-fixes tree

2018-03-22 Thread Jason Gunthorpe
On Fri, Mar 23, 2018 at 12:19:00AM -0400, David Miller wrote: > From: Doug Ledford > Date: Thu, 15 Mar 2018 21:18:02 -0400 > > > Here's the commit (from the rdma git repo) with the proper merge fix > > (although it also has other minor merge stuff that needs to be ignored):

Re: linux-next: manual merge of the net-next tree with the rdma-fixes tree

2018-03-22 Thread David Miller
From: Doug Ledford Date: Thu, 15 Mar 2018 21:18:02 -0400 > Here's the commit (from the rdma git repo) with the proper merge fix > (although it also has other minor merge stuff that needs to be ignored): > > 2d873449a202 (Merge branch 'k.o/wip/dl-for-rc' into

Re: [patch net-next RFC 02/12] devlink: extend attrs_set for setting port flavours

2018-03-22 Thread Jakub Kicinski
On Thu, 22 Mar 2018 11:55:12 +0100, Jiri Pirko wrote: > enum devlink_attr { > /* don't change the order or add anything between, this is ABI! */ > DEVLINK_ATTR_UNSPEC, > @@ -224,6 +242,7 @@ enum devlink_attr { > DEVLINK_ATTR_DPIPE_TABLE_RESOURCE_ID, /* u64 */ >

Re: [patch net-next RFC 10/12] nfp: flower: create port for flower vnic

2018-03-22 Thread Jakub Kicinski
On Thu, 22 Mar 2018 11:55:20 +0100, Jiri Pirko wrote: > From: Jiri Pirko > > Signed-off-by: Jiri Pirko > --- > drivers/net/ethernet/netronome/nfp/flower/main.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git

Re: [PATCH net-next] bridge: Allow max MTU when multiple VLANs present

2018-03-22 Thread Roopa Prabhu
On Thu, Mar 22, 2018 at 8:34 AM, Chas Williams <3ch...@gmail.com> wrote: > If the bridge is allowing multiple VLANs, some VLANs may have > different MTUs. Instead of choosing the minimum MTU for the > bridge interface, choose the maximum MTU of the bridge members. > With this the user only needs

Re: [RFC v3 net-next 13/18] net/sched: Introduce the TBS Qdisc

2018-03-22 Thread Thomas Gleixner
On Thu, 22 Mar 2018, Jesus Sanchez-Palencia wrote: > On 03/21/2018 06:46 AM, Thomas Gleixner wrote: > > If you look at the use cases of TDM in various fields then FIFO mode is > > pretty much useless. In industrial/automotive fieldbus applications the > > various time slices are filled by

Re: [PATCH v2] net/mlx5: Fix use-after-free

2018-03-22 Thread Saeed Mahameed
On Thu, 2018-03-22 at 13:44 -0500, Gustavo A. R. Silva wrote: > _rule_ is being freed and then dereferenced by accessing rule->ctx > > Fix this by copying the value returned by PTR_ERR(rule->ctx) into a > local > variable for its safe use after freeing _rule_ > > Addresses-Coverity-ID: 1466041

Re: [PATCH net-next] modules: allow modprobe load regular elf binaries

2018-03-22 Thread Andy Lutomirski
On Thu, Mar 22, 2018 at 8:54 PM, Luis R. Rodriguez wrote: > If we can ensure that these usermode modules don't take *any time at all* on > their init *from the start*, it would be wonderful and we'd end up avoiding > some really odd corner case issues later. > I don't see why

Re: [PATCH V2 net-next 07/14] net/tls: Support TLS device offload with IPv6

2018-03-22 Thread Saeed Mahameed
On Thu, 2018-03-22 at 12:36 +0300, Sergei Shtylyov wrote: > Hello! > > On 3/22/2018 12:01 AM, Saeed Mahameed wrote: > > > From: Ilya Lesokhin > > > > Previously get_netdev_for_sock worked only with IPv4. > > > > Signed-off-by: Ilya Lesokhin > >

Re: [PATCH net-next] modules: allow modprobe load regular elf binaries

2018-03-22 Thread Alexei Starovoitov
On 3/22/18 3:15 PM, Andy Lutomirski wrote: On Thu, Mar 22, 2018 at 8:54 PM, Luis R. Rodriguez wrote: If we can ensure that these usermode modules don't take *any time at all* on their init *from the start*, it would be wonderful and we'd end up avoiding some really odd

Re: [PATCH V2 net-next 06/14] net/tls: Add generic NIC offload infrastructure

2018-03-22 Thread Saeed Mahameed
On Thu, 2018-03-22 at 01:27 +0300, Kirill Tkhai wrote: > Hi, Saeed, > > thanks for fixing some of my remarks, but I've dived into the code > more deeply, and found with a sadness, the patch lacks the > readability. > > It too big and not fit kernel coding style. Please, see some comments >

[PATCH V3 net-next 00/14] TLS offload, netdev & MLX5 support

2018-03-22 Thread Saeed Mahameed
Hi Dave, The following series from Ilya and Boris provides TLS TX inline crypto offload. v1->v2: - Added IS_ENABLED(CONFIG_TLS_DEVICE) and a STATIC_KEY for icsk_clean_acked - File license fix - Fix spelling, comment by DaveW - Move memory allocations out of tls_set_device_offload and

[PATCH V2 net-next] liquidio: Added support for trusted VF

2018-03-22 Thread Felix Manlunas
From: Intiyaz Basha When a VF is trusted, all promiscuous traffic will only be sent to that VF. In normal operation promiscuous traffic is sent to the PF. There can be only one trusted VF per PF Signed-off-by: Intiyaz Basha Signed-off-by:

[PATCH net 1/3] lan78xx: Set ASD in MAC_CR when EEE is enabled.

2018-03-22 Thread Raghuram Chary J
Description: EEE does not work with lan7800 when AutoSpeed is not set. (This can happen when EEPROM is not populated or configured incorrectly) Root-Cause: When EEE is enabled, the mac config register ASD is not set i.e in default state,causing EEE fail. Fix: Set the register when eeprom is not

[RFC PATCH] net: stmmac: dwmac-sun8i: sun8i_syscon_reg_field can be static

2018-03-22 Thread kbuild test robot
Fixes: e3c10deef23c ("net: stmmac: dwmac-sun8i: Use regmap_field for syscon register access") Signed-off-by: Fengguang Wu --- dwmac-sun8i.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c

Re: [PATCH net-next 06/12] net: stmmac: dwmac-sun8i: Use regmap_field for syscon register access

2018-03-22 Thread kbuild test robot
Hi Chen-Yu, I love your patch! Perhaps something to improve: [auto build test WARNING on next-20180309] [also build test WARNING on v4.16-rc6] [cannot apply to v4.16-rc4 v4.16-rc3 v4.16-rc2] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

Re: [PATCH] caif_dev: use true and false for boolean values

2018-03-22 Thread Gustavo A. R. Silva
Hi all, I was just wondering about the status of this patch. Thanks! -- Gustavo On 03/05/2018 04:05 PM, Gustavo A. R. Silva wrote: Assign true or false to boolean variables instead of an integer value. This issue was detected with the help of Coccinelle. Signed-off-by: Gustavo A. R. Silva

Re: [RESEND PATCH net-next 1/1] tc-testing: updated police, mirred, skbedit and skbmod with more tests

2018-03-22 Thread Roman Mashak
David Miller writes: > From: Roman Mashak > Date: Thu, 22 Mar 2018 08:23:22 -0400 > >> diff --git a/tools/testing/selftests/tc-testing/tc-tests/actions/skbmod.json >> b/tools/testing/selftests/tc-testing/tc-tests/actions/skbmod.json >> index

[PATCH] qed: Use true and false for boolean values

2018-03-22 Thread Gustavo A. R. Silva
Assign true or false to boolean variables instead of an integer value. This issue was detected with the help of Coccinelle. Signed-off-by: Gustavo A. R. Silva --- drivers/net/ethernet/qlogic/qed/qed_dev.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-)

Re: [PATCH v2 iproute2-next 0/6] cm_id, cq, mr, and pd resource tracking

2018-03-22 Thread David Ahern
On 3/22/18 2:20 PM, Steve Wise wrote: >> I think the simplest approach is to move the uapi header under the rdma >> directory and you folks take ownership of that header. > Fine with me.  Leon?   Please make a patch moving the existing file and then make changes to it in follow on patches.

Re: [RFC v3 net-next 13/18] net/sched: Introduce the TBS Qdisc

2018-03-22 Thread Jesus Sanchez-Palencia
Hi Thomas, On 03/21/2018 03:29 PM, Thomas Gleixner wrote: > On Wed, 21 Mar 2018, Thomas Gleixner wrote: >> If you look at the use cases of TDM in various fields then FIFO mode is >> pretty much useless. In industrial/automotive fieldbus applications the >> various time slices are filled by

[PATCH V3 net-next 05/14] net: Add TLS TX offload features

2018-03-22 Thread Saeed Mahameed
From: Ilya Lesokhin This patch adds a netdev feature to configure TLS TX offloads. Signed-off-by: Ilya Lesokhin Signed-off-by: Boris Pismenny Signed-off-by: Aviad Yehezkel Signed-off-by: Saeed Mahameed

Re: [PATCH v3 bpf-next 01/10] treewide: remove struct-pass-by-value from tracepoints arguments

2018-03-22 Thread Alexei Starovoitov
On 3/22/18 1:52 PM, Linus Torvalds wrote: On Thu, Mar 22, 2018 at 1:48 PM, Steven Rostedt wrote: OK, but instead of changing it to pass by reference, why not just pass the value. That is: static void xen_set_pte_atomic(pte_t *ptep, pte_t pte) { -

Re: [RFC v3 net-next 14/18] net/sched: Add HW offloading capability to TBS

2018-03-22 Thread Jesus Sanchez-Palencia
Hi, On 03/21/2018 07:22 AM, Thomas Gleixner wrote: > On Tue, 6 Mar 2018, Jesus Sanchez-Palencia wrote: >> $ tc qdisc replace dev enp2s0 parent root handle 100 mqprio num_tc 3 \ >>map 2 2 1 0 2 2 2 2 2 2 2 2 2 2 2 2 queues 1@0 1@1 2@2 hw 0 >> >> $ tc qdisc add dev enp2s0 parent 100:1

l2tp stable request

2018-03-22 Thread Daniel Rosenberg
f3c66d4e144a0904ea9b95d23ed9f8eb38c11bfb        l2tp: prevent creation of sessions on terminated tunnels 9ee369a405c57613d7c83a3967780c3e30c52ecc        l2tp: initialise session's refcount before making it reachable dbdbc73b44782e22b3b4b6e8b51e7a3d245f3086        l2tp: fix duplicate session

<    1   2   3   4