Re: [PATCH cumulus-4.1.y 1/5] vxlan: flush fdb entries on oper down

2017-01-21 Thread kbuild test robot
-entries-on-oper-down/20170121-163042 config: i386-randconfig-x005-201703 (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: # save the attached .config to linux build tree make ARCH=i386 All warnings (new ones prefixed by >>): In file include

Re: [PATCH net-next 1/8] net: dsa: mv88e6xxx: Implement external MDIO bus on mv88e6390

2017-01-21 Thread Andrew Lunn
> This looks fine, although I am not clear why we cannot utilize a > standard representation of a MDIO bus (with PHY devices as child nodes) > which has a specific compatible string, e.g: > marvell,mv88e6390-external-mdio, and that is a child node of the 6390 > Ethernet switch itself, something

[RESEND PATCH net] macsec: fix validation failed in asynchronous operation.

2017-01-21 Thread Ryder Lee
Add missing "macsec_skb_cb(skb)->valid = true" in callback function macsec_decrypt_done(), this fixes packet validation failed while decrypting asynchronously. Signed-off-by: Ryder Lee --- drivers/net/macsec.c | 3 +++ 1 file changed, 3 insertions(+) diff --git

[PATCH v4 2/3] bpf: Add tests for the lpm trie map

2017-01-21 Thread Daniel Mack
From: David Herrmann The first part of this program runs randomized tests against the lpm-bpf-map. It implements a "Trivial Longest Prefix Match" (tlpm) based on simple, linear, single linked lists. The implementation should be pretty straightforward. Based on tlpm, this

[PATCH v4 3/3] samples/bpf: add lpm-trie benchmark

2017-01-21 Thread Daniel Mack
From: David Herrmann Extend the map_perf_test_{user,kern}.c infrastructure to stress test lpm-trie lookups. We hook into the kprobe on sys_gettid() and measure the latency depending on trie size and lookup count. On my Intel Haswell i7-6400U, a single gettid() syscall

[PATCH v4 0/3] bpf: add longest prefix match map

2017-01-21 Thread Daniel Mack
This patch set adds a longest prefix match algorithm that can be used to match IP addresses to a stored set of ranges. It is exposed as a bpf map type. Internally, data is stored in an unbalanced tree of nodes that has a maximum height of n, where n is the prefixlen the trie was created with.

Re: [PATCH RFC net-next 2/7] net: add dst_pending_confirm flag to skbuff

2017-01-21 Thread Julian Anastasov
Hello, On Fri, 20 Jan 2017, YueHaibing wrote: > Sorry for so late reply. > I have test your new patch, It works well in my scene. Thanks! I'll prepare 2nd version in the following days... Regards -- Julian Anastasov

Re: [PATCH cumulus-4.1.y 1/5] vxlan: flush fdb entries on oper down

2017-01-21 Thread kbuild test robot
-entries-on-oper-down/20170121-163042 config: x86_64-randconfig-x017-201703 (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All errors (new ones prefixed by >>): drivers/net/v

Re: [PATCH cumulus-4.1.y 4/5] vxlan: don't flush static fdb entries on admin down

2017-01-21 Thread kbuild test robot
-on-oper-down/20170121-163042 config: x86_64-randconfig-x017-201703 (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All errors (new ones prefixed by >>): drivers/net/vxlan.c: In fu

[PATCH v2] net: broadcom: bnx2x: use new api ethtool_{get|set}_link_ksettings

2017-01-21 Thread Philippe Reynes
The ethtool api {get|set}_settings is deprecated. We move this driver to new api {get|set}_link_ksettings. As I don't have the hardware, I'd be very pleased if someone may test this patch. Signed-off-by: Philippe Reynes --- Changelog: v2: - also move to new api for bnx2x_vf

[PATCH v4 1/3] bpf: add a longest prefix match trie map implementation

2017-01-21 Thread Daniel Mack
This trie implements a longest prefix match algorithm that can be used to match IP addresses to a stored set of ranges. Internally, data is stored in an unbalanced trie of nodes that has a maximum height of n, where n is the prefixlen the trie was created with. Tries may be created with prefix

Re: [PATCH 4/4] xfrm_user: Add new 32/64-agnostic netlink messages

2017-01-21 Thread kbuild test robot
-bit-programs/20170121-150712 base: https://git.kernel.org/pub/scm/linux/kernel/git/klassert/ipsec-next.git master config: ia64-allmodconfig (attached as .config) compiler: ia64-linux-gcc (GCC) 6.2.0 reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin

[PATCH] net: broadcom: bnx2x: use new api ethtool_{get|set}_link_ksettings

2017-01-21 Thread Philippe Reynes
The ethtool api {get|set}_settings is deprecated. We move this driver to new api {get|set}_link_ksettings. As I don't have the hardware, I'd be very pleased if someone may test this patch. Signed-off-by: Philippe Reynes --- .../net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c

[PATCH] net: intel: e1000: use new api ethtool_{get|set}_link_ksettings

2017-01-21 Thread Philippe Reynes
The ethtool api {get|set}_settings is deprecated. We move this driver to new api {get|set}_link_ksettings. As I don't have the hardware, I'd be very pleased if someone may test this patch. Signed-off-by: Philippe Reynes --- drivers/net/ethernet/intel/e1000/e1000_ethtool.c |

[PATCHv5 net-next 2/5] sctp: add support for generating stream reconf ssn/tsn reset request chunk

2017-01-21 Thread Xin Long
This patch is to define SSN/TSN Reset Request Parameter described in rfc6525 section 4.3. Signed-off-by: Xin Long --- include/linux/sctp.h | 5 + include/net/sctp/sm.h| 2 ++ net/sctp/sm_make_chunk.c | 29 + 3 files changed, 36

[PATCHv5 net-next 0/5] sctp: add sender-side procedures for stream reconf asoc reset and add streams

2017-01-21 Thread Xin Long
Patch 3/5 is to implement sender-side procedures for the SSN/TSN Reset Request Parameter described in rfc6525 section 5.1.4, patch 2/5 is ahead of it to define a function to make the request chunk for it. Patch 5/5 is to implement sender-side procedures for the Add Incoming and Outgoing Streams

[PATCHv5 net-next 3/5] sctp: implement sender-side procedures for SSN/TSN Reset Request Parameter

2017-01-21 Thread Xin Long
This patch is to implement Sender-Side Procedures for the SSN/TSN Reset Request Parameter descibed in rfc6525 section 5.1.4. It is also to add sockopt SCTP_RESET_ASSOC in rfc6525 section 6.3.3 for users. Signed-off-by: Xin Long --- include/net/sctp/sctp.h | 1 +

[PATCHv5 net-next 5/5] sctp: implement sender-side procedures for Add Incoming/Outgoing Streams Request Parameter

2017-01-21 Thread Xin Long
This patch is to implement Sender-Side Procedures for the Add Outgoing and Incoming Streams Request Parameter described in rfc6525 section 5.1.5-5.1.6. It is also to add sockopt SCTP_ADD_STREAMS in rfc6525 section 6.3.4 for users. Signed-off-by: Xin Long ---

[PATCHv5 net-next 4/5] sctp: add support for generating stream reconf add incoming/outgoing streams request chunk

2017-01-21 Thread Xin Long
This patch is to define Add Incoming/Outgoing Streams Request Parameter described in rfc6525 section 4.5 and 4.6. They can be in one same chunk trunk as rfc6525 section 3.1-7 describes, so make them in one function. Signed-off-by: Xin Long --- include/linux/sctp.h | 7

[PATCHv5 net-next 1/5] sctp: streams should be recovered when it fails to send request.

2017-01-21 Thread Xin Long
Now when sending stream reset request, it closes the streams to block further xmit of data until this request is completed, then calls sctp_send_reconf to send the chunk. But if sctp_send_reconf returns err, and it doesn't recover the streams' states back, which means the request chunk would not

Re: [PATCH net-next] ipv6: add NUMA awareness to seg6_hmac_init_algo()

2017-01-21 Thread David Lebrun
On 01/20/2017 05:08 PM, Eric Dumazet wrote: > From: Eric Dumazet > > Since we allocate per cpu storage, let's also use NUMA hints. > > Signed-off-by: Eric Dumazet > --- > net/ipv6/seg6_hmac.c |3 ++- > 1 file changed, 2 insertions(+), 1

Re: [PATCH net-next 1/8] net: dsa: mv88e6xxx: Implement external MDIO bus on mv88e6390

2017-01-21 Thread Andrew Lunn
On Fri, Jan 20, 2017 at 07:04:35PM -0500, Vivien Didelot wrote: > Hi Andrew, > > Andrew Lunn writes: > > > The mv88e6390 has two MDIO busses. The internal MDIO bus is used for > > the internal PHYs. The external MDIO can be used for external PHYs. > > The external MDIO bus will

Re: [RFC PATCH net-next 3/5] bridge: uapi: add per vlan tunnel info

2017-01-21 Thread Roopa Prabhu
On 1/20/17, 9:46 PM, Roopa Prabhu wrote: > From: Roopa Prabhu > > New netlink api to associate tunnel info per vlan. > This is used by bridge driver to send tunnel metadata to > bridge ports in LWT tunnel dst metadata mode. > > One example use for this is a vxlan

[PATCH net-next v5] bridge: multicast to unicast

2017-01-21 Thread Linus Lüssing
From: Felix Fietkau Implements an optional, per bridge port flag and feature to deliver multicast packets to any host on the according port via unicast individually. This is done by copying the packet per host and changing the multicast destination MAC to a unicast one

Re: [PATCH net] net/mlx5e: Do not recycle pages from emergency reserve

2017-01-21 Thread Tom Herbert
On Thu, Jan 19, 2017 at 11:14 AM, Saeed Mahameed wrote: > On Thu, Jan 19, 2017 at 9:03 AM, Eric Dumazet wrote: >> From: Eric Dumazet >> >> A driver using dev_alloc_page() must not reuse a page allocated from >> emergency

Business Proposal

2017-01-21 Thread QUATIF GROUP OF COMPANIES
Dear Friend, I would like to discuss a very important issue with you. I am writing to find out if this is your valid email. Please, let me know if this email is valid Kind regards Adrien Saif Attorney to Quatif Group of Companies

Re: [PATCH net] net/mlx5e: Do not recycle pages from emergency reserve

2017-01-21 Thread Saeed Mahameed
On Sat, Jan 21, 2017 at 9:12 PM, kernel netdev wrote: > > > Den 21. jan. 2017 7.10 PM skrev "Tom Herbert" : > > On Thu, Jan 19, 2017 at 11:14 AM, Saeed Mahameed > wrote: >> On Thu, Jan 19, 2017 at 9:03 AM, Eric Dumazet

[PATCH net] net: dsa: Keep a reference count on ethernet_dev

2017-01-21 Thread Florian Fainelli
of_find_net_device_by_node() just returns a reference to a net_device but does not increment its reference count, which means that the master network device can just vanish under our feet. Fixes: 83c0afaec7b7 ("net: dsa: Add new binding implementation") Signed-off-by: Florian Fainelli

Business Proposal

2017-01-21 Thread QUATIF GROUP OF COMPANIES
Dear Friend, I would like to discuss a very important issue with you. I am writing to find out if this is your valid email. Please, let me know if this email is valid Kind regards Adrien Saif Attorney to Quatif Group of Companies

Re: [PATCH net] net/mlx5e: Do not recycle pages from emergency reserve

2017-01-21 Thread Eric Dumazet
On Sat, 2017-01-21 at 20:12 +0100, kernel netdev wrote: > > > Den 21. jan. 2017 7.10 PM skrev "Tom Herbert" : > On Thu, Jan 19, 2017 at 11:14 AM, Saeed Mahameed > wrote: > > On Thu, Jan 19, 2017 at 9:03 AM, Eric Dumazet >

Re: [PATCH net-next v5] bridge: multicast to unicast

2017-01-21 Thread Nikolay Aleksandrov
On 21/01/17 21:01, Linus Lüssing wrote: > From: Felix Fietkau > > Implements an optional, per bridge port flag and feature to deliver > multicast packets to any host on the according port via unicast > individually. This is done by copying the packet per host and > changing the

Re: [PATCH net] virtio-net: restore VIRTIO_HDR_F_DATA_VALID on receiving

2017-01-21 Thread Jason Wang
On 2017年01月21日 00:45, Michael S. Tsirkin wrote: On Fri, Jan 20, 2017 at 02:32:42PM +0800, Jason Wang wrote: Commit 501db511397f ("virtio: don't set VIRTIO_NET_HDR_F_DATA_VALID on xmit") in fact disables VIRTIO_HDR_F_DATA_VALID on receiving path too, fixing this by adding a hint

Re: [PATCH] [net-next][v2] net: qcom/emac: claim the irq only when the device is opened

2017-01-21 Thread Lino Sanfilippo
Hi Timur, On 21.01.2017 00:21, Timur Tabi wrote: During reset, functions emac_mac_down() and emac_mac_up() are called, so we don't want to free and claim the IRQ unnecessarily. Move those operations to open/close. Signed-off-by: Timur Tabi --- Notes: v2: keep

Re: [PATCH 1/2] qed: Add support for hardware offloaded FCoE.

2017-01-21 Thread kbuild test robot
Hi Arun, [auto build test ERROR on net-next/master] [also build test ERROR on v4.10-rc4 next-20170120] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

Металлические бытовки и домики для дач в Москве.

2017-01-21 Thread Стройбыт
Предлагаем дачные домики и строительные бытовки (6x2,4м) От 125 000 р. Фото и более детальную информацию можно найти на нашем сайте: http://модуль-домики.рф

Re: [PATCH] net/mlx4: use rb_entry()

2017-01-21 Thread Leon Romanovsky
On Fri, Jan 20, 2017 at 10:36:57PM +0800, Geliang Tang wrote: > To make the code clearer, use rb_entry() instead of container_of() to > deal with rbtree. > > Signed-off-by: Geliang Tang > --- > drivers/net/ethernet/mellanox/mlx4/resource_tracker.c | 8 > 1 file

[PULL] vhost/virtio: cleanups and fixes

2017-01-21 Thread Michael S. Tsirkin
The following changes since commit 49def1853334396f948dcb4cedb9347abb318df5: Linux 4.10-rc4 (2017-01-15 16:21:59 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git tags/for_linus for you to fetch changes up to

Re: [net PATCH v5 6/6] virtio_net: XDP support for adjust_head

2017-01-21 Thread Jason Wang
On 2017年01月21日 01:48, Michael S. Tsirkin wrote: On Fri, Jan 20, 2017 at 04:59:11PM +, David Laight wrote: From: Michael S. Tsirkin Sent: 19 January 2017 21:12 On 2017?01?18? 23:15, Michael S. Tsirkin wrote: On Tue, Jan 17, 2017 at 02:22:59PM -0800, John Fastabend wrote: Add support

Re: [PATCH net] virtio-net: restore VIRTIO_HDR_F_DATA_VALID on receiving

2017-01-21 Thread Michael S. Tsirkin
On Sun, Jan 22, 2017 at 10:41:22AM +0800, Jason Wang wrote: > > > On 2017年01月21日 00:45, Michael S. Tsirkin wrote: > > On Fri, Jan 20, 2017 at 02:32:42PM +0800, Jason Wang wrote: > > > Commit 501db511397f ("virtio: don't set VIRTIO_NET_HDR_F_DATA_VALID on > > > xmit") in fact disables

Re: [net PATCH v5 6/6] virtio_net: XDP support for adjust_head

2017-01-21 Thread John Fastabend
On 17-01-21 06:51 PM, Jason Wang wrote: > > > On 2017年01月21日 01:48, Michael S. Tsirkin wrote: >> On Fri, Jan 20, 2017 at 04:59:11PM +, David Laight wrote: >>> From: Michael S. Tsirkin Sent: 19 January 2017 21:12 > On 2017?01?18? 23:15, Michael S. Tsirkin wrote: >> On Tue, Jan