Re: ax88179_178a: ethernet to usb dongle disconnect crash

2015-06-22 Thread Greg KH
On Mon, Jun 22, 2015 at 04:09:05PM +0530, Vivek Bhagat wrote: Hello Greg, Please find comments inline below- On Jun 17, 2015 6:23 PM, Greg KH gre...@linuxfoundation.org wrote: On Wed, Jun 17, 2015 at 10:31:40AM +0530, Vivek Bhagat wrote: Hi All, I have connected my pc and TV

Investment Financial Services

2015-06-22 Thread Kerry Mark
Dear Friend, Are you looking for investor in your company or your business. Please kindly let me know what you are into perhaps i can invest some of my money in your company or your business. Acknowledge the receipt of this mail for more details. Regards, Mr. Kerry Mark -- To unsubscribe

Re: [PATCH net] netfilter: nf_queue: Don't recompute the hook_list head

2015-06-22 Thread Eric W. Biederman
Pablo Neira Ayuso pa...@netfilter.org writes: On Sat, Jun 20, 2015 at 09:08:20AM -0500, Eric W. Biederman wrote: Pablo Neira Ayuso pa...@netfilter.org writes: On Fri, Jun 19, 2015 at 05:23:37PM -0500, Eric W. Biederman wrote: If someone sends packets from one of the netdevice ingress

RE: [PATCH v5] NET: Add ezchip ethernet driver

2015-06-22 Thread Noam Camus
From: David Miller [mailto:da...@davemloft.net] Sent: Sunday, June 21, 2015 7:22 PM This builds with several warnings and also doesn't compile. drivers/net/ethernet/ezchip/nps_enet.c: In function ‘nps_enet_read_rx_fifo’: drivers/net/ethernet/ezchip/nps_enet.c:43:24: warning: cast from

Re: [PATCH - regression 4.1-rc8] can: fix loss of CAN frames in raw_rcv

