[PATCH v3 iproute2-next 3/3] ip: Allow rules to accept a specified protocol

2018-02-23 Thread Donald Sharp
Allow the specification of a protocol when the user adds/modifies/deletes a rule. Signed-off-by: Donald Sharp --- ip/iprule.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/ip/iprule.c b/ip/iprule.c index 17df9e9b..796da3b3 100644 --- a/ip/iprule.c +++ b/ip/iprule.c @@ -689,6 +689,12

[PATCH v3 iproute2-next 1/3] ip: Use the `struct fib_rule_hdr` for rules

2018-02-23 Thread Donald Sharp
The iprule.c code was using `struct rtmsg` as the data type to pass into the kernel for the netlink message. While 'struct rtmsg' and `struct fib_rule_hdr` are the same size and mostly the same, we should use the correct data structure. This commit translates the data structures to have iprule.c u

[PATCH 1/1] Linux Traffic Control (tc) unit testing suite's code quality improved, String formattings updated. According to python documentation "The built-in string class provides the ability to do c

2018-02-23 Thread BTaskaya
Signed-off-by: Batuhan Osman Taskaya --- tools/testing/selftests/tc-testing/tdc.py | 2 +- tools/testing/selftests/tc-testing/tdc_batch.py | 8 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tools/testing/selftests/tc-testing/tdc.py b/tools/testing/selftests/tc-tes

[PATCH net 1/1] tc: python3, string formattings

2018-02-23 Thread BTaskaya
This patch converts old type string formattings to new type string formattings for adapting Linux Traffic Control (tc) unit testing suite python3. Linux Traffic Control (tc) unit testing suite's code quality improved is improved with this patch. According to python documentation; "The built-in st

[PATCH] net: Allow mac_pton() to work on non-NULL terminated strings

2018-02-23 Thread Stefan Hellermann
Commit 4904dbda41c8 ("ARM: orion5x: use mac_pton() helper") crashes my QNAP TS-209 NAS early on boot. The boot code for the TS-209 is looping through an ext2 filesystem on a 384kB mtd partition (factory configuration put there by QNAP). There it looks on every 1kB boundary if there is a valid MAC

Re: [PATCH] net: Allow mac_pton() to work on non-NULL terminated strings