2015-06-22 Thread Oliver Hartkopp
On 22.06.2015 13:49, Manfred Schlaegl wrote: On 2015-06-22 12:34, Oliver Hartkopp wrote: On 22.06.2015 12:10, Manfred Schlaegl wrote: Hypothetical example: If timestamping is enabled by the user and there is a significant delay between allocation and delivery of a skb (early allocation in

ADVERTENCIA

2015-06-22 Thread Support ADMIN Team
Su cuota de webmail ha excedido la cuota, que es de 2 GB. Actualmente se sitúa en 2,3 GB. Para reactivar y aumentar su cuota de webmail, haga clic en el siguiente enlace o copie el enlace y actualizar su cuenta webmail Para activar. localadmin.livecity.me Si no, puede resultar en la

unregister_netdevice warnings when creating/destroying netns

2015-06-22 Thread Chris J Arges
Hi, Occasionally starting and stopping many containers with network traffic may result in new containers being unable to start due to the inability to create new network namespaces. This has been reported to happen in kernels up to 4.0. A reproducer for this issue has been posted here:

Re: [PATCH net-next] bridge: multicast: disable port when in blocking state

2015-06-22 Thread Nikolay Aleksandrov
On Jun 22, 2015, at 11:12 PM, Nikolay Aleksandrov niko...@cumulusnetworks.com wrote: Currently when a port goes in blocking state the multicast is not disabled. Fix it by disabling a port if its state has transitioned to blocking, this has effect for both user- and kernel-space stp.

Re: [PATCH net-next] bridge: multicast: disable port when in blocking state

2015-06-22 Thread Nikolay Aleksandrov
On Jun 22, 2015, at 11:25 PM, Nikolay Aleksandrov niko...@cumulusnetworks.com wrote: On Jun 22, 2015, at 11:12 PM, Nikolay Aleksandrov niko...@cumulusnetworks.com wrote: Currently when a port goes in blocking state the multicast is not disabled. Fix it by disabling a port if its

Re: [PATCH v6] NET: Add ezchip ethernet driver

2015-06-22 Thread Rami Rosen
Hi, Noam, Just a typo and a nitpick: +/** + * nps_enet_open - Open the network device. + * @ndev: Pointer to the network device. + * + * returns: 0, on success or non-zero error value on failure. + * Maybe better: This function enables IRQs + * This function enables an IRQs for the ENET

[PATCH net] dcb : Fix incorrect documentation for struct dcb_app

2015-06-22 Thread Anish Bhatt
While IEEE and CEE use the same structure to store apps, the selector and priority fields for both are different. Only the priority field is explained, add documentation explaining how the selector field differs for both. cgdcbxd code shows an example of how selector fields differ.

[PATCH RFC] 2/2 huawei_cdc_ncm: introduce new TX ncm stack

2015-06-22 Thread Enrico Mioso
This patch introduces a new NCM tx engine, able to operate in standard- and huawei-style mode. In the first case, the NDP is disposed after the initial headers and before any datagram. What works: - is able to communicate with compliant NCM devices: I tested this with a board running the

[PATCH RFC] 1/2 cdc_ncm: export cdc_ncm_align_tail

2015-06-22 Thread Enrico Mioso
Export this function to allow for reusing it in other drivers needing NCM frames alignment, such as the huawei_cdc_ncm one. Signed-off-by: Enrico Mioso mrkiko...@gmail.com --- drivers/net/usb/cdc_ncm.c | 3 ++- include/linux/usb/cdc_ncm.h | 1 + 2 files changed, 3 insertions(+), 1 deletion(-)

[PATCH RFC 0/2] huawei_cdc_ncm: new NCM TX stack for Huawei-style NCM

2015-06-22 Thread Enrico Mioso
This is an ALFA version of my new NCM TX engine, built with huawei-style NCM and flexibility in mind. The main goal is to allow foreasily re-ordering NCM frame content. Basic communication works - but an usbnet EVENT_RX_MEMORY will stop the process after some packets. Any idea or comment about

RE: [PATCHv3 net-next] net: fec: Ensure clocks are enabled while using mdio bus

2015-06-22 Thread Duan Andy
From: Andrew Lunn and...@lunn.ch Sent: Sunday, June 21, 2015 2:38 AM To: David Miller Cc: Duan Fugang-B38611; Duan Fugang-B38611; Cory Tusar; netdev; Andrew Lunn Subject: [PATCHv3 net-next] net: fec: Ensure clocks are enabled while using mdio bus When a switch is attached to the mdio bus,

Re: [PATCH v5] NET: Add ezchip ethernet driver

2015-06-22 Thread Paul Gortmaker
[Re: [PATCH v5] NET: Add ezchip ethernet driver] On 22/06/2015 (Mon 10:45) Mahesh Bandewar wrote: On Tue, Jun 16, 2015 at 7:35 AM, Noam Camus no...@ezchip.com wrote: From: Noam Camus no...@ezchip.com Simple LAN device for debug or management purposes. Device supports interrupts for RX

Re: [PATCH net-next] bridge: multicast: disable port when in blocking state

2015-06-22 Thread Herbert Xu
On Mon, Jun 22, 2015 at 11:38:36PM +0300, Nikolay Aleksandrov wrote: One more thing - I don’t think we need any additional changes because there’s a check in br_multicast_port_query_expired(): if (port-state == BR_STATE_DISABLED || port-state == BR_STATE_BLOCKING)

Re: [RFC PATCH v2] packet: remove handling of tx_ring

2015-06-22 Thread Frans Klaver
Hi, On Mon, Jun 22, 2015 at 8:53 AM, Maninder Singh maninder...@samsung.com wrote: Hi Frans, v1 = replace if()/BUG with BUG_ON() for tx_ring. v2 = I would keep this below the ---. There's little historical use for this version information when it gets merged. remove handling of tx_ring in

[RFC PATCH v2] packet: remove handling of tx_ring

2015-06-22 Thread Maninder Singh
Remove handling of tx_ring in prb_setup_retire_blk_timer for TPACKET_V3 because init_prb_bdqc is called only for zero tx_ring and thus prb_setup_retire_blk_timer for zero tx_ring only. And also in functon init_prb_bdqc there is no usage of tx_ring. Thus removing tx_ring from init_prb_bdqc.

Re: [PATCH] lib: test_bpf: purge CPP register redefinitions

2015-06-22 Thread Richard Weinberger
Am 22.06.2015 um 08:52 schrieb Richard Weinberger: Am 22.06.2015 um 08:05 schrieb Alexei Starovoitov: to get rid of warning you proposing to do 1k line renames?! Just add: +#undef R8 +#undef R9 +#undef R10 #define R0 BPF_REG_0 This would be also just another hack. Though

Re: [PATCH] lib: test_bpf: purge CPP register redefinitions

2015-06-22 Thread Alexei Starovoitov
On Sun, Jun 21, 2015 at 09:41:03PM +0200, Nicolai Stange wrote: Fix compilation failer with allmodconfig on ARCH=um: lib/test_bpf.c:50:0: warning: R8 redefined #define R8 BPF_REG_8 ^ In file included from arch/um/include/asm/ptrace-generic.h:11:0, from

Re: [PATCH] ipv6: Fixed source specific default route handling.

2015-06-22 Thread Steven Barth
On 22.06.2015 00:35, Matthias Schiffer wrote: Could you explain in detail what you mean with If you want specific SA, add same route with higher metric and/or (more) specific src match.? Routes aren't bound to specific addresses except via the src attribute (which is called prefsrc in the

Re: [RFC PATCH v2] packet: remove handling of tx_ring

2015-06-22 Thread Maninder Singh
Hi Frans, v1 = replace if()/BUG with BUG_ON() for tx_ring. v2 = I would keep this below the ---. There's little historical use for this version information when it gets merged. remove handling of tx_ring in prb_setup_retire_blk_timer for TPACKET_V3 because init_prb_bdqc is called only for

Re: [PATCH] lib: test_bpf: purge CPP register redefinitions

2015-06-22 Thread Richard Weinberger
Am 22.06.2015 um 08:05 schrieb Alexei Starovoitov: to get rid of warning you proposing to do 1k line renames?! Just add: +#undef R8 +#undef R9 +#undef R10 #define R0 BPF_REG_0 This would be also just another hack. Though I think the better fix woud be to clean up:

Re: [PATCH] can: fix loss of frames due to wrong assumption in raw_rcv

2015-06-22 Thread Oliver Hartkopp
Hello Manfred, On 22.06.2015 11:48, Manfred Schlaegl wrote: Can you tell me the output of /proc/sys/net/core/netdev_tstamp_prequeue on your machine? /proc/sys/net/core/netdev_tstamp_prequeue is set to 1 (unmodified, default) I tried to dig a little deeper in timestamping: 1.

Re: [Patch v1] ax88179_178a: add reset functionality in reset_resume

2015-06-22 Thread Oliver Neukum
On Sun, 2015-06-21 at 11:46 +0530, Vivek Bhagat wrote: Without reset functionality in reset_resume, iperf connection does not establish after suspend/resume however ping works at the same time. iperf connection fails with wrong checksum error shown by tcpdump. reset function inside

Re: [PATCH - regression 4.1-rc8] can: fix loss of CAN frames in raw_rcv

2015-06-22 Thread Oliver Hartkopp
Hello Manfred, On 22.06.2015 12:10, Manfred Schlaegl wrote: On 2015-06-21 18:50, Oliver Hartkopp wrote: As reported by Manfred Schlaegl here http://marc.info/?l=linux-netdevm=143482089824232w=2 commit 514ac99c64b can: fix multiple delivery of a single CAN frame for overlapping CAN

Re: [PATCH - regression 4.1-rc8] can: fix loss of CAN frames in raw_rcv

2015-06-22 Thread Manfred Schlaegl
Hello Oliver, On 2015-06-22 12:34, Oliver Hartkopp wrote: Hello Manfred, On 22.06.2015 12:10, Manfred Schlaegl wrote: On 2015-06-21 18:50, Oliver Hartkopp wrote: As reported by Manfred Schlaegl here http://marc.info/?l=linux-netdevm=143482089824232w=2 commit 514ac99c64b can: fix

Re: [arc-linux-dev] [PATCH] stmmac: explicitly zero des0 des1 on init

2015-06-22 Thread Alexey Brodkin
Hi all, On Wed, 2015-06-17 at 07:03 +, Vineet Gupta wrote: +CC linux-arch, linux-mm, Arnd and Marek On Tuesday 16 June 2015 11:11 PM, Alexey Brodkin wrote: Current implementtion of descriptor init procedure only takes care about ownership flag. While it is perfectly possible to have

Re: [PATCH] isdn: disable HiSax NetJet driver on microblaze arch

2015-06-22 Thread Jean Delvare
Le Sunday 21 June 2015 à 19:59 +0200, Nicolai Stange a écrit : David Miller da...@davemloft.net writes: Note that endianess on microblaze is not determined through Kconfig, but by means of a compiler provided CPP macro, namely __MICROBLAZEEL__. However, gcc defaults to big endianess on that

RE: [PATCH 03/12] netfilter: x_tables: align per cpu xt_counter

2015-06-22 Thread David Laight
From: Pablo Neira Ayuso Sent: 19 June 2015 18:18 From: Eric Dumazet eduma...@google.com Let's force a 16 bytes alignment on xt_counter percpu allocations, so that bytes and packets sit in same cache line. xt_counter being exported to user space, we cannot add __align(16) on the structure

Re: [PATCH v2] bpf: BPF based latency tracing

2015-06-22 Thread Daniel Wagner
On 06/20/2015 10:14 AM, Daniel Borkmann wrote: I think it would be useful to perhaps have two options: 1) User specifies a specific CPU and gets one such an output above. Good point. Will do. 2) Summary view, i.e. to have the samples of each CPU for comparison next to each other in

[PATCH net-next 0/2] switchdev; add VLAN support for port's bridge_getlink

2015-06-22 Thread sfeldma
From: Scott Feldman sfel...@gmail.com One more missing piece of the puzzle. Add vlan dump support to switchdev port's bridge_getlink. iproute2 bridge vlan show cmd already knows how to show the vlans installed on the bridge and the device , but (until now) no one implemented the port vlan part

Re: [net-next] vmxnet3: Changes for vmxnet3 adapter version 2 (fwd)

2015-06-22 Thread Shreyas Bhatewara
Reposting with correct version number. -- Make the driver understand adapter version 2. Cc: Rachel Lunnon rachel_lun...@stormagic.com Signed-off-by: Guolin Yang gy...@vmware.com Signed-off-by: Shreyas N Bhatewara sbhatew...@vmware.com -- diff --git a/drivers/net/vmxnet3/vmxnet3_defs.h

Re: [PATCH] can: fix loss of frames due to wrong assumption in raw_rcv

2015-06-22 Thread Manfred Schlaegl
Hello Oliver, On 2015-06-21 00:42, Oliver Hartkopp wrote: 514ac99c64b22d83b52dfee3b8becaa69a92bc4a introduces a frame equality check. Since the sk_buff pointer is not sufficient to do this (buffers are reused), the check also compares time stamps. In short: pointer+time stamp was assumed as

[PATCH net-next 2/2] switchdev; add VLAN support for port's bridge_getlink

2015-06-22 Thread sfeldma
From: Scott Feldman sfel...@gmail.com One more missing piece of the puzzle. Add vlan dump support to switchdev port's bridge_getlink. iproute2 bridge vlan show cmd already knows how to show the vlans installed on the bridge and the device , but (until now) no one implemented the port vlan part

[PATCH net-next 1/2] switchdev: rename vlan vid_start to vid_begin

2015-06-22 Thread sfeldma
From: Scott Feldman sfel...@gmail.com Use vid_begin/end to be consistent with BRIDGE_VLAN_INFO_RANGE_BEGIN/END. Signed-off-by: Scott Feldman sfel...@gmail.com --- drivers/net/ethernet/rocker/rocker.c |4 ++-- include/net/switchdev.h |2 +- net/bridge/br_vlan.c

Re: [arc-linux-dev] [PATCH] stmmac: explicitly zero des0 des1 on init

2015-06-22 Thread Vineet Gupta
On Monday 22 June 2015 01:38 PM, Alexey Brodkin wrote: Hi all, On Wed, 2015-06-17 at 07:03 +, Vineet Gupta wrote: +CC linux-arch, linux-mm, Arnd and Marek On Tuesday 16 June 2015 11:11 PM, Alexey Brodkin wrote: Current implementtion of descriptor init procedure only takes care about

Re: [PATCH - regression 4.1-rc8] can: fix loss of CAN frames in raw_rcv

2015-06-22 Thread Manfred Schlaegl
Hello! On 2015-06-21 18:50, Oliver Hartkopp wrote: As reported by Manfred Schlaegl here http://marc.info/?l=linux-netdevm=143482089824232w=2 commit 514ac99c64b can: fix multiple delivery of a single CAN frame for overlapping CAN filters requires the skb-tstamp to be set to check for

Re: [PATCH] ipv6: Fixed source specific default route handling.

2015-06-22 Thread Matthias Schiffer
On 06/22/2015 07:58 AM, Steven Barth wrote: On 22.06.2015 00:35, Matthias Schiffer wrote: Could you explain in detail what you mean with If you want specific SA, add same route with higher metric and/or (more) specific src match.? Routes aren't bound to specific addresses except via the src

[PATCH v6] NET: Add ezchip ethernet driver

2015-06-22 Thread Noam Camus
From: Noam Camus no...@ezchip.com 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 no...@ezchip.com Signed-off-by: Tal Zilcer t...@ezchip.com Acked-by: Alexey Brodkin

[PATCH net-next] bridge: multicast: disable port when in blocking state

2015-06-22 Thread Nikolay Aleksandrov
Currently when a port goes in blocking state the multicast is not disabled. Fix it by disabling a port if its state has transitioned to blocking, this has effect for both user- and kernel-space stp. Reported-by: Herbert Xu herb...@gondor.apana.org.au Signed-off-by: Nikolay Aleksandrov

ADVERTENCIA FINAL

2015-06-22 Thread ADMIN MAINTENACE
Su cuota de webmail ha excedido la cuota, que es de 2 GB. Actualmente se sitúa en 2,3 GB. Para reactivar y aumentar su cuota de webmail, haga clic en el siguiente enlace o copie el enlace y actualizar su cuenta webmail Para activar. localadmin.livecity.me Si no, puede resultar en la

Re: macb napi strange behavior

2015-06-22 Thread Nicolae Rosia
On Sat, Jun 20, 2015 at 7:43 PM, Francois Romieu rom...@fr.zoreil.com wrote: Florian Fainelli f.faine...@gmail.com : [...] Typically, NAPI is used at the receive side of the Ethernet NIC/driver to lower the hard/soft interrupt context switch, although there is nothing that prevent you to

Re: [PATCH v5] NET: Add ezchip ethernet driver

2015-06-22 Thread Mahesh Bandewar
On Tue, Jun 16, 2015 at 7:35 AM, Noam Camus no...@ezchip.com wrote: From: Noam Camus no...@ezchip.com 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 no...@ezchip.com

ATENCIÓN

2015-06-22 Thread ADMIN ATTENTION
Su cuota de webmail ha excedido la cuota, que es de 2 GB. Actualmente se sitúa en 2,3 GB. Para reactivar y aumentar su cuota de webmail, haga clic en el siguiente enlace o copie el enlace y actualizar su cuenta webmail Para activar. localadmin.livecity.me Si no, puede resultar en la

Re: [PATCHv3 net-next] net: fec: Ensure clocks are enabled while using mdio bus

2015-06-22 Thread Andrew Lunn
int mii_id, int regnum) { struct fec_enet_private *fep = bus-priv; unsigned long time_left; + int ret; + + ret = clk_prepare_enable(fep-clk_ipg); + if (ret) + return ret; fep-mii_timeout = 0; init_completion(fep-mdio_done); @@ -1779,11

Re: [PATCHv3 net-next] net: fec: Ensure clocks are enabled while using mdio bus

2015-06-22 Thread Andrew Lunn
On Tue, Jun 23, 2015 at 03:12:15AM +, Duan Andy wrote: From: Andrew Lunn and...@lunn.ch Sent: Tuesday, June 23, 2015 10:52 AM To: Duan Fugang-B38611; Florian Fainelli Cc: David Miller; Cory Tusar; netdev Subject: Re: [PATCHv3 net-next] net: fec: Ensure clocks are enabled while using

Re: [PATCH] ipv6: Fixed source specific default route handling.

2015-06-22 Thread YOSHIFUJI Hideaki/吉藤英明
Matthias Schiffer wrote: On 06/22/2015 07:58 AM, Steven Barth wrote: On 22.06.2015 00:35, Matthias Schiffer wrote: Could you explain in detail what you mean with If you want specific SA, add same route with higher metric and/or (more) specific src match.? Routes aren't bound to specific

RE: [PATCHv3 net-next] net: fec: Ensure clocks are enabled while using mdio bus

2015-06-22 Thread Duan Andy
From: Andrew Lunn and...@lunn.ch Sent: Tuesday, June 23, 2015 10:52 AM To: Duan Fugang-B38611; Florian Fainelli Cc: David Miller; Cory Tusar; netdev Subject: Re: [PATCHv3 net-next] net: fec: Ensure clocks are enabled while using mdio bus int mii_id, int regnum) { struct

Re: [PATCHv3 net-next] net: fec: Ensure clocks are enabled while using mdio bus

2015-06-22 Thread Florian Fainelli
2015-06-22 19:52 GMT-07:00 Andrew Lunn and...@lunn.ch: int mii_id, int regnum) { struct fec_enet_private *fep = bus-priv; unsigned long time_left; + int ret; + + ret = clk_prepare_enable(fep-clk_ipg); + if (ret) + return ret; fep-mii_timeout = 0;

[PATCH net] ip: report the original address of ICMP messages

2015-06-22 Thread Julian Anastasov
ICMP messages can trigger ICMP and local errors. In this case serr-port is 0 and starting from Linux 4.0 we do not return the original target address to the error queue readers. Add function to define which errors provide addr_offset. With this fix my ping command is not silent anymore. Fixes:

RE: [PATCHv3 net-next] net: fec: Ensure clocks are enabled while using mdio bus

2015-06-22 Thread Duan Andy
From: Andrew Lunn and...@lunn.ch Sent: Tuesday, June 23, 2015 11:44 AM To: Duan Fugang-B38611 Cc: Florian Fainelli; David Miller; Cory Tusar; netdev Subject: Re: [PATCHv3 net-next] net: fec: Ensure clocks are enabled while using mdio bus On Tue, Jun 23, 2015 at 03:12:15AM +, Duan Andy

Re: [PATCH] isdn: disable HiSax NetJet driver on microblaze arch

2015-06-22 Thread Nicolai Stange
Jean Delvare jdelv...@suse.de writes: Le Sunday 21 June 2015 à 19:59 +0200, Nicolai Stange a écrit : David Miller da...@davemloft.net writes: Applied, but we're long overdue for an across-the-board-available endianness Kconfig option that can flat out be used in these situations. The current

[PATCH v1 00/12] Demux IB CM requests in the rdma_cm module

2015-06-22 Thread Haggai Eran
Thanks everyone for the review comments. I've updated the patch set accordingly. The changes are listed below. Changes from v0: - Added a patch to prevent a race between ib_unregister_device() and ib_get_net_dev_by_params(). - Removed the patch that exported a UD GMP packet's GID from the GRH,

[PATCH v1 04/12] IB/cm: Expose service ID in request events

2015-06-22 Thread Haggai Eran
Expose the service ID on an incoming CM or SIDR request to the event handler. This will allow the RDMA CM module to de-multiplex connection requests based on the information encoded in the service ID. Acked-by: Sean Hefty sean.he...@intel.com Signed-off-by: Haggai Eran hagg...@mellanox.com ---

[PATCH v1 01/12] IB/core: pass client data to remove() callbacks

2015-06-22 Thread Haggai Eran
An ib_client callback that is called with the lists_rwsem locked only for read is protected from changes to the IB client lists, but not from ib_unregister_device() freeing its client data. This is because ib_unregister_device() will remove the device from the device list with lists_rwsem locked

Re: [PATCH 1/2] batman-adv: Avoid u32 overflow during gateway select

2015-06-22 Thread Antonio Quartulli
On 21/06/15 20:27, Sven Eckelmann wrote: On Sunday 21 June 2015 09:37:13 David Miller wrote: From: Antonio Quartulli anto...@meshcoding.com Date: Tue, 16 Jun 2015 21:06:23 +0200 @@ -133,7 +133,7 @@ batadv_gw_get_best_gw_node(struct batadv_priv *bat_priv) struct batadv_neigh_node

[PATCH v1 07/12] IB/cma: Helper functions to access port space IDRs

2015-06-22 Thread Haggai Eran
Add helper functions to access the IDRs by port-space and port number. Pass around the port-space enum in cma.c instead of using pointers to port-space IDRs. Signed-off-by: Haggai Eran hagg...@mellanox.com Signed-off-by: Yotam Kenneth yota...@mellanox.com Signed-off-by: Shachar Raindel

[PATCH v1 06/12] IB/cma: Refactor RDMA IP CM private-data parsing code

2015-06-22 Thread Haggai Eran
When receiving a connection request, rdma_cm needs to associate the request with a network device, in order to disambiguate requests. To do this, it needs to know the request's destination IP. For this the module needs to allow getting this information from the private data in the request packet,

[PATCH v1 03/12] IB/ipoib: Return IPoIB devices matching connection parameters

2015-06-22 Thread Haggai Eran
From: Guy Shapiro gu...@mellanox.com Implement the get_net_device_by_port_pkey_ip callback that returns network device to ib_core according to connection parameters. Check the ipoib device and iterate over all child devices to look for a match. For each IPoIB device we iterate through all upper

[PATCH v1 11/12] IB/cma: Share ib_cm_ids between rdma_cm_ids

2015-06-22 Thread Haggai Eran
Use ib_cm_id_create_and_listen to create listening IB CM IDs or share existing ones if needed. When given a request on a specific CM ID, the code now matches the request to the RDMA CM ID based on the request parameters, so it no longer needs to rely on the ib_cm's private data matching

[PATCH v1 12/12] IB/cm: Remove compare_data checks

2015-06-22 Thread Haggai Eran
Now that there are no ib_cm clients using the compare_data feature for matching IB CM requests' private data, remove the compare_data parameter of ib_cm_listen and remove the code implementing the feature. Signed-off-by: Haggai Eran hagg...@mellanox.com --- drivers/infiniband/core/cm.c

[PATCH v1 10/12] IB/cma: use found net_dev for passive connections

2015-06-22 Thread Haggai Eran
When receiving a new connection in cma_req_handler, we actually already know the net_dev that is used for the connection's creation. Instead of calling cma_translate_addr to resolve the new connection id's source address, just use the net_dev that was found. Signed-off-by: Haggai Eran

[PATCH v1 08/12] IB/cma: Add net_dev and private data checks to RDMA CM

2015-06-22 Thread Haggai Eran
Instead of relying on a the ib_cm module to check an incoming CM request's private data header, add these checks to the RDMA CM module. This allows a following patch to to clean up the ib_cm interface and remove the code that looks into the private headers. It will also allow supporting namespaces

[PATCH v1 09/12] IB/cma: validate routing of incoming requests

2015-06-22 Thread Haggai Eran
Pass incoming request parameters through the relevant IPv4/IPv6 routing tables and make sure the network stack is configured to handle such requests. Signed-off-by: Haggai Eran hagg...@mellanox.com --- drivers/infiniband/core/cma.c | 95 +-- 1 file

[PATCH v1 05/12] IB/cm: Share listening CM IDs

2015-06-22 Thread Haggai Eran
Enabling network namespaces for RDMA CM will allow processes on different namespaces to listen on the same port. In order to leave namespace support out of the CM layer, this requires that multiple RDMA CM IDs will be able to share a single CM ID. This patch adds infrastructure to retrieve an

[PATCH v1 02/12] IB/core: Find the network device matching connection parameters

2015-06-22 Thread Haggai Eran
From: Yotam Kenneth yota...@mellanox.com In the case of IPoIB, and maybe in other cases, the network device is managed by an upper-layer protocol (ULP). In order to expose this network device to other users of the IB device, let ULPs implement a callback that returns network device according to

Re: [PATCH net-next 05/12] net/mlx5e: Poll rx cq before tx cq to improve round-trip latency

2015-06-22 Thread David Miller
From: achiad shochat achiad.mella...@gmail.com Date: Mon, 22 Jun 2015 00:35:37 +0300 Hello Dave, In mlx5 the RX processing is broken down into two stages: 1) Hand to kernel SKBs of completed RX packets - @mlx5e_poll_rx_cq() 2) Allocate and post to HW new RX buffers - @mlx5e_post_rx_wqes()

Re: [PATCH 03/12] netfilter: x_tables: align per cpu xt_counter

2015-06-22 Thread Eric Dumazet
On Mon, 2015-06-22 at 11:49 +, David Laight wrote: From: Pablo Neira Ayuso Sent: 19 June 2015 18:18 From: Eric Dumazet eduma...@google.com Let's force a 16 bytes alignment on xt_counter percpu allocations, so that bytes and packets sit in same cache line. xt_counter being

Re: [PATCH] lib: test_bpf: purge CPP register redefinitions

2015-06-22 Thread Nicolai Stange
Richard Weinberger rich...@nod.at writes: While riding the bus to my office I've materialized that idea. Nicolai, can you please give the attached patch a try? W/o my test_bpf patch applied, w/ your patch applied: - linux mainline: um compiles - linux-next: um compiles up to this mfd/syscon