2018-02-23 Thread Andrew Lunn
On Fri, Feb 23, 2018 at 09:17:48PM +0100, Stefan Hellermann wrote: > Commit 4904dbda41c8 ("ARM: orion5x: use mac_pton() helper") crashes my > QNAP TS-209 NAS early on boot. > > The boot code for the TS-209 is looping through an ext2 filesystem on a > 384kB mtd partition (factory configuration put

response

2018-02-23 Thread Ms. Ella Golan
I am Ms.Ella Golan, I am the Executive Vice President Banking Division with FIRST INTERNATIONAL BANK OF ISRAEL LTD (FIBI). I am getting in touch with you regarding an extremely important and urgent matter. If you would oblige me the opportunity, I shall provide you with details upon your respons

[net] ixgbe: fix crash in build_skb Rx code path

2018-02-23 Thread Jeff Kirsher
From: Emil Tantilov Add check for build_skb enabled ring in ixgbe_dma_sync_frag(). In that case &skb_shinfo(skb)->frags[0] may not always be set which can lead to a crash. Instead we derive the page offset from skb->data. Fixes: 42073d91a214 ("ixgbe: Have the CPU take ownership of the buffers so

Re: [PATCH] net: Allow mac_pton() to work on non-NULL terminated strings

2018-02-23 Thread Alexey Dobriyan
On Fri, Feb 23, 2018 at 09:17:48PM +0100, Stefan Hellermann wrote: > @@ -8,10 +8,6 @@ bool mac_pton(const char *s, u8 *mac) > { > int i; > > - /* XX:XX:XX:XX:XX:XX */ > - if (strlen(s) < 3 * ETH_ALEN - 1) > - return false; > - > /* Don't dirty result unless string

Re: [PATCH] net: fib_rules: Add new attribute to set protocol

2018-02-23 Thread David Miller
From: Donald Sharp Date: Fri, 23 Feb 2018 14:01:52 -0500 > For ages iproute2 has used `struct rtmsg` as the ancillary header for > FIB rules and in the process set the protocol value to RTPROT_BOOT. > Until ca56209a66 ("net: Allow a rule to track originating protocol") > the kernel rules code ign

Re: [PATCH] net: Allow mac_pton() to work on non-NULL terminated strings

2018-02-23 Thread Andy Shevchenko
On Fri, 2018-02-23 at 23:41 +0300, Alexey Dobriyan wrote: > On Fri, Feb 23, 2018 at 09:17:48PM +0100, Stefan Hellermann wrote: > > @@ -8,10 +8,6 @@ bool mac_pton(const char *s, u8 *mac) > > { > > int i; > > > > - /* XX:XX:XX:XX:XX:XX */ > > - if (strlen(s) < 3 * ETH_ALEN - 1) > > -

Re: VRF destination unreachable

2018-02-23 Thread David Ahern
On 2/23/18 10:49 AM, Stephen Suryaputra wrote: > Greetings, > > We found that ICMP destination unreachable isn't sent if VRF > forwarding isn't configured, i.e. > /proc/sys/net/ipv4/conf//forwarding isn't set. The > relevant code is: > > static int ip_error(struct sk_buff *skb) > { > ... >

[PATCH bpf] bpf: allow xadd only on aligned memory

2018-02-23 Thread Daniel Borkmann
The requirements around atomic_add() / atomic64_add() resp. their JIT implementations differ across architectures. E.g. while x86_64 seems just fine with BPF's xadd on unaligned memory, on arm64 it triggers via interpreter but also JIT the following crash: [ 830.864985] Unable to handle kernel

[PATCH net-next] r8169: improve interrupt handling

2018-02-23 Thread Heiner Kallweit
This patch improves few aspects of interrupt handling: - update to current interrupt allocation API (use pci_alloc_irq_vectors() instead of deprecated pci_enable_msi()) - this implicitly will allocate a MSI-X interrupt if available - get rid of flag RTL_FEATURE_MSI Last but not least it enables

Re: [v3,net-next,2/2] tls: Use correct sk->sk_prot for IPV6

2018-02-23 Thread Guenter Roeck
Hi Ilya, On Mon, Sep 04, 2017 at 01:14:01PM +0300, Ilya Lesokhin wrote: > The tls ulp overrides sk->prot with a new tls specific proto structs. > The tls specific structs were previously based on the ipv4 specific > tcp_prot sturct. > As a result, attaching the tls ulp to an ipv6 tcp socket replac

Re: [RFC PATCH v3 0/3] Enable virtio_net to act as a backup for a passthru device

2018-02-23 Thread Siwei Liu
On Wed, Feb 21, 2018 at 6:35 PM, Samudrala, Sridhar wrote: > On 2/21/2018 5:59 PM, Siwei Liu wrote: >> >> On Wed, Feb 21, 2018 at 4:17 PM, Alexander Duyck >> wrote: >>> >>> On Wed, Feb 21, 2018 at 3:50 PM, Siwei Liu wrote: I haven't checked emails for days and did not realize the new r

Re: [RFC PATCH bpf-next 05/12] bpf/verifier: detect loops dynamically rather than statically

2018-02-23 Thread John Fastabend
On 02/23/2018 09:40 AM, Edward Cree wrote: > Add in a new chain of parent states, which does not cross function-call > boundaries, and check whether our current insn_idx appears anywhere in > the chain. Since all jump targets have state-list marks (now placed > by prepare_cfg_marks(), which rep

Re: [RFC PATCH bpf-next 07/12] bpf/verifier: allow bounded loops with JLT/true back-edge

2018-02-23 Thread John Fastabend
On 02/23/2018 09:41 AM, Edward Cree wrote: > Where the register umin_value is increasing sufficiently fast, the loop > will terminate after a reasonable number of iterations, so we can allow > to keep walking it. Continuing to walk the loop is problematic because we hit the complexity limit. Wha

[PATCH V2 net-next 1/3] selftests/net: revert the zerocopy Rx path for PF_RDS

2018-02-23 Thread Sowmini Varadhan
In preparation for optimized reception of zerocopy completion, revert the Rx side changes introduced by Commit dfb8434b0a94 ("selftests/net: add zerocopy support for PF_RDS test case") Signed-off-by: Sowmini Varadhan --- v2: prepare to remove sk_error_queue based path; remove recvmsg() as well,

[PATCH V2 net-next 2/3] rds: deliver zerocopy completion notification with data

2018-02-23 Thread Sowmini Varadhan
This commit is an optimization of the commit 01883eda72bd ("rds: support for zcopy completion notification") for PF_RDS sockets. RDS applications are predominantly request-response transactions, so it is more efficient to reduce the number of system calls and have zerocopy completion notification

[PATCH V2 net-next 3/3] selftests/net: reap zerocopy completions passed up as ancillary data.

2018-02-23 Thread Sowmini Varadhan
PF_RDS sockets pass up cookies for zerocopy completion as ancillary data. Update msg_zerocopy to reap this information. Signed-off-by: Sowmini Varadhan --- v2: receive zerocopy completion notification as POLLIN tools/testing/selftests/net/msg_zerocopy.c | 60 1 fi

Re: [PATCH bpf] bpf: allow xadd only on aligned memory

2018-02-23 Thread Alexei Starovoitov
On Fri, Feb 23, 2018 at 10:29:05PM +0100, Daniel Borkmann wrote: > The requirements around atomic_add() / atomic64_add() resp. their > JIT implementations differ across architectures. E.g. while x86_64 > seems just fine with BPF's xadd on unaligned memory, on arm64 it > triggers via interpreter but

Re: [RFC PATCH v3 0/3] Enable virtio_net to act as a backup for a passthru device

2018-02-23 Thread Jiri Pirko
Fri, Feb 23, 2018 at 11:22:36PM CET, losewe...@gmail.com wrote: [...] >>> >>> No, that's not what I was talking about of course. I thought you >>> mentioned the upgrade scenario this patch would like to address is to >>> use the bypass interface "to take the place of the original virtio, >>> and

RE: [PATCH v2 net-next 1/2] lan743x: Add main source files for new lan743x driver

2018-02-23 Thread Bryan.Whitehead
Hi Florian, Thanks for your review. I have the following questions/comments. > On 02/21/2018 11:06 AM, Bryan Whitehead wrote: > > Add main source files for new lan743x driver. > > > > Signed-off-by: Bryan Whitehead > > --- > > > +lan743x-objs := lan743x_main.o > > Should we assume that you have

Re: Kernel panic with 4.16-rc1 (and 4.16-rc2) running selftest

2018-02-23 Thread Cong Wang
On Fri, Feb 23, 2018 at 11:00 AM, Randy Dunlap wrote: > [adding netdev] > > On 02/23/2018 08:05 AM, Khalid Aziz wrote: >> I am seeing a kernel panic with 4.16-rc1 and 4.16-rc2 kernels when running >> selftests >> from tools/testing/selftests. Last messages from selftest before kernel >> panic ar

Re: [PATCH iproute2-next v3 2/8] iplink: Correctly report error when network device isn't found

2018-02-23 Thread David Ahern
On 2/22/18 6:02 AM, Serhey Popovych wrote: > @@ -650,6 +658,9 @@ int iplink_parse(int argc, char **argv, struct iplink_req > *req, > bool drv = strcmp(*argv, "xdpdrv") == 0; > bool offload = strcmp(*argv, "xdpoffload") == 0; > > + i

Re: [RFC PATCH v3 0/3] Enable virtio_net to act as a backup for a passthru device

2018-02-23 Thread Stephen Hemminger
On Thu, 22 Feb 2018 13:30:12 -0800 Alexander Duyck wrote: > > Again, I undertand your motivation. Yet I don't like your solution. > > But if the decision is made to do this in-driver bonding. I would like > > to see it baing done some generic way: > > 1) share the same "in-driver bonding core" co

Re: [RFC PATCH v3 0/3] Enable virtio_net to act as a backup for a passthru device

2018-02-23 Thread Stephen Hemminger
(pruned to reduce thread) On Wed, 21 Feb 2018 16:17:19 -0800 Alexander Duyck wrote: > >>> FWIW two solutions that immediately come to mind is to export "backup" > >>> as phys_port_name of the backup virtio link and/or assign a name to the > >>> master like you are doing already. I think team us

[PATCH bpf-next 0/6] Few x64 jit improvements to shrink image size

2018-02-23 Thread Daniel Borkmann
Couple of minor improvements to the x64 JIT I had still around from pre merge window in order to shrink the image size further. Added test cases for kselftests too as well as running Cilium workloads on them w/o issues. Thanks! Daniel Borkmann (6): bpf, x64: save one byte per shl/shr/sar when i

[PATCH bpf-next 1/6] bpf, x64: save one byte per shl/shr/sar when imm is 1

2018-02-23 Thread Daniel Borkmann
When we shift by one, we can use a different encoding where imm is not explicitly needed, which saves 1 byte per such op. Signed-off-by: Daniel Borkmann --- arch/x86/net/bpf_jit_comp.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/x86/net/bpf_jit_comp.c b/arch/x86

[PATCH bpf-next 4/6] bpf, x64: save few bytes when mul is in alu32

2018-02-23 Thread Daniel Borkmann
Add a generic emit_mov_reg() helper in order to reuse it in BPF multiplication to load the src into rax, we can save a few bytes in alu32 while doing so. Signed-off-by: Daniel Borkmann --- arch/x86/net/bpf_jit_comp.c | 43 --- 1 file changed, 28 insertions

[PATCH bpf-next 3/6] bpf, x64: save several bytes when mul dest is r0/r3 anyway

2018-02-23 Thread Daniel Borkmann
Instead of unconditionally performing push/pop on rax/rdx in case of multiplication, we can save a few bytes in case of dest register being either BPF r0 (rax) or r3 (rdx) since the result is written in there anyway. Signed-off-by: Daniel Borkmann --- arch/x86/net/bpf_jit_comp.c | 21 +++

[PATCH bpf-next 5/6] bpf, x64: save 5 bytes in prologue when ebpf insns came from cbpf

2018-02-23 Thread Daniel Borkmann
While it's rather cumbersome to reduce prologue for cBPF->eBPF migrations wrt spill/fill for r15 which is callee saved register due to bpf_error path in bpf_jit.S that is both used by migrations as well as native eBPF, we can still trivially save 5 bytes in prologue for the former since tail calls

[PATCH bpf-next 6/6] bpf: add various jit test cases

2018-02-23 Thread Daniel Borkmann
Add few test cases that check the rnu-time results under JIT. Signed-off-by: Daniel Borkmann --- tools/testing/selftests/bpf/test_verifier.c | 89 + 1 file changed, 89 insertions(+) diff --git a/tools/testing/selftests/bpf/test_verifier.c b/tools/testing/selftests/b

[PATCH bpf-next 2/6] bpf, x64: save several bytes by using mov over movabsq when possible

2018-02-23 Thread Daniel Borkmann
While analyzing some of the more complex BPF programs from Cilium, I found that LLVM generally prefers to emit LD_IMM64 instead of MOV32 BPF instructions for loading unsigned 32-bit immediates into a register. Given we cannot change the current/stable LLVM versions that are already out there, lets

Re: Kernel panic with 4.16-rc1 (and 4.16-rc2) running selftest

2018-02-23 Thread Cong Wang
On Fri, Feb 23, 2018 at 3:27 PM, Cong Wang wrote: > On Fri, Feb 23, 2018 at 11:00 AM, Randy Dunlap wrote: >> [adding netdev] >> >> On 02/23/2018 08:05 AM, Khalid Aziz wrote: >>> I am seeing a kernel panic with 4.16-rc1 and 4.16-rc2 kernels when running >>> selftests >>> from tools/testing/selfte

Re: [RFC PATCH v3 0/3] Enable virtio_net to act as a backup for a passthru device

2018-02-23 Thread Siwei Liu
On Fri, Feb 23, 2018 at 2:38 PM, Jiri Pirko wrote: > Fri, Feb 23, 2018 at 11:22:36PM CET, losewe...@gmail.com wrote: > > [...] > No, that's not what I was talking about of course. I thought you mentioned the upgrade scenario this patch would like to address is to use the bypass

Re: Kernel panic with 4.16-rc1 (and 4.16-rc2) running selftest

2018-02-23 Thread Randy Dunlap
[add Matthew Wilcox; hopefully he can look/see] On 02/23/2018 04:13 PM, Cong Wang wrote: > On Fri, Feb 23, 2018 at 3:27 PM, Cong Wang wrote: >> On Fri, Feb 23, 2018 at 11:00 AM, Randy Dunlap wrote: >>> [adding netdev] >>> >>> On 02/23/2018 08:05 AM, Khalid Aziz wrote: I am seeing a kernel p

Re: [PATCH V7 2/4] sctp: Add ip option support

2018-02-23 Thread Marcelo Ricardo Leitner
On Fri, Feb 23, 2018 at 11:11:50AM -0500, Paul Moore wrote: > On Thu, Feb 22, 2018 at 9:40 PM, Marcelo Ricardo Leitner > wrote: > > On Thu, Feb 22, 2018 at 06:08:05PM -0500, Paul Moore wrote: > >> On Wed, Feb 21, 2018 at 3:45 PM, Paul Moore wrote: > >> > On February 21, 2018 9:33:51 AM Marcelo Ri

Re: Fwd: Re: Kernel panic with 4.16-rc1 (and 4.16-rc2) running selftest

2018-02-23 Thread Matthew Wilcox
On Fri, Feb 23, 2018 Randy Dunlap wrote: > [add Matthew Wilcox; hopefully he can look/see] Thanks, Randy. I don't understand why nobody else thought to cc the author of the patch that it was bisected to ... > On 02/23/2018 04:13 PM, Cong Wang wrote: > > On Fri, Feb 23, 2018 at 3:27 PM, Cong Wang

[next-queue PATCH 1/8] igb: Fix not adding filter elements to the list

2018-02-23 Thread Vinicius Costa Gomes
Because the order of the parameters passes to 'hlist_add_behind()' was inverted, the 'parent' node was added "behind" the 'input', as input is not in the list, this causes the 'input' node to be lost. Fixes: 0e71def25281 ("igb: add support of RX network flow classification") Signed-off-by: Viniciu

[next-queue PATCH 4/8] igb: Add support for MAC address filters specifying source addresses

2018-02-23 Thread Vinicius Costa Gomes
Makes it possible to direct packets to queues based on their source address. Documents the expected usage of the 'flags' parameter. Signed-off-by: Vinicius Costa Gomes --- drivers/net/ethernet/intel/igb/e1000_defines.h | 1 + drivers/net/ethernet/intel/igb/igb.h | 1 + drivers/net/et

[next-queue PATCH 0/8] igb: offloading of receive filters

2018-02-23 Thread Vinicius Costa Gomes
Hi, This series enables some ethtool and tc-flower filters to be offloaded to igb-based network controllers. This is useful when the system configurator want to steer kinds of traffic to a specific hardware queue. The first two commits are bug fixes. The basis of this series is to export the int

[next-queue PATCH 8/8] igb: Add support for removing offloaded tc-flower filters

2018-02-23 Thread Vinicius Costa Gomes
This allows tc-flower filters that were offloaded to be removed. Signed-off-by: Vinicius Costa Gomes --- drivers/net/ethernet/intel/igb/igb_main.c | 32 ++- 1 file changed, 31 insertions(+), 1 deletion(-) diff --git a/drivers/net/ethernet/intel/igb/igb_main.c b/driv

[next-queue PATCH 6/8] igb: Add the skeletons for tc-flower offloading

2018-02-23 Thread Vinicius Costa Gomes
This adds basic functions needed to implement offloading for filters created by tc-flower. Signed-off-by: Vinicius Costa Gomes --- drivers/net/ethernet/intel/igb/igb_main.c | 66 +++ 1 file changed, 66 insertions(+) diff --git a/drivers/net/ethernet/intel/igb/igb_mai

[PATCH V2 net-next 0/3] RDS: optimized notification for zerocopy completion

2018-02-23 Thread Sowmini Varadhan
RDS applications use predominantly request-response, transacation based IPC, so that ingress and egress traffic are well-balanced, and it is possible/desirable to reduce system-call overhead by piggybacking the notifications for zerocopy completion response with data. Moreover, it has been point

[next-queue PATCH 5/8] igb: Add support for ethtool MAC address filters

2018-02-23 Thread Vinicius Costa Gomes
This adds the capability of configuring the queue steering of arriving packets based on their source and destination MAC addresses. In practical terms this adds support for the following use cases, characterized by these examples: $ ethtool -N eth0 flow-type ether dst aa:aa:aa:aa:aa:aa action 0 (

[next-queue PATCH 7/8] igb: Add support for adding offloaded clsflower filters

2018-02-23 Thread Vinicius Costa Gomes
This allows filters added by tc-flower and specifying MAC addresses, Ethernet types, and the VLAN priority field, to be offloaded to the controller. This reuses most of the infrastructure used by ethtool, ethtool can be used to read these filters, but modification and deletion can only be done via

[next-queue PATCH 3/8] igb: Enable the hardware traffic class feature bit for igb models

2018-02-23 Thread Vinicius Costa Gomes
This will allow functionality depending on the hardware being traffic class aware to work. In particular the tc-flower offloading checks verifies that this bit is set. Signed-off-by: Vinicius Costa Gomes --- drivers/net/ethernet/intel/igb/igb_main.c | 6 -- 1 file changed, 4 insertions(+), 2

[next-queue PATCH 2/8] igb: Fix queue selection on MAC filters on i210 and i211

2018-02-23 Thread Vinicius Costa Gomes
On the RAH registers there are semantic differences on the meaning of the "queue" parameter for traffic steering depending on the controller model: there is the 82575 meaning, which "queue" means a RX Hardware Queue, and the i350 meaning, where it is a reception pool. The previous behaviour was ha

Re: [PATCH net-next] r8169: improve interrupt handling

2018-02-23 Thread Francois Romieu
Heiner Kallweit : [...] > Last but not least it enables a feature which was (I presume accidently) > disabled before. There are members of the RTL8169 family supporting MSI > (e.g. RTL8169SB), however MSI never got enabled because RTL_CFG_0 was > missing flag RTL_FEATURE_MSI. > An indicator for "a

RE: Fwd: Re: Kernel panic with 4.16-rc1 (and 4.16-rc2) running selftest

2018-02-23 Thread Chris Mi
> -Original Message- > From: Matthew Wilcox [mailto:wi...@infradead.org] > Sent: Saturday, February 24, 2018 9:15 AM > To: Cong Wang ; Khalid Aziz > ; linux-ker...@vger.kernel.org; > netdev@vger.kernel.org > Cc: Chris Mi > Subject: Re: Fwd: Re: Kernel panic with 4.16-rc1 (and 4.16-rc2) run

Re: [PATCH v2 net-next 1/2] lan743x: Add main source files for new lan743x driver

2018-02-23 Thread Andrew Lunn
> Ok, but it seems to me that what I have is an example of "specific book > keeping > private information". Can you clarify the style you prefer? > > In cases of allocation where I can just compare a pointer to null, I can > easily remove > the flags. But in other cases I need a record of which

Re: Fwd: Re: Kernel panic with 4.16-rc1 (and 4.16-rc2) running selftest

2018-02-23 Thread Matthew Wilcox
On Sat, Feb 24, 2018 at 01:49:35AM +, Chris Mi wrote: > To verify this patch, the following is a sanity test case: > > # tc qdisc delete dev $link ingress > /dev/null 2>&1; > # tc qdisc add dev $link ingress; > # tc filter add dev $link prio 1 protocol ip handle 0x8001 parent : > flow

[PATCH V4 net 2/3] tuntap: disable preemption during XDP processing

2018-02-23 Thread Jason Wang
Except for tuntap, all other drivers' XDP was implemented at NAPI poll() routine in a bh. This guarantees all XDP operation were done at the same CPU which is required by e.g BFP_MAP_TYPE_PERCPU_ARRAY. But for tuntap, we do it in process context and we try to protect XDP processing by RCU reader lo

[PATCH V4 net 3/3] tuntap: correctly add the missing XDP flush

2018-02-23 Thread Jason Wang
We don't flush batched XDP packets through xdp_do_flush_map(), this will cause packets stall at TX queue. Consider we don't do XDP on NAPI poll(), the only possible fix is to call xdp_do_flush_map() immediately after xdp_do_redirect(). Note, this in fact won't try to batch packets through devmap,

[PATCH V4 net 1/3] Revert "tuntap: add missing xdp flush"

2018-02-23 Thread Jason Wang
This reverts commit 762c330d670e3d4b795cf7a8d761866fdd1eef49. The reason is we try to batch packets for devmap which causes calling xdp_do_flush() in the process context. Simply disabling preemption may not work since process may move among processors which lead xdp_do_flush() to miss some flushes

Re: [next-queue PATCH 8/8] igb: Add support for removing offloaded tc-flower filters

2018-02-23 Thread Florian Fainelli
On February 23, 2018 5:20:36 PM PST, Vinicius Costa Gomes wrote: >This allows tc-flower filters that were offloaded to be removed. This should be squashed into your previous patch, either the functionality is there and you can add/remove or it is not. -- Florian

Re: [next-queue PATCH 5/8] igb: Add support for ethtool MAC address filters

2018-02-23 Thread Florian Fainelli
On February 23, 2018 5:20:33 PM PST, Vinicius Costa Gomes wrote: >This adds the capability of configuring the queue steering of arriving >packets based on their source and destination MAC addresses. > >In practical terms this adds support for the following use cases, >characterized by these examp

Re: [next-queue PATCH 7/8] igb: Add support for adding offloaded clsflower filters

2018-02-23 Thread Florian Fainelli
On February 23, 2018 5:20:35 PM PST, Vinicius Costa Gomes wrote: >This allows filters added by tc-flower and specifying MAC addresses, >Ethernet types, and the VLAN priority field, to be offloaded to the >controller. > >This reuses most of the infrastructure used by ethtool, ethtool can be >used

GIT: net has been merged into net-next

2018-02-23 Thread David Miller
Just FYI...

RE: [Intel-wired-lan] [PATCH net-queue] e1000e: Fix check_for_link return value with autoneg off.

2018-02-23 Thread Brown, Aaron F
> From: Intel-wired-lan [mailto:intel-wired-lan-boun...@osuosl.org] On > Behalf Of Benjamin Poirier > Sent: Monday, February 19, 2018 10:12 PM > To: Kirsher, Jeffrey T > Cc: netdev@vger.kernel.org; intel-wired-...@lists.osuosl.org; linux- > ker...@vger.kernel.org > Subject: [Intel-wired-lan] [PATC

tcp_bind_bucket is missing from slabinfo

2018-02-23 Thread Stephen Hemminger
Somewhere back around 3.17 the kmem cache "tcp_bind_bucket" dropped out of /proc/slabinfo. It turns out the ss command was dumpster diving in slabinfo to determine the number of bound sockets and now it always reports 0. Not sure why, the cache is still created but it doesn't show in slabinfo. Cou

Re: [PATCH bpf-next 0/6] Few x64 jit improvements to shrink image size

2018-02-23 Thread Alexei Starovoitov
On Sat, Feb 24, 2018 at 01:07:57AM +0100, Daniel Borkmann wrote: > Couple of minor improvements to the x64 JIT I had still around from > pre merge window in order to shrink the image size further. Added > test cases for kselftests too as well as running Cilium workloads on > them w/o issues. Appli

<    1   2