[GIT PULL] please pull infiniband.git

2015-04-22 Thread Roland Dreier
Hi Linus,

Please pull from

git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git 
tags/rdma-for-linus


InfiniBand/RDMA updates for 4.1:
 - IPoIB fixes from Doug Ledford and Erez Shitrit
 - iSER updates from Sagi Grimberg
 - mlx4 GUID handling changes from Yishai Hadas
 - other misc fixes


Bart Van Assche (1):
  IB/srp: Use P_Key cache for P_Key lookups

Doug Ledford (11):
  IB/ipoib: factor out ah flushing
  IB/ipoib: change init sequence ordering
  IB/ipoib: Consolidate rtnl_lock tasks in workqueue
  IB/ipoib: Make the carrier_on_task race aware
  IB/ipoib: Use dedicated workqueues per interface
  IB/ipoib: No longer use flush as a parameter
  IB/ipoib: fix MCAST_FLAG_BUSY usage
  IB/ipoib: deserialize multicast joins
  IB/ipoib: drop mcast_mutex usage
  ib_srpt: convert printk's to pr_* functions
  Merge branches 'cve-fixup', 'ipoib', 'iser', 'misc-4.1', 'or-mlx4' and 
'srp' into for-4.1

Erez Shitrit (6):
  IB/ipoib: Use one linear skb in RX flow
  IB/ipoib: Update broadcast record values after each successful join 
request
  IB/ipoib: Handle QP in SQE state
  IB/ipoib: Save only IPOIB_MAX_PATH_REC_QUEUE skb's
  IB/ipoib: Remove IPOIB_MCAST_RUN bit
  IB/mlx4: Fix WQE LSO segment calculation

Honggang LI (1):
  mlx5: wrong page mask if CONFIG_ARCH_DMA_ADDR_T_64BIT enabled for 32Bit 
architectures

Sagi Grimberg (18):
  IB/iser: Fix unload during ep_poll wrong dereference
  IB/iser: Handle fastreg/local_inv completion errors
  IB/iser: Fix wrong calculation of protection buffer length
  IB/iser: Remove redundant cmd_data_len calculation
  IB/iser: Remove a redundant struct iser_data_buf
  IB/iser: Don't pass ib_device to fall_to_bounce_buff routine
  IB/iser: Move memory reg/dereg routines to iser_memory.c
  IB/iser: Remove redundant assignments in iser_reg_page_vec
  IB/iser: Get rid of struct iser_rdma_regd
  IB/iser: Merge build page-vec into register page-vec
  IB/iser: Move fastreg descriptor pool get/put to helper functions
  IB/iser: Move PI context alloc/free to routines
  IB/iser: Make fastreg pool cache friendly
  IB/iser: Modify struct iser_mem_reg members
  IB/iser: Pass struct iser_mem_reg to iser_fast_reg_mr and iser_reg_sig_mr
  IB/iser: Remove code duplication for a single DMA entry
  IB/iser: Bump version to 1.6
  IB/iser: Rewrite bounce buffer code path

Sebastian Ott (1):
  infiniband/mlx4: check for mapping error

Selvin Xavier (1):
  MAINTAINERS: Adding list of maintainers for ocrdma

Stephen Hemminger (1):
  rdma: replace deprecated ifconfig in doc

Sébastien Dugué (1):
  ib_uverbs: Fix pages leak when using XRC SRQs

Yann Droneaud (2):
  IB/core: disallow registering 0-sized memory region
  IB/core: don't disallow registering region starting at 0x0

Yishai Hadas (9):
  IB/mlx4: Alias GUID adding persistency support
  net/mlx4_core: Manage alias GUID per VF
  net/mlx4_core: Set initial admin GUIDs for VFs
  IB/mlx4: Manage admin alias GUID upon admin request
  IB/mlx4: Change init flow to request alias GUIDs for active VFs
  IB/mlx4: Request alias GUID on demand
  net/mlx4_core: Raise slave shutdown event upon FLR
  net/mlx4_core: Return the admin alias GUID upon host view request
  IB/mlx4: Change alias guids default to be host assigned

 Documentation/filesystems/nfs/nfs-rdma.txt |   9 +-
 MAINTAINERS|   9 +
 drivers/infiniband/core/umem.c |   7 +-
 drivers/infiniband/core/uverbs_main.c  |  22 +-
 drivers/infiniband/hw/mlx4/alias_GUID.c| 457 +-
 drivers/infiniband/hw/mlx4/mad.c   |   9 +
 drivers/infiniband/hw/mlx4/main.c  |  26 +-
 drivers/infiniband/hw/mlx4/mlx4_ib.h   |  14 +-
 drivers/infiniband/hw/mlx4/qp.c|   7 +-
 drivers/infiniband/hw/mlx4/sysfs.c |  44 +-
 drivers/infiniband/ulp/ipoib/ipoib.h   |  31 +-
 drivers/infiniband/ulp/ipoib/ipoib_cm.c|  18 +-
 drivers/infiniband/ulp/ipoib/ipoib_ib.c| 195 
 drivers/infiniband/ulp/ipoib/ipoib_main.c  |  73 ++-
 drivers/infiniband/ulp/ipoib/ipoib_multicast.c | 520 ++--
 drivers/infiniband/ulp/ipoib/ipoib_verbs.c |  44 +-
 drivers/infiniband/ulp/iser/iscsi_iser.h   |  66 +--
 drivers/infiniband/ulp/iser/iser_initiator.c   |  66 ++-
 drivers/infiniband/ulp/iser/iser_memory.c  | 523 -
 drivers/infiniband/ulp/iser/iser_verbs.c   | 220 +++--
 drivers/infiniband/ulp/srp/ib_srp.c|   9 +-
 drivers/infiniband/ulp/srpt/ib_srpt.c  | 188 
 

[GIT PULL] please pull infiniband.git

2015-04-22 Thread Roland Dreier
Hi Linus,

Please pull from

git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git 
tags/rdma-for-linus


InfiniBand/RDMA updates for 4.1:
 - IPoIB fixes from Doug Ledford and Erez Shitrit
 - iSER updates from Sagi Grimberg
 - mlx4 GUID handling changes from Yishai Hadas
 - other misc fixes


Bart Van Assche (1):
  IB/srp: Use P_Key cache for P_Key lookups

Doug Ledford (11):
  IB/ipoib: factor out ah flushing
  IB/ipoib: change init sequence ordering
  IB/ipoib: Consolidate rtnl_lock tasks in workqueue
  IB/ipoib: Make the carrier_on_task race aware
  IB/ipoib: Use dedicated workqueues per interface
  IB/ipoib: No longer use flush as a parameter
  IB/ipoib: fix MCAST_FLAG_BUSY usage
  IB/ipoib: deserialize multicast joins
  IB/ipoib: drop mcast_mutex usage
  ib_srpt: convert printk's to pr_* functions
  Merge branches 'cve-fixup', 'ipoib', 'iser', 'misc-4.1', 'or-mlx4' and 
'srp' into for-4.1

Erez Shitrit (6):
  IB/ipoib: Use one linear skb in RX flow
  IB/ipoib: Update broadcast record values after each successful join 
request
  IB/ipoib: Handle QP in SQE state
  IB/ipoib: Save only IPOIB_MAX_PATH_REC_QUEUE skb's
  IB/ipoib: Remove IPOIB_MCAST_RUN bit
  IB/mlx4: Fix WQE LSO segment calculation

Honggang LI (1):
  mlx5: wrong page mask if CONFIG_ARCH_DMA_ADDR_T_64BIT enabled for 32Bit 
architectures

Sagi Grimberg (18):
  IB/iser: Fix unload during ep_poll wrong dereference
  IB/iser: Handle fastreg/local_inv completion errors
  IB/iser: Fix wrong calculation of protection buffer length
  IB/iser: Remove redundant cmd_data_len calculation
  IB/iser: Remove a redundant struct iser_data_buf
  IB/iser: Don't pass ib_device to fall_to_bounce_buff routine
  IB/iser: Move memory reg/dereg routines to iser_memory.c
  IB/iser: Remove redundant assignments in iser_reg_page_vec
  IB/iser: Get rid of struct iser_rdma_regd
  IB/iser: Merge build page-vec into register page-vec
  IB/iser: Move fastreg descriptor pool get/put to helper functions
  IB/iser: Move PI context alloc/free to routines
  IB/iser: Make fastreg pool cache friendly
  IB/iser: Modify struct iser_mem_reg members
  IB/iser: Pass struct iser_mem_reg to iser_fast_reg_mr and iser_reg_sig_mr
  IB/iser: Remove code duplication for a single DMA entry
  IB/iser: Bump version to 1.6
  IB/iser: Rewrite bounce buffer code path

Sebastian Ott (1):
  infiniband/mlx4: check for mapping error

Selvin Xavier (1):
  MAINTAINERS: Adding list of maintainers for ocrdma

Stephen Hemminger (1):
  rdma: replace deprecated ifconfig in doc

Sébastien Dugué (1):
  ib_uverbs: Fix pages leak when using XRC SRQs

Yann Droneaud (2):
  IB/core: disallow registering 0-sized memory region
  IB/core: don't disallow registering region starting at 0x0

Yishai Hadas (9):
  IB/mlx4: Alias GUID adding persistency support
  net/mlx4_core: Manage alias GUID per VF
  net/mlx4_core: Set initial admin GUIDs for VFs
  IB/mlx4: Manage admin alias GUID upon admin request
  IB/mlx4: Change init flow to request alias GUIDs for active VFs
  IB/mlx4: Request alias GUID on demand
  net/mlx4_core: Raise slave shutdown event upon FLR
  net/mlx4_core: Return the admin alias GUID upon host view request
  IB/mlx4: Change alias guids default to be host assigned

 Documentation/filesystems/nfs/nfs-rdma.txt |   9 +-
 MAINTAINERS|   9 +
 drivers/infiniband/core/umem.c |   7 +-
 drivers/infiniband/core/uverbs_main.c  |  22 +-
 drivers/infiniband/hw/mlx4/alias_GUID.c| 457 +-
 drivers/infiniband/hw/mlx4/mad.c   |   9 +
 drivers/infiniband/hw/mlx4/main.c  |  26 +-
 drivers/infiniband/hw/mlx4/mlx4_ib.h   |  14 +-
 drivers/infiniband/hw/mlx4/qp.c|   7 +-
 drivers/infiniband/hw/mlx4/sysfs.c |  44 +-
 drivers/infiniband/ulp/ipoib/ipoib.h   |  31 +-
 drivers/infiniband/ulp/ipoib/ipoib_cm.c|  18 +-
 drivers/infiniband/ulp/ipoib/ipoib_ib.c| 195 
 drivers/infiniband/ulp/ipoib/ipoib_main.c  |  73 ++-
 drivers/infiniband/ulp/ipoib/ipoib_multicast.c | 520 ++--
 drivers/infiniband/ulp/ipoib/ipoib_verbs.c |  44 +-
 drivers/infiniband/ulp/iser/iscsi_iser.h   |  66 +--
 drivers/infiniband/ulp/iser/iser_initiator.c   |  66 ++-
 drivers/infiniband/ulp/iser/iser_memory.c  | 523 -
 drivers/infiniband/ulp/iser/iser_verbs.c   | 220 +++--
 drivers/infiniband/ulp/srp/ib_srp.c|   9 +-
 drivers/infiniband/ulp/srpt/ib_srpt.c  | 188 
 

[GIT PULL] please pull infiniband.git

2015-04-02 Thread Roland Dreier
Hi Linus,

Please pull from

git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git 
tags/rdma-for-linus


One 4.0 RDMA change:
 - Fix for exploitable integer overflow in uverbs interface.


Shachar Raindel (1):
  IB/uverbs: Prevent integer overflow in ib_umem_get address arithmetic

 drivers/infiniband/core/umem.c | 8 
 1 file changed, 8 insertions(+)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[GIT PULL] please pull infiniband.git

2015-04-02 Thread Roland Dreier
Hi Linus,

Please pull from

git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git 
tags/rdma-for-linus


One 4.0 RDMA change:
 - Fix for exploitable integer overflow in uverbs interface.


Shachar Raindel (1):
  IB/uverbs: Prevent integer overflow in ib_umem_get address arithmetic

 drivers/infiniband/core/umem.c | 8 
 1 file changed, 8 insertions(+)
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[GIT PULL] please pull infiniband.git

2015-02-20 Thread Roland Dreier
Hi Linus,

Please pull from

git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git 
tags/rdma-for-linus


InfiniBand/RDMA changes for 3.20 merge window:
 - Re-enable on-demand paging changes with stable ABI
 - Fairly large set of ocrdma HW driver fixes
 - Some qib HW driver fixes
 - Other miscellaneous changes


Andreea-Cristina Bernat (2):
  IB/qib: Replace rcu_assign_pointer() with RCU_INIT_POINTER() in qib_qp.c
  IB/qib: Replace rcu_assign_pointer() with RCU_INIT_POINTER() in qib_keys.c

Ariel Nahum (1):
  IB/iser: Release the iscsi endpoint if ep_disconnect wasn't called

Bart Van Assche (1):
  MAINTAINERS: Update SRP initiator entry

Dan Carpenter (2):
  IB/mlx5: Fix error code in get_port_caps()
  RDMA/ocrdma: Fix off by one in ocrdma_query_gid()

Devesh Sharma (4):
  RDMA/ocrdma: Report correct count of interrupt vectors while registering 
ocrdma device
  RDMA/ocrdma: Discontinue support of RDMA-READ-WITH-INVALIDATE
  RDMA/ocrdma: Honor return value of ocrdma_resolve_dmac
  RDMA/ocrdma: set vlan present bit for user AH

Eli Cohen (1):
  IB/core: Add support for extended query device caps

Haggai Eran (3):
  IB/core: Properly handle registration of on-demand paging MRs after dereg
  IB/core: Add on demand paging caps to ib_uverbs_ex_query_device
  IB/mlx5: Enable the ODP capability query verb

Hariprasad S (2):
  RDMA/cxgb4: Serialize CQ event upcalls with CQ destruction
  RDMA/cxgb4: Don't hang threads forever waiting on WR replies

Ilya Nelkenbaum (1):
  IB/core: When marshaling ucma path from user-space, clear unused fields

Jack Morgenstein (1):
  IB/mlx4: In mlx4_ib_demux_cm, print out GUID in host-endian order

Majd Dibbiny (3):
  IB/mlx4: Fix memory leak in __mlx4_ib_modify_qp
  IB/mlx4: Bug fixes in mlx4_ib_resize_cq
  IB/mlx5: Update the dev in reg_create

Mike Marciniszyn (3):
  IB/qib: Fix sizeof checkpatch warnings
  IB/qib: Fix checkpatch warnings
  IB/qib: Add blank line after declaration

Mitesh Ahuja (7):
  RDMA/ocrdma: Add support for IB stack compliant stats in sysfs.
  RDMA/ocrdma: Increase the GID table size.
  RDMA/ocrdma: Move PD resource management to driver.
  RDMA/ocrdma: Host crash on destroying device resources
  RDMA/ocrdma: Add support for interrupt moderation
  RDMA/ocrdma: remove reference of ocrdma_dev out of ocrdma_qp structure
  RDMA/ocrdma: Update the ocrdma module version string

Mitko Haralanov (1):
  IB/qib: Do not write EEPROM

Moshe Lazer (1):
  IB/core: Fix deadlock on uverbs modify_qp error flow

Or Gerlitz (1):
  IB/mlx4: Fix wrong usage of IPv4 protocol for multicast attach/detach

Padmanabh Ratnakar (1):
  RDMA/ocrdma: Report correct state in ibv_query_qp

Rasmus Villemoes (2):
  RDMA/ocrdma: Help gcc generate better code for ocrdma_srq_toggle_bit
  RDMA/ocrdma: Use unsigned for bit index

Rickard Strandqvist (1):
  IB/ipath: Remove unused function in ipath_wc_ppc64

Roi Dayan (1):
  IB/iser: Use correct dma direction when unmapping SGs

Roland Dreier (1):
  Merge branches 'core', 'cxgb4', 'iser', 'mlx4', 'mlx5', 'ocrdma', 'odp', 
'qib' and 'srp' into for-next

Sagi Grimberg (1):
  IB/iser: Fix memory regions possible leak

Selvin Xavier (2):
  RDMA/ocrdma: Debugfs enhancments for ocrdma driver
  RDMA/ocrdma: Allow expansion of the SQ CQEs via buddy CQ expansion of the 
QP

Vinit Agnihotri (1):
  IB/qib: Add support for the new QMH7360 card

 MAINTAINERS   |   2 +-
 drivers/infiniband/core/ucma.c|   3 +
 drivers/infiniband/core/umem_odp.c|   3 +-
 drivers/infiniband/core/uverbs.h  |   1 +
 drivers/infiniband/core/uverbs_cmd.c  | 158 +
 drivers/infiniband/core/uverbs_main.c |   1 +
 drivers/infiniband/hw/cxgb4/ev.c  |   9 +-
 drivers/infiniband/hw/cxgb4/iw_cxgb4.h|  29 ++-
 drivers/infiniband/hw/ipath/ipath_kernel.h|   3 -
 drivers/infiniband/hw/ipath/ipath_wc_ppc64.c  |  13 --
 drivers/infiniband/hw/ipath/ipath_wc_x86_64.c |  15 --
 drivers/infiniband/hw/mlx4/cm.c   |   2 +-
 drivers/infiniband/hw/mlx4/cq.c   |   7 +-
 drivers/infiniband/hw/mlx4/main.c |  10 +-
 drivers/infiniband/hw/mlx4/qp.c   |   6 +-
 drivers/infiniband/hw/mlx5/main.c |   4 +-
 drivers/infiniband/hw/mlx5/mr.c   |   1 +
 drivers/infiniband/hw/ocrdma/ocrdma.h |  38 +++-
 drivers/infiniband/hw/ocrdma/ocrdma_ah.c  |  38 +++-
 drivers/infiniband/hw/ocrdma/ocrdma_ah.h  |   6 +
 drivers/infiniband/hw/ocrdma/ocrdma_hw.c  | 312 ++
 drivers/infiniband/hw/ocrdma/ocrdma_hw.h  |   2 +
 drivers/infiniband/hw/ocrdma/ocrdma_main.c|  12 +-
 

[GIT PULL] please pull infiniband.git

2015-02-20 Thread Roland Dreier
Hi Linus,

Please pull from

git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git 
tags/rdma-for-linus


InfiniBand/RDMA changes for 3.20 merge window:
 - Re-enable on-demand paging changes with stable ABI
 - Fairly large set of ocrdma HW driver fixes
 - Some qib HW driver fixes
 - Other miscellaneous changes


Andreea-Cristina Bernat (2):
  IB/qib: Replace rcu_assign_pointer() with RCU_INIT_POINTER() in qib_qp.c
  IB/qib: Replace rcu_assign_pointer() with RCU_INIT_POINTER() in qib_keys.c

Ariel Nahum (1):
  IB/iser: Release the iscsi endpoint if ep_disconnect wasn't called

Bart Van Assche (1):
  MAINTAINERS: Update SRP initiator entry

Dan Carpenter (2):
  IB/mlx5: Fix error code in get_port_caps()
  RDMA/ocrdma: Fix off by one in ocrdma_query_gid()

Devesh Sharma (4):
  RDMA/ocrdma: Report correct count of interrupt vectors while registering 
ocrdma device
  RDMA/ocrdma: Discontinue support of RDMA-READ-WITH-INVALIDATE
  RDMA/ocrdma: Honor return value of ocrdma_resolve_dmac
  RDMA/ocrdma: set vlan present bit for user AH

Eli Cohen (1):
  IB/core: Add support for extended query device caps

Haggai Eran (3):
  IB/core: Properly handle registration of on-demand paging MRs after dereg
  IB/core: Add on demand paging caps to ib_uverbs_ex_query_device
  IB/mlx5: Enable the ODP capability query verb

Hariprasad S (2):
  RDMA/cxgb4: Serialize CQ event upcalls with CQ destruction
  RDMA/cxgb4: Don't hang threads forever waiting on WR replies

Ilya Nelkenbaum (1):
  IB/core: When marshaling ucma path from user-space, clear unused fields

Jack Morgenstein (1):
  IB/mlx4: In mlx4_ib_demux_cm, print out GUID in host-endian order

Majd Dibbiny (3):
  IB/mlx4: Fix memory leak in __mlx4_ib_modify_qp
  IB/mlx4: Bug fixes in mlx4_ib_resize_cq
  IB/mlx5: Update the dev in reg_create

Mike Marciniszyn (3):
  IB/qib: Fix sizeof checkpatch warnings
  IB/qib: Fix checkpatch warnings
  IB/qib: Add blank line after declaration

Mitesh Ahuja (7):
  RDMA/ocrdma: Add support for IB stack compliant stats in sysfs.
  RDMA/ocrdma: Increase the GID table size.
  RDMA/ocrdma: Move PD resource management to driver.
  RDMA/ocrdma: Host crash on destroying device resources
  RDMA/ocrdma: Add support for interrupt moderation
  RDMA/ocrdma: remove reference of ocrdma_dev out of ocrdma_qp structure
  RDMA/ocrdma: Update the ocrdma module version string

Mitko Haralanov (1):
  IB/qib: Do not write EEPROM

Moshe Lazer (1):
  IB/core: Fix deadlock on uverbs modify_qp error flow

Or Gerlitz (1):
  IB/mlx4: Fix wrong usage of IPv4 protocol for multicast attach/detach

Padmanabh Ratnakar (1):
  RDMA/ocrdma: Report correct state in ibv_query_qp

Rasmus Villemoes (2):
  RDMA/ocrdma: Help gcc generate better code for ocrdma_srq_toggle_bit
  RDMA/ocrdma: Use unsigned for bit index

Rickard Strandqvist (1):
  IB/ipath: Remove unused function in ipath_wc_ppc64

Roi Dayan (1):
  IB/iser: Use correct dma direction when unmapping SGs

Roland Dreier (1):
  Merge branches 'core', 'cxgb4', 'iser', 'mlx4', 'mlx5', 'ocrdma', 'odp', 
'qib' and 'srp' into for-next

Sagi Grimberg (1):
  IB/iser: Fix memory regions possible leak

Selvin Xavier (2):
  RDMA/ocrdma: Debugfs enhancments for ocrdma driver
  RDMA/ocrdma: Allow expansion of the SQ CQEs via buddy CQ expansion of the 
QP

Vinit Agnihotri (1):
  IB/qib: Add support for the new QMH7360 card

 MAINTAINERS   |   2 +-
 drivers/infiniband/core/ucma.c|   3 +
 drivers/infiniband/core/umem_odp.c|   3 +-
 drivers/infiniband/core/uverbs.h  |   1 +
 drivers/infiniband/core/uverbs_cmd.c  | 158 +
 drivers/infiniband/core/uverbs_main.c |   1 +
 drivers/infiniband/hw/cxgb4/ev.c  |   9 +-
 drivers/infiniband/hw/cxgb4/iw_cxgb4.h|  29 ++-
 drivers/infiniband/hw/ipath/ipath_kernel.h|   3 -
 drivers/infiniband/hw/ipath/ipath_wc_ppc64.c  |  13 --
 drivers/infiniband/hw/ipath/ipath_wc_x86_64.c |  15 --
 drivers/infiniband/hw/mlx4/cm.c   |   2 +-
 drivers/infiniband/hw/mlx4/cq.c   |   7 +-
 drivers/infiniband/hw/mlx4/main.c |  10 +-
 drivers/infiniband/hw/mlx4/qp.c   |   6 +-
 drivers/infiniband/hw/mlx5/main.c |   4 +-
 drivers/infiniband/hw/mlx5/mr.c   |   1 +
 drivers/infiniband/hw/ocrdma/ocrdma.h |  38 +++-
 drivers/infiniband/hw/ocrdma/ocrdma_ah.c  |  38 +++-
 drivers/infiniband/hw/ocrdma/ocrdma_ah.h  |   6 +
 drivers/infiniband/hw/ocrdma/ocrdma_hw.c  | 312 ++
 drivers/infiniband/hw/ocrdma/ocrdma_hw.h  |   2 +
 drivers/infiniband/hw/ocrdma/ocrdma_main.c|  12 +-
 

Re: [GIT PULL] please pull infiniband.git

2015-02-07 Thread Yann Droneaud
Hi,

Le vendredi 06 février 2015 à 13:19 -0800, Roland Dreier a écrit :
> 
> Please pull from
> 
> git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git 
> tags/rdma-for-linus
> 
> 
> One more last-second RDMA change for 3.19:
>  - Yann realized that the previous revert of new userspace ABI did not
>go far enough, and we're still exposing a change that we don't want.
>Revert even closer to 3.18 interface to make sure we get things right
>in the long run.
> 
> Sorry for sending this at the very end of the release cycle, but we
> didn't realize the scope of the required fix until just now.
> 

I hope this could go in v3.19 as, at this stage, we don't want to expose
any bits of this ABI in a released kernel.

Regards.

-- 
Yann Droneaud
OPTEYA


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [GIT PULL] please pull infiniband.git

2015-02-07 Thread Yann Droneaud
Hi,

Le vendredi 06 février 2015 à 13:19 -0800, Roland Dreier a écrit :
 
 Please pull from
 
 git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git 
 tags/rdma-for-linus
 
 
 One more last-second RDMA change for 3.19:
  - Yann realized that the previous revert of new userspace ABI did not
go far enough, and we're still exposing a change that we don't want.
Revert even closer to 3.18 interface to make sure we get things right
in the long run.
 
 Sorry for sending this at the very end of the release cycle, but we
 didn't realize the scope of the required fix until just now.
 

I hope this could go in v3.19 as, at this stage, we don't want to expose
any bits of this ABI in a released kernel.

Regards.

-- 
Yann Droneaud
OPTEYA


--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[GIT PULL] please pull infiniband.git

2015-02-06 Thread Roland Dreier
Hi Linus,

Please pull from

git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git 
tags/rdma-for-linus


One more last-second RDMA change for 3.19:
 - Yann realized that the previous revert of new userspace ABI did not
   go far enough, and we're still exposing a change that we don't want.
   Revert even closer to 3.18 interface to make sure we get things right
   in the long run.

Sorry for sending this at the very end of the release cycle, but we
didn't realize the scope of the required fix until just now.


Yann Droneaud (1):
  Revert "IB/core: Add support for extended query device caps"

 drivers/infiniband/core/uverbs.h |   1 -
 drivers/infiniband/core/uverbs_cmd.c | 137 +++
 drivers/infiniband/hw/mlx5/main.c|   2 -
 include/rdma/ib_verbs.h  |   5 +-
 include/uapi/rdma/ib_user_verbs.h|  27 ---
 5 files changed, 42 insertions(+), 130 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[GIT PULL] please pull infiniband.git

2015-02-06 Thread Roland Dreier
Hi Linus,

Please pull from

git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git 
tags/rdma-for-linus


One more last-second RDMA change for 3.19:
 - Yann realized that the previous revert of new userspace ABI did not
   go far enough, and we're still exposing a change that we don't want.
   Revert even closer to 3.18 interface to make sure we get things right
   in the long run.

Sorry for sending this at the very end of the release cycle, but we
didn't realize the scope of the required fix until just now.


Yann Droneaud (1):
  Revert IB/core: Add support for extended query device caps

 drivers/infiniband/core/uverbs.h |   1 -
 drivers/infiniband/core/uverbs_cmd.c | 137 +++
 drivers/infiniband/hw/mlx5/main.c|   2 -
 include/rdma/ib_verbs.h  |   5 +-
 include/uapi/rdma/ib_user_verbs.h|  27 ---
 5 files changed, 42 insertions(+), 130 deletions(-)
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[GIT PULL] please pull infiniband.git

2015-02-03 Thread Roland Dreier
Hi Linus,

Please pull from

git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git 
tags/rdma-for-linus


Last minute InfiniBand/RDMA changes for 3.19:
 - Revert IPoIB driver back to 3.18 state.  We had a number of fixes go
   into 3.19, but they introduced regressions.  We tried to get everything
   fixed up but ran out of time, so we'll try again for 3.20.
 - Similarly, turn off the new "extended query port" verb.  Late in the
   cycle we realized the ABI is not quite right, and rather than freeze
   something in a rush and make a mistake, we'll take a bit more time
   and get it right in 3.20.


Haggai Eran (1):
  IB/core: Temporarily disable ex_query_device uverb

Roland Dreier (9):
  Revert "IPoIB: No longer use flush as a parameter"
  Revert "IPoIB: Make ipoib_mcast_stop_thread flush the workqueue"
  Revert "IPoIB: Use dedicated workqueues per interface"
  Revert "IPoIB: change init sequence ordering"
  Revert "IPoIB: fix mcast_dev_flush/mcast_restart_task race"
  Revert "IPoIB: fix MCAST_FLAG_BUSY usage"
  Revert "IPoIB: Make the carrier_on_task race aware"
  Revert "IPoIB: Consolidate rtnl_lock tasks in workqueue"
  Merge branches 'ipoib' and 'odp' into for-next

 drivers/infiniband/core/uverbs_main.c  |   1 -
 drivers/infiniband/ulp/ipoib/ipoib.h   |  19 +-
 drivers/infiniband/ulp/ipoib/ipoib_cm.c|  18 +-
 drivers/infiniband/ulp/ipoib/ipoib_ib.c|  27 +--
 drivers/infiniband/ulp/ipoib/ipoib_main.c  |  49 ++---
 drivers/infiniband/ulp/ipoib/ipoib_multicast.c | 239 +
 drivers/infiniband/ulp/ipoib/ipoib_verbs.c |  22 +--
 7 files changed, 134 insertions(+), 241 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[GIT PULL] please pull infiniband.git

2015-02-03 Thread Roland Dreier
Hi Linus,

Please pull from

git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git 
tags/rdma-for-linus


Last minute InfiniBand/RDMA changes for 3.19:
 - Revert IPoIB driver back to 3.18 state.  We had a number of fixes go
   into 3.19, but they introduced regressions.  We tried to get everything
   fixed up but ran out of time, so we'll try again for 3.20.
 - Similarly, turn off the new extended query port verb.  Late in the
   cycle we realized the ABI is not quite right, and rather than freeze
   something in a rush and make a mistake, we'll take a bit more time
   and get it right in 3.20.


Haggai Eran (1):
  IB/core: Temporarily disable ex_query_device uverb

Roland Dreier (9):
  Revert IPoIB: No longer use flush as a parameter
  Revert IPoIB: Make ipoib_mcast_stop_thread flush the workqueue
  Revert IPoIB: Use dedicated workqueues per interface
  Revert IPoIB: change init sequence ordering
  Revert IPoIB: fix mcast_dev_flush/mcast_restart_task race
  Revert IPoIB: fix MCAST_FLAG_BUSY usage
  Revert IPoIB: Make the carrier_on_task race aware
  Revert IPoIB: Consolidate rtnl_lock tasks in workqueue
  Merge branches 'ipoib' and 'odp' into for-next

 drivers/infiniband/core/uverbs_main.c  |   1 -
 drivers/infiniband/ulp/ipoib/ipoib.h   |  19 +-
 drivers/infiniband/ulp/ipoib/ipoib_cm.c|  18 +-
 drivers/infiniband/ulp/ipoib/ipoib_ib.c|  27 +--
 drivers/infiniband/ulp/ipoib/ipoib_main.c  |  49 ++---
 drivers/infiniband/ulp/ipoib/ipoib_multicast.c | 239 +
 drivers/infiniband/ulp/ipoib/ipoib_verbs.c |  22 +--
 7 files changed, 134 insertions(+), 241 deletions(-)
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[GIT PULL] please pull infiniband.git

2014-12-18 Thread Roland Dreier
Hi Linus,

Please pull from

git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git 
tags/rdma-for-linus


Main batch of InfiniBand/RDMA changes for 3.19:

 - On-demand paging support in core midlayer and mlx5 driver.  This lets
   userspace create non-pinned memory regions and have the adapter HW
   trigger page faults.
 - iSER and IPoIB updates and fixes.
 - Low-level HW driver updates for cxgb4, mlx4 and ocrdma.
 - Other miscellaneous fixes.


Ariel Nahum (2):
  IB/iser: Collapse cleanup and disconnect handlers
  IB/iser: Fix possible NULL derefernce ib_conn->device in session_create

Devesh Sharma (1):
  RDMA/ocrdma: Always resolve destination mac from GRH for UD QPs

Doug Ledford (8):
  IPoIB: Consolidate rtnl_lock tasks in workqueue
  IPoIB: Make the carrier_on_task race aware
  IPoIB: fix MCAST_FLAG_BUSY usage
  IPoIB: fix mcast_dev_flush/mcast_restart_task race
  IPoIB: change init sequence ordering
  IPoIB: Use dedicated workqueues per interface
  IPoIB: Make ipoib_mcast_stop_thread flush the workqueue
  IPoIB: No longer use flush as a parameter

Eli Cohen (1):
  IB/core: Add support for extended query device caps

Haggai Eran (14):
  IB/mlx5: Remove per-MR pas and dma pointers
  IB/mlx5: Enhance UMR support to allow partial page table update
  IB/core: Replace ib_umem's offset field with a full address
  IB/core: Add umem function to read data from user-space
  IB/mlx5: Add function to read WQE from user-space
  IB/core: Implement support for MMU notifiers regarding on demand paging 
regions
  mlx5_core: Add support for page faults events and low level handling
  IB/mlx5: Implement the ODP capability query verb
  IB/mlx5: Changes in memory region creation to support on-demand paging
  IB/mlx5: Add mlx5_ib_update_mtt to update page tables after creation
  IB/mlx5: Page faults handling infrastructure
  IB/mlx5: Handle page faults
  IB/mlx5: Add support for RDMA read/write responder page faults
  IB/mlx5: Implement on demand paging by adding support for MMU notifiers

Hariprasad S (1):
  RDMA/cxgb4: Handle NET_XMIT return codes

Hariprasad Shenai (2):
  RDMA/cxgb4: Fix locking issue in process_mpa_request
  RDMA/cxgb4: Limit MRs to < 8GB for T4/T5 devices

Jack Morgenstein (2):
  IB/core: Fix mgid key handling in SA agent multicast data-base
  IB/mlx4: Fix an incorrectly shadowed variable in mlx4_ib_rereg_user_mr

Max Gurtovoy (1):
  IB/iser: Fix possible SQ overflow

Minh Tran (1):
  IB/iser: Re-adjust CQ and QP send ring sizes to HW limits

Mitesh Ahuja (1):
  RDMA/ocrdma: Fix ocrdma_query_qp() to report q_key value for UD QPs

Moni Shoua (1):
  IB/core: Do not resolve VLAN if already resolved

Or Gerlitz (1):
  IB/iser: Bump version to 1.5

Or Kehati (1):
  IB/addr: Improve address resolution callback scheduling

Pramod Kumar (2):
  RDMA/cxgb4: Increase epd buff size for debug interface
  RDMA/cxgb4: Configure 0B MRs to match HW implementation

Roland Dreier (2):
  mlx5_core: Re-add MLX5_DEV_CAP_FLAG_ON_DMND_PG flag
  Merge branches 'core', 'cxgb4', 'ipoib', 'iser', 'mlx4', 'ocrdma', 'odp' 
and 'srp' into for-next

Sagi Grimberg (13):
  IB/iser: Fix catastrophic error flow hang
  IB/iser: Decrement CQ's active QPs accounting when QP creation fails
  IB/iser: Fix sparse warnings
  IB/iser: Fix race between iser connection teardown and scsi TMFs
  IB/iser: Terminate connection before cleaning inflight tasks
  IB/iser: Centralize memory region invalidation to a function
  IB/iser: Remove redundant is_mr indicator
  IB/iser: Use more completion queues
  IB/iser: Micro-optimize iser logging
  IB/iser: Micro-optimize iser_handle_wc
  IB/iser: DIX update
  IB/core: Add flags for on demand paging support
  IB/srp: Allow newline separator for connection string

Shachar Raindel (1):
  IB/core: Add support for on demand paging regions

Steve Wise (1):
  RDMA/cxgb4: Wake up waiters after flushing the qp

Yuval Shaia (1):
  mlx4_core: Check for DPDP violation only when DPDP is not supported

 drivers/infiniband/Kconfig |  11 +
 drivers/infiniband/core/Makefile   |   1 +
 drivers/infiniband/core/addr.c |   4 +-
 drivers/infiniband/core/multicast.c|  11 +-
 drivers/infiniband/core/umem.c |  72 ++-
 drivers/infiniband/core/umem_odp.c | 668 +
 drivers/infiniband/core/umem_rbtree.c  |  94 +++
 drivers/infiniband/core/uverbs.h   |   1 +
 drivers/infiniband/core/uverbs_cmd.c   | 171 --
 drivers/infiniband/core/uverbs_main.c  |   5 +-
 drivers/infiniband/core/verbs.c|   3 +-
 

[GIT PULL] please pull infiniband.git

2014-12-18 Thread Roland Dreier
Hi Linus,

Please pull from

git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git 
tags/rdma-for-linus


Main batch of InfiniBand/RDMA changes for 3.19:

 - On-demand paging support in core midlayer and mlx5 driver.  This lets
   userspace create non-pinned memory regions and have the adapter HW
   trigger page faults.
 - iSER and IPoIB updates and fixes.
 - Low-level HW driver updates for cxgb4, mlx4 and ocrdma.
 - Other miscellaneous fixes.


Ariel Nahum (2):
  IB/iser: Collapse cleanup and disconnect handlers
  IB/iser: Fix possible NULL derefernce ib_conn-device in session_create

Devesh Sharma (1):
  RDMA/ocrdma: Always resolve destination mac from GRH for UD QPs

Doug Ledford (8):
  IPoIB: Consolidate rtnl_lock tasks in workqueue
  IPoIB: Make the carrier_on_task race aware
  IPoIB: fix MCAST_FLAG_BUSY usage
  IPoIB: fix mcast_dev_flush/mcast_restart_task race
  IPoIB: change init sequence ordering
  IPoIB: Use dedicated workqueues per interface
  IPoIB: Make ipoib_mcast_stop_thread flush the workqueue
  IPoIB: No longer use flush as a parameter

Eli Cohen (1):
  IB/core: Add support for extended query device caps

Haggai Eran (14):
  IB/mlx5: Remove per-MR pas and dma pointers
  IB/mlx5: Enhance UMR support to allow partial page table update
  IB/core: Replace ib_umem's offset field with a full address
  IB/core: Add umem function to read data from user-space
  IB/mlx5: Add function to read WQE from user-space
  IB/core: Implement support for MMU notifiers regarding on demand paging 
regions
  mlx5_core: Add support for page faults events and low level handling
  IB/mlx5: Implement the ODP capability query verb
  IB/mlx5: Changes in memory region creation to support on-demand paging
  IB/mlx5: Add mlx5_ib_update_mtt to update page tables after creation
  IB/mlx5: Page faults handling infrastructure
  IB/mlx5: Handle page faults
  IB/mlx5: Add support for RDMA read/write responder page faults
  IB/mlx5: Implement on demand paging by adding support for MMU notifiers

Hariprasad S (1):
  RDMA/cxgb4: Handle NET_XMIT return codes

Hariprasad Shenai (2):
  RDMA/cxgb4: Fix locking issue in process_mpa_request
  RDMA/cxgb4: Limit MRs to  8GB for T4/T5 devices

Jack Morgenstein (2):
  IB/core: Fix mgid key handling in SA agent multicast data-base
  IB/mlx4: Fix an incorrectly shadowed variable in mlx4_ib_rereg_user_mr

Max Gurtovoy (1):
  IB/iser: Fix possible SQ overflow

Minh Tran (1):
  IB/iser: Re-adjust CQ and QP send ring sizes to HW limits

Mitesh Ahuja (1):
  RDMA/ocrdma: Fix ocrdma_query_qp() to report q_key value for UD QPs

Moni Shoua (1):
  IB/core: Do not resolve VLAN if already resolved

Or Gerlitz (1):
  IB/iser: Bump version to 1.5

Or Kehati (1):
  IB/addr: Improve address resolution callback scheduling

Pramod Kumar (2):
  RDMA/cxgb4: Increase epd buff size for debug interface
  RDMA/cxgb4: Configure 0B MRs to match HW implementation

Roland Dreier (2):
  mlx5_core: Re-add MLX5_DEV_CAP_FLAG_ON_DMND_PG flag
  Merge branches 'core', 'cxgb4', 'ipoib', 'iser', 'mlx4', 'ocrdma', 'odp' 
and 'srp' into for-next

Sagi Grimberg (13):
  IB/iser: Fix catastrophic error flow hang
  IB/iser: Decrement CQ's active QPs accounting when QP creation fails
  IB/iser: Fix sparse warnings
  IB/iser: Fix race between iser connection teardown and scsi TMFs
  IB/iser: Terminate connection before cleaning inflight tasks
  IB/iser: Centralize memory region invalidation to a function
  IB/iser: Remove redundant is_mr indicator
  IB/iser: Use more completion queues
  IB/iser: Micro-optimize iser logging
  IB/iser: Micro-optimize iser_handle_wc
  IB/iser: DIX update
  IB/core: Add flags for on demand paging support
  IB/srp: Allow newline separator for connection string

Shachar Raindel (1):
  IB/core: Add support for on demand paging regions

Steve Wise (1):
  RDMA/cxgb4: Wake up waiters after flushing the qp

Yuval Shaia (1):
  mlx4_core: Check for DPDP violation only when DPDP is not supported

 drivers/infiniband/Kconfig |  11 +
 drivers/infiniband/core/Makefile   |   1 +
 drivers/infiniband/core/addr.c |   4 +-
 drivers/infiniband/core/multicast.c|  11 +-
 drivers/infiniband/core/umem.c |  72 ++-
 drivers/infiniband/core/umem_odp.c | 668 +
 drivers/infiniband/core/umem_rbtree.c  |  94 +++
 drivers/infiniband/core/uverbs.h   |   1 +
 drivers/infiniband/core/uverbs_cmd.c   | 171 --
 drivers/infiniband/core/uverbs_main.c  |   5 +-
 drivers/infiniband/core/verbs.c|   3 +-
 

Re: [GIT PULL] please pull infiniband.git

2014-11-02 Thread Sagi Grimberg

On 11/2/2014 10:06 PM, Dave Airlie wrote:

On 17 October 2014 08:52, Roland Dreier  wrote:

Hi Linus,

Please pull from

 git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git 
tags/rdma-for-linus


Main set of InfiniBand/RDMA updates for 3.18 merge window:

  - Large set of iSER initiator improvements
  - Hardware driver fixes for cxgb4, mlx5 and ocrdma
  - Small fixes to core midlayer



building on 32-bit x86.

  CC [M]  drivers/infiniband/ulp/iser/iser_verbs.o
/home/airlied/devel/kernel/linux-2.6/drivers/infiniband/ulp/iser/iser_verbs.c:
In function ‘iser_handle_comp_error’:
/home/airlied/devel/kernel/linux-2.6/drivers/infiniband/ulp/iser/iser_verbs.c:1171:33:
warning: cast to pointer from integer of different size
[-Wint-to-pointer-cast]
   if (is_iser_tx_desc(iser_conn, (void *)wc->wr_id)) {
  ^
/home/airlied/devel/kernel/linux-2.6/drivers/infiniband/ulp/iser/iser_verbs.c:1172:31:
warning: cast to pointer from integer of different size
[-Wint-to-pointer-cast]
struct iser_tx_desc *desc = (struct iser_tx_desc *)wc->wr_id;
^
/home/airlied/devel/kernel/linux-2.6/drivers/infiniband/ulp/iser/iser_verbs.c:
In function ‘iser_handle_wc’:
/home/airlied/devel/kernel/linux-2.6/drivers/infiniband/ulp/iser/iser_verbs.c:1198:14:
warning: cast to pointer from integer of different size
[-Wint-to-pointer-cast]
 rx_desc = (struct iser_rx_desc *)wc->wr_id;
   ^
/home/airlied/devel/kernel/linux-2.6/drivers/infiniband/ulp/iser/iser_verbs.c:1203:14:
warning: cast to pointer from integer of different size
[-Wint-to-pointer-cast]
 tx_desc = (struct iser_tx_desc *)wc->wr_id;
   ^

Not sure anyone would ever want to run this code on 32-bit boxes, but
I'm a bit worried if wr_id is a 64-bit value, and we encode it into a
32-bit pointer, you'd always lose the top 32-bits.



Hey Dave,

This was addressed in: 
http://marc.info/?l=linux-rdma=141448978030924=2 (part of iser fixes 
for 3.18-rc).


Thanks!

Sagi.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [GIT PULL] please pull infiniband.git

2014-11-02 Thread Eli Cohen
On Mon, Nov 03, 2014 at 06:06:45AM +1000, Dave Airlie wrote:
> On 17 October 2014 08:52, Roland Dreier  wrote:
> > Hi Linus,
> >
> > Please pull from
> >
> > git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git 
> > tags/rdma-for-linus
> >
> > 
> > Main set of InfiniBand/RDMA updates for 3.18 merge window:
> >
> >  - Large set of iSER initiator improvements
> >  - Hardware driver fixes for cxgb4, mlx5 and ocrdma
> >  - Small fixes to core midlayer
> >
> 
> building on 32-bit x86.
> 
>  CC [M]  drivers/infiniband/ulp/iser/iser_verbs.o
> /home/airlied/devel/kernel/linux-2.6/drivers/infiniband/ulp/iser/iser_verbs.c:
> In function ‘iser_handle_comp_error’:
> /home/airlied/devel/kernel/linux-2.6/drivers/infiniband/ulp/iser/iser_verbs.c:1171:33:
> warning: cast to pointer from integer of different size
> [-Wint-to-pointer-cast]
>   if (is_iser_tx_desc(iser_conn, (void *)wc->wr_id)) {
>  ^
> /home/airlied/devel/kernel/linux-2.6/drivers/infiniband/ulp/iser/iser_verbs.c:1172:31:
> warning: cast to pointer from integer of different size
> [-Wint-to-pointer-cast]
>struct iser_tx_desc *desc = (struct iser_tx_desc *)wc->wr_id;
>^
> /home/airlied/devel/kernel/linux-2.6/drivers/infiniband/ulp/iser/iser_verbs.c:
> In function ‘iser_handle_wc’:
> /home/airlied/devel/kernel/linux-2.6/drivers/infiniband/ulp/iser/iser_verbs.c:1198:14:
> warning: cast to pointer from integer of different size
> [-Wint-to-pointer-cast]
> rx_desc = (struct iser_rx_desc *)wc->wr_id;
>   ^
> /home/airlied/devel/kernel/linux-2.6/drivers/infiniband/ulp/iser/iser_verbs.c:1203:14:
> warning: cast to pointer from integer of different size
> [-Wint-to-pointer-cast]
> tx_desc = (struct iser_tx_desc *)wc->wr_id;
>   ^
> 
> Not sure anyone would ever want to run this code on 32-bit boxes, but
> I'm a bit worried if wr_id is a 64-bit value, and we encode it into a
> 32-bit pointer, you'd always lose the top 32-bits.
> 
On 32 bit systems your pointer is 32 bits as well so assigning to u64
and casting back to a pointer you don't loose anything. Maybe casting
from u64 to a pointer should go through casting to uintptr_t to avoid
warnings.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [GIT PULL] please pull infiniband.git

2014-11-02 Thread Dave Airlie
On 17 October 2014 08:52, Roland Dreier  wrote:
> Hi Linus,
>
> Please pull from
>
> git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git 
> tags/rdma-for-linus
>
> 
> Main set of InfiniBand/RDMA updates for 3.18 merge window:
>
>  - Large set of iSER initiator improvements
>  - Hardware driver fixes for cxgb4, mlx5 and ocrdma
>  - Small fixes to core midlayer
>

building on 32-bit x86.

 CC [M]  drivers/infiniband/ulp/iser/iser_verbs.o
/home/airlied/devel/kernel/linux-2.6/drivers/infiniband/ulp/iser/iser_verbs.c:
In function ‘iser_handle_comp_error’:
/home/airlied/devel/kernel/linux-2.6/drivers/infiniband/ulp/iser/iser_verbs.c:1171:33:
warning: cast to pointer from integer of different size
[-Wint-to-pointer-cast]
  if (is_iser_tx_desc(iser_conn, (void *)wc->wr_id)) {
 ^
/home/airlied/devel/kernel/linux-2.6/drivers/infiniband/ulp/iser/iser_verbs.c:1172:31:
warning: cast to pointer from integer of different size
[-Wint-to-pointer-cast]
   struct iser_tx_desc *desc = (struct iser_tx_desc *)wc->wr_id;
   ^
/home/airlied/devel/kernel/linux-2.6/drivers/infiniband/ulp/iser/iser_verbs.c:
In function ‘iser_handle_wc’:
/home/airlied/devel/kernel/linux-2.6/drivers/infiniband/ulp/iser/iser_verbs.c:1198:14:
warning: cast to pointer from integer of different size
[-Wint-to-pointer-cast]
rx_desc = (struct iser_rx_desc *)wc->wr_id;
  ^
/home/airlied/devel/kernel/linux-2.6/drivers/infiniband/ulp/iser/iser_verbs.c:1203:14:
warning: cast to pointer from integer of different size
[-Wint-to-pointer-cast]
tx_desc = (struct iser_tx_desc *)wc->wr_id;
  ^

Not sure anyone would ever want to run this code on 32-bit boxes, but
I'm a bit worried if wr_id is a 64-bit value, and we encode it into a
32-bit pointer, you'd always lose the top 32-bits.

Dave.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [GIT PULL] please pull infiniband.git

2014-11-02 Thread Dave Airlie
On 17 October 2014 08:52, Roland Dreier rol...@kernel.org wrote:
 Hi Linus,

 Please pull from

 git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git 
 tags/rdma-for-linus

 
 Main set of InfiniBand/RDMA updates for 3.18 merge window:

  - Large set of iSER initiator improvements
  - Hardware driver fixes for cxgb4, mlx5 and ocrdma
  - Small fixes to core midlayer


building on 32-bit x86.

 CC [M]  drivers/infiniband/ulp/iser/iser_verbs.o
/home/airlied/devel/kernel/linux-2.6/drivers/infiniband/ulp/iser/iser_verbs.c:
In function ‘iser_handle_comp_error’:
/home/airlied/devel/kernel/linux-2.6/drivers/infiniband/ulp/iser/iser_verbs.c:1171:33:
warning: cast to pointer from integer of different size
[-Wint-to-pointer-cast]
  if (is_iser_tx_desc(iser_conn, (void *)wc-wr_id)) {
 ^
/home/airlied/devel/kernel/linux-2.6/drivers/infiniband/ulp/iser/iser_verbs.c:1172:31:
warning: cast to pointer from integer of different size
[-Wint-to-pointer-cast]
   struct iser_tx_desc *desc = (struct iser_tx_desc *)wc-wr_id;
   ^
/home/airlied/devel/kernel/linux-2.6/drivers/infiniband/ulp/iser/iser_verbs.c:
In function ‘iser_handle_wc’:
/home/airlied/devel/kernel/linux-2.6/drivers/infiniband/ulp/iser/iser_verbs.c:1198:14:
warning: cast to pointer from integer of different size
[-Wint-to-pointer-cast]
rx_desc = (struct iser_rx_desc *)wc-wr_id;
  ^
/home/airlied/devel/kernel/linux-2.6/drivers/infiniband/ulp/iser/iser_verbs.c:1203:14:
warning: cast to pointer from integer of different size
[-Wint-to-pointer-cast]
tx_desc = (struct iser_tx_desc *)wc-wr_id;
  ^

Not sure anyone would ever want to run this code on 32-bit boxes, but
I'm a bit worried if wr_id is a 64-bit value, and we encode it into a
32-bit pointer, you'd always lose the top 32-bits.

Dave.
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [GIT PULL] please pull infiniband.git

2014-11-02 Thread Eli Cohen
On Mon, Nov 03, 2014 at 06:06:45AM +1000, Dave Airlie wrote:
 On 17 October 2014 08:52, Roland Dreier rol...@kernel.org wrote:
  Hi Linus,
 
  Please pull from
 
  git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git 
  tags/rdma-for-linus
 
  
  Main set of InfiniBand/RDMA updates for 3.18 merge window:
 
   - Large set of iSER initiator improvements
   - Hardware driver fixes for cxgb4, mlx5 and ocrdma
   - Small fixes to core midlayer
 
 
 building on 32-bit x86.
 
  CC [M]  drivers/infiniband/ulp/iser/iser_verbs.o
 /home/airlied/devel/kernel/linux-2.6/drivers/infiniband/ulp/iser/iser_verbs.c:
 In function ‘iser_handle_comp_error’:
 /home/airlied/devel/kernel/linux-2.6/drivers/infiniband/ulp/iser/iser_verbs.c:1171:33:
 warning: cast to pointer from integer of different size
 [-Wint-to-pointer-cast]
   if (is_iser_tx_desc(iser_conn, (void *)wc-wr_id)) {
  ^
 /home/airlied/devel/kernel/linux-2.6/drivers/infiniband/ulp/iser/iser_verbs.c:1172:31:
 warning: cast to pointer from integer of different size
 [-Wint-to-pointer-cast]
struct iser_tx_desc *desc = (struct iser_tx_desc *)wc-wr_id;
^
 /home/airlied/devel/kernel/linux-2.6/drivers/infiniband/ulp/iser/iser_verbs.c:
 In function ‘iser_handle_wc’:
 /home/airlied/devel/kernel/linux-2.6/drivers/infiniband/ulp/iser/iser_verbs.c:1198:14:
 warning: cast to pointer from integer of different size
 [-Wint-to-pointer-cast]
 rx_desc = (struct iser_rx_desc *)wc-wr_id;
   ^
 /home/airlied/devel/kernel/linux-2.6/drivers/infiniband/ulp/iser/iser_verbs.c:1203:14:
 warning: cast to pointer from integer of different size
 [-Wint-to-pointer-cast]
 tx_desc = (struct iser_tx_desc *)wc-wr_id;
   ^
 
 Not sure anyone would ever want to run this code on 32-bit boxes, but
 I'm a bit worried if wr_id is a 64-bit value, and we encode it into a
 32-bit pointer, you'd always lose the top 32-bits.
 
On 32 bit systems your pointer is 32 bits as well so assigning to u64
and casting back to a pointer you don't loose anything. Maybe casting
from u64 to a pointer should go through casting to uintptr_t to avoid
warnings.
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [GIT PULL] please pull infiniband.git

2014-11-02 Thread Sagi Grimberg

On 11/2/2014 10:06 PM, Dave Airlie wrote:

On 17 October 2014 08:52, Roland Dreier rol...@kernel.org wrote:

Hi Linus,

Please pull from

 git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git 
tags/rdma-for-linus


Main set of InfiniBand/RDMA updates for 3.18 merge window:

  - Large set of iSER initiator improvements
  - Hardware driver fixes for cxgb4, mlx5 and ocrdma
  - Small fixes to core midlayer



building on 32-bit x86.

  CC [M]  drivers/infiniband/ulp/iser/iser_verbs.o
/home/airlied/devel/kernel/linux-2.6/drivers/infiniband/ulp/iser/iser_verbs.c:
In function ‘iser_handle_comp_error’:
/home/airlied/devel/kernel/linux-2.6/drivers/infiniband/ulp/iser/iser_verbs.c:1171:33:
warning: cast to pointer from integer of different size
[-Wint-to-pointer-cast]
   if (is_iser_tx_desc(iser_conn, (void *)wc-wr_id)) {
  ^
/home/airlied/devel/kernel/linux-2.6/drivers/infiniband/ulp/iser/iser_verbs.c:1172:31:
warning: cast to pointer from integer of different size
[-Wint-to-pointer-cast]
struct iser_tx_desc *desc = (struct iser_tx_desc *)wc-wr_id;
^
/home/airlied/devel/kernel/linux-2.6/drivers/infiniband/ulp/iser/iser_verbs.c:
In function ‘iser_handle_wc’:
/home/airlied/devel/kernel/linux-2.6/drivers/infiniband/ulp/iser/iser_verbs.c:1198:14:
warning: cast to pointer from integer of different size
[-Wint-to-pointer-cast]
 rx_desc = (struct iser_rx_desc *)wc-wr_id;
   ^
/home/airlied/devel/kernel/linux-2.6/drivers/infiniband/ulp/iser/iser_verbs.c:1203:14:
warning: cast to pointer from integer of different size
[-Wint-to-pointer-cast]
 tx_desc = (struct iser_tx_desc *)wc-wr_id;
   ^

Not sure anyone would ever want to run this code on 32-bit boxes, but
I'm a bit worried if wr_id is a 64-bit value, and we encode it into a
32-bit pointer, you'd always lose the top 32-bits.



Hey Dave,

This was addressed in: 
http://marc.info/?l=linux-rdmam=141448978030924w=2 (part of iser fixes 
for 3.18-rc).


Thanks!

Sagi.
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [GIT PULL] please pull infiniband.git

2014-10-20 Thread Doug Ledford
On Thu, 2014-10-16 at 15:52 -0700, Roland Dreier wrote:
> Hi Linus,
> 
> Please pull from
> 
> git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git 
> tags/rdma-for-linus
> 
> 
> Main set of InfiniBand/RDMA updates for 3.18 merge window:
> 
>  - Large set of iSER initiator improvements
>  - Hardware driver fixes for cxgb4, mlx5 and ocrdma
>  - Small fixes to core midlayer

The IPoIB multicast locking fixes I submitted for 3.17 that you put off
until 3.18 are missing from this list.  The set can be found here in
case you've lost them:

https://patchwork.kernel.org/bundle/dledford/IPoIB%20Locking%20Fixes/

-- 
Doug Ledford 
  GPG KeyID: 0E572FDD




signature.asc
Description: This is a digitally signed message part


Re: [GIT PULL] please pull infiniband.git

2014-10-20 Thread Doug Ledford
On Thu, 2014-10-16 at 15:52 -0700, Roland Dreier wrote:
 Hi Linus,
 
 Please pull from
 
 git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git 
 tags/rdma-for-linus
 
 
 Main set of InfiniBand/RDMA updates for 3.18 merge window:
 
  - Large set of iSER initiator improvements
  - Hardware driver fixes for cxgb4, mlx5 and ocrdma
  - Small fixes to core midlayer

The IPoIB multicast locking fixes I submitted for 3.17 that you put off
until 3.18 are missing from this list.  The set can be found here in
case you've lost them:

https://patchwork.kernel.org/bundle/dledford/IPoIB%20Locking%20Fixes/

-- 
Doug Ledford dledf...@redhat.com
  GPG KeyID: 0E572FDD




signature.asc
Description: This is a digitally signed message part


[GIT PULL] please pull infiniband.git

2014-10-16 Thread Roland Dreier
Hi Linus,

Please pull from

git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git 
tags/rdma-for-linus


Main set of InfiniBand/RDMA updates for 3.18 merge window:

 - Large set of iSER initiator improvements
 - Hardware driver fixes for cxgb4, mlx5 and ocrdma
 - Small fixes to core midlayer


Ariel Nahum (3):
  IB/iser: Unbind at conn_stop stage
  IB/iser: Use iser_warn instead of BUG_ON in iser_conn_release
  IB/iser: Change iscsi_conn_stop log level to info

Devesh Sharma (3):
  RDMA/ocrdma: Add default GID at index 0
  RDMA/ocrdma: Convert kernel VA to PA for mmap in user
  IB/core: Clear AH attr variable to prevent garbage data

Eli Cohen (5):
  IB/mlx5: Clear umr resources after ib_unregister_device
  IB/mlx5: Improve debug prints in mlx5_ib_reg_user_mr
  IB/core: Avoid leakage from kernel to user space
  IB/mlx5: Fix possible array overflow
  IB/mlx5: Remove duplicate code from mlx5_set_path

Hariprasad S (3):
  RDMA/cxgb4: Take IPv6 into account for best_mtu and set_emss
  RDMA/cxgb4: Add missing neigh_release in find_route
  RDMA/cxgb4: Fix ntuple calculation for ipv6 and remove duplicate line

Jack Morgenstein (1):
  IB/core: Fix XRC race condition in ib_uverbs_open_qp

Jes Sorensen (3):
  RDMA/ocrdma: Don't memset() buffers we just allocated with kzalloc()
  RDMA/ocrdma: The kernel has a perfectly good BIT() macro - use it
  RDMA/ocrdma: Save the bit environment, spare unncessary parenthesis

Li RongQing (1):
  RDMA/ocrdma: Remove a unused-label warning

Or Gerlitz (1):
  IB/iser: Bump version, add maintainer

Roi Dayan (1):
  IB/iser: Remove unused variables and dead code

Roland Dreier (1):
  Merge branches 'core', 'cxgb4', 'iser', 'mlx5' and 'ocrdma' into for-next

Sagi Grimberg (23):
  IB/iser: Rename ib_conn -> iser_conn
  IB/iser: Re-introduce ib_conn
  IB/iser: Extend iser_free_ib_conn_res()
  IB/iser: Fix DEVICE REMOVAL handling in the absence of iscsi daemon
  IB/iser: Don't bound release_work completions timeouts
  IB/iser: Protect tasks cleanup in case IB device was already released
  IB/iser: Signal iSCSI layer that transport is broken in error completions
  IB/iser: Centralize iser completion contexts
  IB/iser: Use internal polling budget to avoid possible live-lock
  IB/iser: Use single CQ for RX and TX
  IB/iser: Use beacon to indicate all completions were consumed
  IB/iser: Optimize completion polling
  IB/iser: Suppress scsi command send completions
  IB/iser: Nit - add space after __func__ in iser logging
  IB/iser: Add/Fix kernel doc style descriptions in iscsi_iser.h
  IB/iser: Fix/add kernel-doc style description in iscsi_iser.c
  IB/mlx5: Use enumerations for PI copy mask
  IB/iser: Remove redundant assignment
  IB/iser: Set IP_CSUM as default guard type
  IB/mlx5: Use extended internal signature layout
  IB/iser: Centralize ib_sig_domain settings
  Target/iser: Centralize ib_sig_domain setting
  IB/mlx5, iser, isert: Add Signature API additions

Selvin Xavier (1):
  RDMA/ocrdma: Get vlan tag from ib_qp_attrs

Steve Wise (1):
  RDMA/cxgb4: Make c4iw_wr_log_size_order static

Yishai Hadas (1):
  IB/mlx5: Modify to work with arbitrary page size

 MAINTAINERS  |   1 +
 drivers/infiniband/core/uverbs_cmd.c |   2 +
 drivers/infiniband/core/uverbs_main.c|   5 +
 drivers/infiniband/hw/cxgb4/cm.c |  32 +-
 drivers/infiniband/hw/cxgb4/device.c |   2 +-
 drivers/infiniband/hw/mlx5/main.c|   8 +-
 drivers/infiniband/hw/mlx5/mem.c |  18 +-
 drivers/infiniband/hw/mlx5/mr.c  |   6 +-
 drivers/infiniband/hw/mlx5/qp.c  | 149 +++---
 drivers/infiniband/hw/ocrdma/ocrdma_hw.c |  25 +-
 drivers/infiniband/hw/ocrdma/ocrdma_main.c   |  12 +
 drivers/infiniband/hw/ocrdma/ocrdma_sli.h| 238 +-
 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c  |  10 +-
 drivers/infiniband/ulp/iser/iscsi_iser.c | 313 ++---
 drivers/infiniband/ulp/iser/iscsi_iser.h | 408 +++-
 drivers/infiniband/ulp/iser/iser_initiator.c | 198 
 drivers/infiniband/ulp/iser/iser_memory.c|  99 ++--
 drivers/infiniband/ulp/iser/iser_verbs.c | 667 +++
 drivers/infiniband/ulp/isert/ib_isert.c  |  65 ++-
 include/linux/mlx5/qp.h  |  35 +-
 include/rdma/ib_verbs.h  |  32 +-
 21 files changed, 1372 insertions(+), 953 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[GIT PULL] please pull infiniband.git

2014-10-16 Thread Roland Dreier
Hi Linus,

Please pull from

git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git 
tags/rdma-for-linus


Main set of InfiniBand/RDMA updates for 3.18 merge window:

 - Large set of iSER initiator improvements
 - Hardware driver fixes for cxgb4, mlx5 and ocrdma
 - Small fixes to core midlayer


Ariel Nahum (3):
  IB/iser: Unbind at conn_stop stage
  IB/iser: Use iser_warn instead of BUG_ON in iser_conn_release
  IB/iser: Change iscsi_conn_stop log level to info

Devesh Sharma (3):
  RDMA/ocrdma: Add default GID at index 0
  RDMA/ocrdma: Convert kernel VA to PA for mmap in user
  IB/core: Clear AH attr variable to prevent garbage data

Eli Cohen (5):
  IB/mlx5: Clear umr resources after ib_unregister_device
  IB/mlx5: Improve debug prints in mlx5_ib_reg_user_mr
  IB/core: Avoid leakage from kernel to user space
  IB/mlx5: Fix possible array overflow
  IB/mlx5: Remove duplicate code from mlx5_set_path

Hariprasad S (3):
  RDMA/cxgb4: Take IPv6 into account for best_mtu and set_emss
  RDMA/cxgb4: Add missing neigh_release in find_route
  RDMA/cxgb4: Fix ntuple calculation for ipv6 and remove duplicate line

Jack Morgenstein (1):
  IB/core: Fix XRC race condition in ib_uverbs_open_qp

Jes Sorensen (3):
  RDMA/ocrdma: Don't memset() buffers we just allocated with kzalloc()
  RDMA/ocrdma: The kernel has a perfectly good BIT() macro - use it
  RDMA/ocrdma: Save the bit environment, spare unncessary parenthesis

Li RongQing (1):
  RDMA/ocrdma: Remove a unused-label warning

Or Gerlitz (1):
  IB/iser: Bump version, add maintainer

Roi Dayan (1):
  IB/iser: Remove unused variables and dead code

Roland Dreier (1):
  Merge branches 'core', 'cxgb4', 'iser', 'mlx5' and 'ocrdma' into for-next

Sagi Grimberg (23):
  IB/iser: Rename ib_conn - iser_conn
  IB/iser: Re-introduce ib_conn
  IB/iser: Extend iser_free_ib_conn_res()
  IB/iser: Fix DEVICE REMOVAL handling in the absence of iscsi daemon
  IB/iser: Don't bound release_work completions timeouts
  IB/iser: Protect tasks cleanup in case IB device was already released
  IB/iser: Signal iSCSI layer that transport is broken in error completions
  IB/iser: Centralize iser completion contexts
  IB/iser: Use internal polling budget to avoid possible live-lock
  IB/iser: Use single CQ for RX and TX
  IB/iser: Use beacon to indicate all completions were consumed
  IB/iser: Optimize completion polling
  IB/iser: Suppress scsi command send completions
  IB/iser: Nit - add space after __func__ in iser logging
  IB/iser: Add/Fix kernel doc style descriptions in iscsi_iser.h
  IB/iser: Fix/add kernel-doc style description in iscsi_iser.c
  IB/mlx5: Use enumerations for PI copy mask
  IB/iser: Remove redundant assignment
  IB/iser: Set IP_CSUM as default guard type
  IB/mlx5: Use extended internal signature layout
  IB/iser: Centralize ib_sig_domain settings
  Target/iser: Centralize ib_sig_domain setting
  IB/mlx5, iser, isert: Add Signature API additions

Selvin Xavier (1):
  RDMA/ocrdma: Get vlan tag from ib_qp_attrs

Steve Wise (1):
  RDMA/cxgb4: Make c4iw_wr_log_size_order static

Yishai Hadas (1):
  IB/mlx5: Modify to work with arbitrary page size

 MAINTAINERS  |   1 +
 drivers/infiniband/core/uverbs_cmd.c |   2 +
 drivers/infiniband/core/uverbs_main.c|   5 +
 drivers/infiniband/hw/cxgb4/cm.c |  32 +-
 drivers/infiniband/hw/cxgb4/device.c |   2 +-
 drivers/infiniband/hw/mlx5/main.c|   8 +-
 drivers/infiniband/hw/mlx5/mem.c |  18 +-
 drivers/infiniband/hw/mlx5/mr.c  |   6 +-
 drivers/infiniband/hw/mlx5/qp.c  | 149 +++---
 drivers/infiniband/hw/ocrdma/ocrdma_hw.c |  25 +-
 drivers/infiniband/hw/ocrdma/ocrdma_main.c   |  12 +
 drivers/infiniband/hw/ocrdma/ocrdma_sli.h| 238 +-
 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c  |  10 +-
 drivers/infiniband/ulp/iser/iscsi_iser.c | 313 ++---
 drivers/infiniband/ulp/iser/iscsi_iser.h | 408 +++-
 drivers/infiniband/ulp/iser/iser_initiator.c | 198 
 drivers/infiniband/ulp/iser/iser_memory.c|  99 ++--
 drivers/infiniband/ulp/iser/iser_verbs.c | 667 +++
 drivers/infiniband/ulp/isert/ib_isert.c  |  65 ++-
 include/linux/mlx5/qp.h  |  35 +-
 include/rdma/ib_verbs.h  |  32 +-
 21 files changed, 1372 insertions(+), 953 deletions(-)
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [GIT PULL] please pull infiniband.git

2014-09-27 Thread Or Gerlitz
On Wed, Sep 24, 2014 at 12:58 AM, Roland Dreier  wrote:
> Hi Linus,
[..]
> This is later and bigger than I would like, and the blame is all on
> me: I got very busy with other stuff for a few weeks during the 3.17
> cycle, and didn't prepare this tree as soon as I should have.  However
> I don't think there's anything risky here, and no one really cares if
> we break InfiniBand in 3.17 anyway...

Roland, sorry, but I don't understand the joke @ the last sentence,
can you elaborate?

Or.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [GIT PULL] please pull infiniband.git

2014-09-27 Thread Or Gerlitz
On Wed, Sep 24, 2014 at 12:58 AM, Roland Dreier rol...@kernel.org wrote:
 Hi Linus,
[..]
 This is later and bigger than I would like, and the blame is all on
 me: I got very busy with other stuff for a few weeks during the 3.17
 cycle, and didn't prepare this tree as soon as I should have.  However
 I don't think there's anything risky here, and no one really cares if
 we break InfiniBand in 3.17 anyway...

Roland, sorry, but I don't understand the joke @ the last sentence,
can you elaborate?

Or.
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[GIT PULL] please pull infiniband.git

2014-09-23 Thread Roland Dreier
Hi Linus,

Please pull from

git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git 
tags/rdma-for-linus

This is later and bigger than I would like, and the blame is all on
me: I got very busy with other stuff for a few weeks during the 3.17
cycle, and didn't prepare this tree as soon as I should have.  However
I don't think there's anything risky here, and no one really cares if
we break InfiniBand in 3.17 anyway...


Last late set of InfiniBand/RDMA fixes for 3.17:

 - Fixes for the new memory region re-registration support
 - iSER initiator error path fixes
 - Grab bag of small fixes for the qib and ocrdma hardware drivers
 - Larger set of fixes for mlx4, especially in RoCE mode


Alex Estrin (1):
  IPoIB: Remove unnecessary port query

Devesh Sharma (2):
  RDMA/ocrdma: Report correct value of max_fast_reg_page_list_len
  RDMA/ocrdma: Do not skip setting deferred_arm

Jack Morgenstein (6):
  IB/mlx4: Fix lockdep splat for the iboe lock
  mlx4: Fix mlx4 reg/unreg mac to work properly with 0-mac addresses
  IB/mlx4: Avoid accessing netdevice when building RoCE qp1 header
  IB/mlx4: Don't update QP1 in native mode
  IB/mlx4: Do not allow APM under RoCE
  IB/mlx4: Fix VF mac handling in RoCE

Markus Stockhausen (1):
  IB/mlx4: Disable TSO for Connect-X rev. A0 HCAs

Matan Barak (2):
  mlx4: Correct error flows in rereg_mr
  IB/core: When marshaling uverbs path, clear unused fields

Mike Marciniszyn (3):
  IB/ipath: Change get_user_pages() usage to always NULL vmas
  IB/qib: Change get_user_pages() usage to always NULL vmas
  IB/qib: Correct reference counting in debugfs qp_stats

Moni Shoua (5):
  IB/mlx4: Avoid null pointer dereference in mlx4_ib_scan_netdevs()
  IB/mlx4: Don't duplicate the default RoCE GID
  IB/mlx4: Reorder steps in RoCE GID table initialization
  IB/mlx4: Get upper dev addresses as RoCE GIDs when port comes up
  IB/mlx4: Avoid executing gid task when device is being removed

Or Gerlitz (1):
  IB/iser: Bump version to 1.4.1

Roi Dayan (1):
  IB/iser: Fix RX/TX CQ resource leak on error flow

Roland Dreier (1):
  Merge branches 'core', 'ipoib', 'iser', 'mlx4', 'ocrdma' and 'qib' into 
for-next

Sagi Grimberg (1):
  IB/iser: Allow bind only when connection state is UP

Shawn Bohrer (1):
  IB: ib_umem_release() should decrement mm->pinned_vm from ib_umem_get

devesh.sha...@emulex.com (2):
  RDMA/ocrdma: Resolve L2 address when creating user AH
  RDMA/ocrdma: Use right macro in query AH

 drivers/infiniband/core/umem.c |  19 ++-
 drivers/infiniband/core/uverbs_marshall.c  |   4 +
 drivers/infiniband/hw/ipath/ipath_user_pages.c |   6 +-
 drivers/infiniband/hw/mlx4/main.c  | 169 +
 drivers/infiniband/hw/mlx4/mlx4_ib.h   |   1 +
 drivers/infiniband/hw/mlx4/mr.c|   7 +-
 drivers/infiniband/hw/mlx4/qp.c|  60 +
 drivers/infiniband/hw/ocrdma/ocrdma_ah.c   |  43 +--
 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c|   6 +-
 drivers/infiniband/hw/qib/qib_debugfs.c|   3 +-
 drivers/infiniband/hw/qib/qib_qp.c |   8 --
 drivers/infiniband/hw/qib/qib_user_pages.c |   6 +-
 drivers/infiniband/ulp/ipoib/ipoib_multicast.c |  10 +-
 drivers/infiniband/ulp/iser/iscsi_iser.c   |  19 ++-
 drivers/infiniband/ulp/iser/iscsi_iser.h   |   2 +-
 drivers/infiniband/ulp/iser/iser_verbs.c   |  24 ++--
 drivers/net/ethernet/mellanox/mlx4/mr.c|  33 +++--
 drivers/net/ethernet/mellanox/mlx4/port.c  |  11 +-
 include/rdma/ib_umem.h |   1 +
 19 files changed, 277 insertions(+), 155 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[GIT PULL] please pull infiniband.git

2014-09-23 Thread Roland Dreier
Hi Linus,

Please pull from

git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git 
tags/rdma-for-linus

This is later and bigger than I would like, and the blame is all on
me: I got very busy with other stuff for a few weeks during the 3.17
cycle, and didn't prepare this tree as soon as I should have.  However
I don't think there's anything risky here, and no one really cares if
we break InfiniBand in 3.17 anyway...


Last late set of InfiniBand/RDMA fixes for 3.17:

 - Fixes for the new memory region re-registration support
 - iSER initiator error path fixes
 - Grab bag of small fixes for the qib and ocrdma hardware drivers
 - Larger set of fixes for mlx4, especially in RoCE mode


Alex Estrin (1):
  IPoIB: Remove unnecessary port query

Devesh Sharma (2):
  RDMA/ocrdma: Report correct value of max_fast_reg_page_list_len
  RDMA/ocrdma: Do not skip setting deferred_arm

Jack Morgenstein (6):
  IB/mlx4: Fix lockdep splat for the iboe lock
  mlx4: Fix mlx4 reg/unreg mac to work properly with 0-mac addresses
  IB/mlx4: Avoid accessing netdevice when building RoCE qp1 header
  IB/mlx4: Don't update QP1 in native mode
  IB/mlx4: Do not allow APM under RoCE
  IB/mlx4: Fix VF mac handling in RoCE

Markus Stockhausen (1):
  IB/mlx4: Disable TSO for Connect-X rev. A0 HCAs

Matan Barak (2):
  mlx4: Correct error flows in rereg_mr
  IB/core: When marshaling uverbs path, clear unused fields

Mike Marciniszyn (3):
  IB/ipath: Change get_user_pages() usage to always NULL vmas
  IB/qib: Change get_user_pages() usage to always NULL vmas
  IB/qib: Correct reference counting in debugfs qp_stats

Moni Shoua (5):
  IB/mlx4: Avoid null pointer dereference in mlx4_ib_scan_netdevs()
  IB/mlx4: Don't duplicate the default RoCE GID
  IB/mlx4: Reorder steps in RoCE GID table initialization
  IB/mlx4: Get upper dev addresses as RoCE GIDs when port comes up
  IB/mlx4: Avoid executing gid task when device is being removed

Or Gerlitz (1):
  IB/iser: Bump version to 1.4.1

Roi Dayan (1):
  IB/iser: Fix RX/TX CQ resource leak on error flow

Roland Dreier (1):
  Merge branches 'core', 'ipoib', 'iser', 'mlx4', 'ocrdma' and 'qib' into 
for-next

Sagi Grimberg (1):
  IB/iser: Allow bind only when connection state is UP

Shawn Bohrer (1):
  IB: ib_umem_release() should decrement mm-pinned_vm from ib_umem_get

devesh.sha...@emulex.com (2):
  RDMA/ocrdma: Resolve L2 address when creating user AH
  RDMA/ocrdma: Use right macro in query AH

 drivers/infiniband/core/umem.c |  19 ++-
 drivers/infiniband/core/uverbs_marshall.c  |   4 +
 drivers/infiniband/hw/ipath/ipath_user_pages.c |   6 +-
 drivers/infiniband/hw/mlx4/main.c  | 169 +
 drivers/infiniband/hw/mlx4/mlx4_ib.h   |   1 +
 drivers/infiniband/hw/mlx4/mr.c|   7 +-
 drivers/infiniband/hw/mlx4/qp.c|  60 +
 drivers/infiniband/hw/ocrdma/ocrdma_ah.c   |  43 +--
 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c|   6 +-
 drivers/infiniband/hw/qib/qib_debugfs.c|   3 +-
 drivers/infiniband/hw/qib/qib_qp.c |   8 --
 drivers/infiniband/hw/qib/qib_user_pages.c |   6 +-
 drivers/infiniband/ulp/ipoib/ipoib_multicast.c |  10 +-
 drivers/infiniband/ulp/iser/iscsi_iser.c   |  19 ++-
 drivers/infiniband/ulp/iser/iscsi_iser.h   |   2 +-
 drivers/infiniband/ulp/iser/iser_verbs.c   |  24 ++--
 drivers/net/ethernet/mellanox/mlx4/mr.c|  33 +++--
 drivers/net/ethernet/mellanox/mlx4/port.c  |  11 +-
 include/rdma/ib_umem.h |   1 +
 19 files changed, 277 insertions(+), 155 deletions(-)
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[GIT PULL] please pull infiniband.git

2014-08-14 Thread Roland Dreier
Hi Linus,

Please pull from

git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git 
tags/rdma-for-linus


Main set of InfiniBand/RDMA updates for 3.17 merge window:

 - MR reregistration support
 - MAD support for RMPP in userspace
 - iSER and SRP initiator updates
 - ocrdma hardware driver updates
 - other fixes...


Alex Estrin (1):
  IB/ipoib: Avoid multicast join attempts with invalid P_key

Ariel Nahum (3):
  IB/iser: Seperate iser_conn and iscsi_endpoint storage space
  IB/iser: Protect iser state machine with a mutex
  IB/iser: Replace connection waitqueue with completion object

Bart Van Assche (3):
  scsi_transport_srp: Fix fast_io_fail_tmo=dev_loss_tmo=off behavior
  IB/srp: Fix deadlock between host removal and multipathd
  IB/srp: Fix residual handling

Dan Carpenter (1):
  RDMA/amso1100: Check for integer overflow in c2_alloc_cq_buf()

Devesh Sharma (7):
  RDMA/ocrdma: Avoid posting DPP requests for RDMA READ
  be2net: Issue shutdown event to ocrdma driver
  RDMA/ocrdma: Handle shutdown event from be2net driver
  RDMA/ocrdma: Remove hardcoding of the max DPP QPs supported
  RDMA/ocrdma: Delete AH table if ocrdma_init_hw fails after AH table 
creation
  RDMA/ocrdma: Obtain SL from device structure
  RDMA/ocrdma: Update sli data structure for endianness

Doug Ledford (2):
  IB/srpt: Handle GID change events
  RDMA/uapi: Include socket.h in rdma_user_cm.h

Erez Shitrit (2):
  IB/ipoib: Use P_Key change event instead of P_Key polling mechanism
  IB/ipoib: Avoid flushing the workqueue from worker context

Fabian Frederick (3):
  IPoIB: Remove unnecessary test for NULL before debugfs_remove()
  IB/mlx4: Use ARRAY_SIZE instead of sizeof/sizeof[0]
  IB/mlx5: Use ARRAY_SIZE instead of sizeof/sizeof[0]

Ira Weiny (5):
  IB/umad: Update module to [pr|dev]_* style print messages
  IB/mad: Update module to [pr|dev]_* style print messages
  IB/mad: Add dev_notice messages for various umad/mad registration failures
  IB/mad: add new ioctl to ABI to support new registration options
  IB/mad: Add user space RMPP support

Jack Morgenstein (1):
  mlx4_core: Add support for secure-host and SMP firewall

Matan Barak (3):
  IB/core: Add user MR re-registration support
  mlx4_core: Add helper functions to support MR re-registration
  IB/mlx4_ib: Add support for user MR re-registration

Mitesh Ahuja (4):
  RDMA/ocrdma: Allow only SEND opcode in case of UD QPs
  RDMA/ocrdma: Do proper cleanup even if FW is in error state
  RDMA/ocrdma: Return proper value for max_mr_size
  RDMA/ocrdma: report asic-id in query device

Or Gerlitz (1):
  IB/ipath: Add P_Key change event support

Roi Dayan (3):
  IB/iser: Support IPv6 address family
  IB/iser: Add TIMEWAIT_EXIT event handling
  IB/iser: Clarify a duplicate counters check

Roland Dreier (1):
  Merge branches 'core', 'cxgb4', 'ipoib', 'iser', 'iwcm', 'mad', 'misc', 
'mlx4', 'mlx5', 'ocrdma' and 'srp' into for-next

Sagi Grimberg (2):
  IB/iser: Fix responder resources advertisement
  IB/iser: Remove redundant return code in iser_free_ib_conn_res()

Selvin Xavier (8):
  RDMA/ocrdma: Query and initalize the PFC SL
  RDMA/ocrdma: Add hca_type and fixing fw_version string in device 
atrributes
  RDMA/ocrdma: Avoid reporting wrong completions in case of error CQEs
  RDMA/ocrdma: Add missing adapter mailbox opcodes
  RDMA/ocrdma: Increase the size of STAG array in dev structure to 16K
  RDMA/ocrdma: Initialize the GID table while registering the device
  RDMA/ocrdma: Fix a sparse warning
  RDMA/ocrdma: Update the ocrdma module version string

Steve Wise (2):
  RDMA/cxgb4: Only call CQ completion handler if it is armed
  RDMA/iwcm: Use a default listen backlog if needed

Wei Yongjun (1):
  IB/srp: Fix return value check in srp_init_module()

 Documentation/infiniband/user_mad.txt  |  13 +-
 drivers/infiniband/core/agent.c|  16 +-
 drivers/infiniband/core/cm.c   |   5 +-
 drivers/infiniband/core/iwcm.c |  27 ++
 drivers/infiniband/core/mad.c  | 283 +---
 drivers/infiniband/core/mad_priv.h |   3 -
 drivers/infiniband/core/sa_query.c |   2 +-
 drivers/infiniband/core/user_mad.c | 188 +++--
 drivers/infiniband/core/uverbs.h   |   1 +
 drivers/infiniband/core/uverbs_cmd.c   |  93 +++
 drivers/infiniband/core/uverbs_main.c  |   1 +
 drivers/infiniband/hw/amso1100/c2_cq.c |   7 +-
 drivers/infiniband/hw/cxgb4/ev.c   |   1 +
 drivers/infiniband/hw/cxgb4/qp.c   |  37 ++-
 

[GIT PULL] please pull infiniband.git

2014-08-14 Thread Roland Dreier
Hi Linus,

Please pull from

git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git 
tags/rdma-for-linus


Main set of InfiniBand/RDMA updates for 3.17 merge window:

 - MR reregistration support
 - MAD support for RMPP in userspace
 - iSER and SRP initiator updates
 - ocrdma hardware driver updates
 - other fixes...


Alex Estrin (1):
  IB/ipoib: Avoid multicast join attempts with invalid P_key

Ariel Nahum (3):
  IB/iser: Seperate iser_conn and iscsi_endpoint storage space
  IB/iser: Protect iser state machine with a mutex
  IB/iser: Replace connection waitqueue with completion object

Bart Van Assche (3):
  scsi_transport_srp: Fix fast_io_fail_tmo=dev_loss_tmo=off behavior
  IB/srp: Fix deadlock between host removal and multipathd
  IB/srp: Fix residual handling

Dan Carpenter (1):
  RDMA/amso1100: Check for integer overflow in c2_alloc_cq_buf()

Devesh Sharma (7):
  RDMA/ocrdma: Avoid posting DPP requests for RDMA READ
  be2net: Issue shutdown event to ocrdma driver
  RDMA/ocrdma: Handle shutdown event from be2net driver
  RDMA/ocrdma: Remove hardcoding of the max DPP QPs supported
  RDMA/ocrdma: Delete AH table if ocrdma_init_hw fails after AH table 
creation
  RDMA/ocrdma: Obtain SL from device structure
  RDMA/ocrdma: Update sli data structure for endianness

Doug Ledford (2):
  IB/srpt: Handle GID change events
  RDMA/uapi: Include socket.h in rdma_user_cm.h

Erez Shitrit (2):
  IB/ipoib: Use P_Key change event instead of P_Key polling mechanism
  IB/ipoib: Avoid flushing the workqueue from worker context

Fabian Frederick (3):
  IPoIB: Remove unnecessary test for NULL before debugfs_remove()
  IB/mlx4: Use ARRAY_SIZE instead of sizeof/sizeof[0]
  IB/mlx5: Use ARRAY_SIZE instead of sizeof/sizeof[0]

Ira Weiny (5):
  IB/umad: Update module to [pr|dev]_* style print messages
  IB/mad: Update module to [pr|dev]_* style print messages
  IB/mad: Add dev_notice messages for various umad/mad registration failures
  IB/mad: add new ioctl to ABI to support new registration options
  IB/mad: Add user space RMPP support

Jack Morgenstein (1):
  mlx4_core: Add support for secure-host and SMP firewall

Matan Barak (3):
  IB/core: Add user MR re-registration support
  mlx4_core: Add helper functions to support MR re-registration
  IB/mlx4_ib: Add support for user MR re-registration

Mitesh Ahuja (4):
  RDMA/ocrdma: Allow only SEND opcode in case of UD QPs
  RDMA/ocrdma: Do proper cleanup even if FW is in error state
  RDMA/ocrdma: Return proper value for max_mr_size
  RDMA/ocrdma: report asic-id in query device

Or Gerlitz (1):
  IB/ipath: Add P_Key change event support

Roi Dayan (3):
  IB/iser: Support IPv6 address family
  IB/iser: Add TIMEWAIT_EXIT event handling
  IB/iser: Clarify a duplicate counters check

Roland Dreier (1):
  Merge branches 'core', 'cxgb4', 'ipoib', 'iser', 'iwcm', 'mad', 'misc', 
'mlx4', 'mlx5', 'ocrdma' and 'srp' into for-next

Sagi Grimberg (2):
  IB/iser: Fix responder resources advertisement
  IB/iser: Remove redundant return code in iser_free_ib_conn_res()

Selvin Xavier (8):
  RDMA/ocrdma: Query and initalize the PFC SL
  RDMA/ocrdma: Add hca_type and fixing fw_version string in device 
atrributes
  RDMA/ocrdma: Avoid reporting wrong completions in case of error CQEs
  RDMA/ocrdma: Add missing adapter mailbox opcodes
  RDMA/ocrdma: Increase the size of STAG array in dev structure to 16K
  RDMA/ocrdma: Initialize the GID table while registering the device
  RDMA/ocrdma: Fix a sparse warning
  RDMA/ocrdma: Update the ocrdma module version string

Steve Wise (2):
  RDMA/cxgb4: Only call CQ completion handler if it is armed
  RDMA/iwcm: Use a default listen backlog if needed

Wei Yongjun (1):
  IB/srp: Fix return value check in srp_init_module()

 Documentation/infiniband/user_mad.txt  |  13 +-
 drivers/infiniband/core/agent.c|  16 +-
 drivers/infiniband/core/cm.c   |   5 +-
 drivers/infiniband/core/iwcm.c |  27 ++
 drivers/infiniband/core/mad.c  | 283 +---
 drivers/infiniband/core/mad_priv.h |   3 -
 drivers/infiniband/core/sa_query.c |   2 +-
 drivers/infiniband/core/user_mad.c | 188 +++--
 drivers/infiniband/core/uverbs.h   |   1 +
 drivers/infiniband/core/uverbs_cmd.c   |  93 +++
 drivers/infiniband/core/uverbs_main.c  |   1 +
 drivers/infiniband/hw/amso1100/c2_cq.c |   7 +-
 drivers/infiniband/hw/cxgb4/ev.c   |   1 +
 drivers/infiniband/hw/cxgb4/qp.c   |  37 ++-
 

[GIT PULL] please pull infiniband.git

2014-07-18 Thread Roland Dreier
Hi Linus,

Please pull from

git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git 
tags/rdma-for-linus


InfiniBand/RDMA fixes for 3.16

 - cxgb4 hardware driver regression fixes
 - mlx5 hardware driver regression fixes


Hariprasad S (2):
  RDMA/cxgb4: Fix skb_leak in reject_cr()
  RDMA/cxgb4: Clean up connection on ARP error

Or Gerlitz (1):
  IB/mlx5: Enable "block multicast loopback" for kernel consumers

Roland Dreier (1):
  Merge branches 'cxgb4' and 'mlx5' into for-next

Sagi Grimberg (1):
  mlx5_core: Fix possible race between mr tree insert/delete

Steve Wise (2):
  RDMA/cxgb4: Initialize the device status page
  RDMA/cxgb4: Call iwpm_init() only once

 drivers/infiniband/hw/cxgb4/cm.c | 14 +++---
 drivers/infiniband/hw/cxgb4/device.c | 18 +++---
 drivers/infiniband/hw/cxgb4/iw_cxgb4.h   |  2 +-
 drivers/infiniband/hw/mlx5/qp.c  |  2 +-
 drivers/net/ethernet/mellanox/mlx5/core/mr.c | 19 +++
 5 files changed, 39 insertions(+), 16 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[GIT PULL] please pull infiniband.git

2014-07-18 Thread Roland Dreier
Hi Linus,

Please pull from

git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git 
tags/rdma-for-linus


InfiniBand/RDMA fixes for 3.16

 - cxgb4 hardware driver regression fixes
 - mlx5 hardware driver regression fixes


Hariprasad S (2):
  RDMA/cxgb4: Fix skb_leak in reject_cr()
  RDMA/cxgb4: Clean up connection on ARP error

Or Gerlitz (1):
  IB/mlx5: Enable block multicast loopback for kernel consumers

Roland Dreier (1):
  Merge branches 'cxgb4' and 'mlx5' into for-next

Sagi Grimberg (1):
  mlx5_core: Fix possible race between mr tree insert/delete

Steve Wise (2):
  RDMA/cxgb4: Initialize the device status page
  RDMA/cxgb4: Call iwpm_init() only once

 drivers/infiniband/hw/cxgb4/cm.c | 14 +++---
 drivers/infiniband/hw/cxgb4/device.c | 18 +++---
 drivers/infiniband/hw/cxgb4/iw_cxgb4.h   |  2 +-
 drivers/infiniband/hw/mlx5/qp.c  |  2 +-
 drivers/net/ethernet/mellanox/mlx5/core/mr.c | 19 +++
 5 files changed, 39 insertions(+), 16 deletions(-)
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[GIT PULL] please pull infiniband.git

2014-06-10 Thread Roland Dreier
Hi Linus,

Please pull from

git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git 
tags/rdma-for-linus



Main batch of InfiniBand/RDMA changes for 3.16:

 - Add iWARP port mapper to avoid conflicts between RDMA and normal
   stack TCP connections.

 - Fixes for i386 / x86-64 structure padding differences (ABI
   compatibility for 32-on-64) from Yann Droneaud.

 - A pile of SRP initiator fixes from Bart Van Assche.

 - Fixes for a writeback / memory allocation deadlock with NFS over
   IPoIB connected mode from Jiri Kosina.

 - The usual fixes and cleanups to mlx4, mlx5, cxgb4 and other
   low-level drivers.


Ariel Nahum (2):
  IB/iser: Simplify connection management
  IB/iser: Fix a possible race in iser connection states transition

Bart Van Assche (11):
  IB/srp: Fix a sporadic crash triggered by cable pulling
  IB/srp: Fix kernel-doc warnings
  IB/srp: Introduce an additional local variable
  IB/srp: Introduce srp_map_fmr()
  IB/srp: Introduce srp_finish_mapping()
  IB/srp: Introduce the 'register_always' kernel module parameter
  IB/srp: One FMR pool per SRP connection
  IB/srp: Rename FMR-related variables
  IB/srp: Add fast registration support
  IB/umad: Fix error handling
  IB/umad: Fix use-after-free on close

Christoph Jaeger (1):
  RDMA/cxgb4: Fix memory leaks in c4iw_alloc() error paths

Colin Ian King (1):
  IB/mlx4: fix unitialised variable is_mcast

Dan Carpenter (2):
  RDMA/cxgb3: Fix information leak in send_abort()
  RDMA/cxgb3: Remove a couple unneeded conditions

Dennis Dalessandro (1):
  IB/ipath: Translate legacy diagpkt into newer extended diagpkt

Dotan Barak (1):
  mlx4_core: Fix memory leaks in SR-IOV error paths

Duan Jiong (1):
  RDMA/ocrdma: Convert to use simple_open()

Haggai Eran (7):
  IB/mlx5: Fix error handling in reg_umr
  IB/mlx5: Add MR to radix tree in reg_mr_callback
  mlx5_core: Store MR attributes in mlx5_mr_core during creation and after 
UMR
  IB/mlx5: Set QP offsets and parameters for user QPs and not just for 
kernel QPs
  IB/core: Remove unneeded kobject_get/put calls
  IB/core: Fix port kobject deletion during error flow
  IB/core: Fix kobject leak on device register error flow

Jack Morgenstein (5):
  mlx4_core: Fix incorrect FLAGS1 bitmap test in mlx4_QUERY_FUNC_CAP
  IB/mlx4: SET_PORT called by mlx4_ib_modify_port should be wrapped
  IB/mlx4: Preparation for VFs to issue/receive SMI (QP0) requests/responses
  mlx4: Add infrastructure for selecting VFs to enable QP0 via MLX proxy QPs
  IB/mlx4: Add interface for selecting VFs to enable QP0 via MLX proxy QPs

Jiri Kosina (2):
  IB/mlx4: Implement IB_QP_CREATE_USE_GFP_NOIO
  IB/mlx4: Fix gfp passing in create_qp_common()

Joe Perches (1):
  IB/srp: Avoid problems if a header uses pr_fmt

Manuel Schölling (1):
  IB/ipath: Use time_before()/_after()

Mike Marciniszyn (1):
  IB/qib: Fix port in pkey change event

Or Gerlitz (3):
  IB/iser: Bump version to 1.4
  IB: Return error for unsupported QP creation flags
  IB: Add a QP creation flag to use GFP_NOIO allocations

Roi Dayan (1):
  IB/iser: Add missing newlines to logging messages

Roland Dreier (6):
  IB/mlx5: Fix warning about cast of wr_id back to pointer on 32 bits
  mlx4_core: Move handling of MLX4_QP_ST_MLX to proper switch statement
  IB/mad: Fix sparse warning about gfp_t use
  IB/core: Fix sparse warnings about redeclared functions
  mlx4_core: Fix GFP flags parameters to be gfp_t
  Merge branches 'core', 'cxgb3', 'cxgb4', 'iser', 'iwpm', 'misc', 'mlx4', 
'mlx5', 'noio', 'ocrdma', 'qib', 'srp' and 'usnic' into for-next

Sagi Grimberg (3):
  mlx5_core: Fix signature handover operation for interleaved buffers
  mlx5_core: Simplify signature handover wqe for interleaved buffers
  mlx5_core: Copy DIF fields only when input and output space values match

Shachar Raindel (1):
  IB/mlx5: Refactor UMR to have its own context struct

Steve Wise (2):
  RDMA/cxgb4: Fix vlan support
  RDMA/cxgb4: Add support for iWARP Port Mapper user space service

Tatyana Nikolova (2):
  RDMA/core: Add support for iWARP Port Mapper user space service
  RDMA/nes: Add support for iWARP Port Mapper user space service

Upinder Malhi (1):
  IB/usnic: Fix source file missing copyright and license

Vinit Agnihotri (1):
  IB/qib: Additional Intel branding changes

Yann Droneaud (5):
  IB/mlx5: add missing padding at end of struct mlx5_ib_create_cq
  IB/mlx5: add missing padding at end of struct mlx5_ib_create_srq
  RDMA/cxgb4: Add missing padding at end of struct c4iw_create_cq_resp
  IB: Allow build of hw/ and ulp/ subdirectories independently
  RDMA/cxgb4: add missing padding at end of struct 

[GIT PULL] please pull infiniband.git

2014-06-10 Thread Roland Dreier
Hi Linus,

Please pull from

git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git 
tags/rdma-for-linus



Main batch of InfiniBand/RDMA changes for 3.16:

 - Add iWARP port mapper to avoid conflicts between RDMA and normal
   stack TCP connections.

 - Fixes for i386 / x86-64 structure padding differences (ABI
   compatibility for 32-on-64) from Yann Droneaud.

 - A pile of SRP initiator fixes from Bart Van Assche.

 - Fixes for a writeback / memory allocation deadlock with NFS over
   IPoIB connected mode from Jiri Kosina.

 - The usual fixes and cleanups to mlx4, mlx5, cxgb4 and other
   low-level drivers.


Ariel Nahum (2):
  IB/iser: Simplify connection management
  IB/iser: Fix a possible race in iser connection states transition

Bart Van Assche (11):
  IB/srp: Fix a sporadic crash triggered by cable pulling
  IB/srp: Fix kernel-doc warnings
  IB/srp: Introduce an additional local variable
  IB/srp: Introduce srp_map_fmr()
  IB/srp: Introduce srp_finish_mapping()
  IB/srp: Introduce the 'register_always' kernel module parameter
  IB/srp: One FMR pool per SRP connection
  IB/srp: Rename FMR-related variables
  IB/srp: Add fast registration support
  IB/umad: Fix error handling
  IB/umad: Fix use-after-free on close

Christoph Jaeger (1):
  RDMA/cxgb4: Fix memory leaks in c4iw_alloc() error paths

Colin Ian King (1):
  IB/mlx4: fix unitialised variable is_mcast

Dan Carpenter (2):
  RDMA/cxgb3: Fix information leak in send_abort()
  RDMA/cxgb3: Remove a couple unneeded conditions

Dennis Dalessandro (1):
  IB/ipath: Translate legacy diagpkt into newer extended diagpkt

Dotan Barak (1):
  mlx4_core: Fix memory leaks in SR-IOV error paths

Duan Jiong (1):
  RDMA/ocrdma: Convert to use simple_open()

Haggai Eran (7):
  IB/mlx5: Fix error handling in reg_umr
  IB/mlx5: Add MR to radix tree in reg_mr_callback
  mlx5_core: Store MR attributes in mlx5_mr_core during creation and after 
UMR
  IB/mlx5: Set QP offsets and parameters for user QPs and not just for 
kernel QPs
  IB/core: Remove unneeded kobject_get/put calls
  IB/core: Fix port kobject deletion during error flow
  IB/core: Fix kobject leak on device register error flow

Jack Morgenstein (5):
  mlx4_core: Fix incorrect FLAGS1 bitmap test in mlx4_QUERY_FUNC_CAP
  IB/mlx4: SET_PORT called by mlx4_ib_modify_port should be wrapped
  IB/mlx4: Preparation for VFs to issue/receive SMI (QP0) requests/responses
  mlx4: Add infrastructure for selecting VFs to enable QP0 via MLX proxy QPs
  IB/mlx4: Add interface for selecting VFs to enable QP0 via MLX proxy QPs

Jiri Kosina (2):
  IB/mlx4: Implement IB_QP_CREATE_USE_GFP_NOIO
  IB/mlx4: Fix gfp passing in create_qp_common()

Joe Perches (1):
  IB/srp: Avoid problems if a header uses pr_fmt

Manuel Schölling (1):
  IB/ipath: Use time_before()/_after()

Mike Marciniszyn (1):
  IB/qib: Fix port in pkey change event

Or Gerlitz (3):
  IB/iser: Bump version to 1.4
  IB: Return error for unsupported QP creation flags
  IB: Add a QP creation flag to use GFP_NOIO allocations

Roi Dayan (1):
  IB/iser: Add missing newlines to logging messages

Roland Dreier (6):
  IB/mlx5: Fix warning about cast of wr_id back to pointer on 32 bits
  mlx4_core: Move handling of MLX4_QP_ST_MLX to proper switch statement
  IB/mad: Fix sparse warning about gfp_t use
  IB/core: Fix sparse warnings about redeclared functions
  mlx4_core: Fix GFP flags parameters to be gfp_t
  Merge branches 'core', 'cxgb3', 'cxgb4', 'iser', 'iwpm', 'misc', 'mlx4', 
'mlx5', 'noio', 'ocrdma', 'qib', 'srp' and 'usnic' into for-next

Sagi Grimberg (3):
  mlx5_core: Fix signature handover operation for interleaved buffers
  mlx5_core: Simplify signature handover wqe for interleaved buffers
  mlx5_core: Copy DIF fields only when input and output space values match

Shachar Raindel (1):
  IB/mlx5: Refactor UMR to have its own context struct

Steve Wise (2):
  RDMA/cxgb4: Fix vlan support
  RDMA/cxgb4: Add support for iWARP Port Mapper user space service

Tatyana Nikolova (2):
  RDMA/core: Add support for iWARP Port Mapper user space service
  RDMA/nes: Add support for iWARP Port Mapper user space service

Upinder Malhi (1):
  IB/usnic: Fix source file missing copyright and license

Vinit Agnihotri (1):
  IB/qib: Additional Intel branding changes

Yann Droneaud (5):
  IB/mlx5: add missing padding at end of struct mlx5_ib_create_cq
  IB/mlx5: add missing padding at end of struct mlx5_ib_create_srq
  RDMA/cxgb4: Add missing padding at end of struct c4iw_create_cq_resp
  IB: Allow build of hw/ and ulp/ subdirectories independently
  RDMA/cxgb4: add missing padding at end of struct 

[GIT PULL] please pull infiniband.git

2014-05-01 Thread Roland Dreier
Hi Linus,

Please pull from

git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git 
tags/rdma-for-linus


InfiniBand/RDMA updates for 3.15-rc4:

 - cxgb4 hardware driver fixes


Hariprasad S (1):
  RDMA/cxgb4: Update Kconfig to include Chelsio T5 adapter

Steve Wise (3):
  RDMA/cxgb4: Fix endpoint mutex deadlocks
  RDMA/cxgb4: Force T5 connections to use TAHOE congestion control
  RDMA/cxgb4: Only allow kernel db ringing for T4 devs

 drivers/infiniband/hw/cxgb4/Kconfig   |  6 ++---
 drivers/infiniband/hw/cxgb4/cm.c  | 39 ++-
 drivers/infiniband/hw/cxgb4/iw_cxgb4.h|  1 +
 drivers/infiniband/hw/cxgb4/qp.c  | 13 +++
 drivers/infiniband/hw/cxgb4/t4fw_ri_api.h | 14 +++
 5 files changed, 55 insertions(+), 18 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[GIT PULL] please pull infiniband.git

2014-05-01 Thread Roland Dreier
Hi Linus,

Please pull from

git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git 
tags/rdma-for-linus


InfiniBand/RDMA updates for 3.15-rc4:

 - cxgb4 hardware driver fixes


Hariprasad S (1):
  RDMA/cxgb4: Update Kconfig to include Chelsio T5 adapter

Steve Wise (3):
  RDMA/cxgb4: Fix endpoint mutex deadlocks
  RDMA/cxgb4: Force T5 connections to use TAHOE congestion control
  RDMA/cxgb4: Only allow kernel db ringing for T4 devs

 drivers/infiniband/hw/cxgb4/Kconfig   |  6 ++---
 drivers/infiniband/hw/cxgb4/cm.c  | 39 ++-
 drivers/infiniband/hw/cxgb4/iw_cxgb4.h|  1 +
 drivers/infiniband/hw/cxgb4/qp.c  | 13 +++
 drivers/infiniband/hw/cxgb4/t4fw_ri_api.h | 14 +++
 5 files changed, 55 insertions(+), 18 deletions(-)
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[GIT PULL] please pull infiniband.git

2014-04-18 Thread Roland Dreier
Hi Linus,

Please pull from

git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git 
tags/rdma-for-linus



InfiniBand/RDMA updates for 3.15-rc2:

 - Mostly cxgb4 fixes unblocked by the merge of some prerequisites via
   the net tree.

 - Drop deprecated MSI-X API use.

 - A couple other miscellaneous things.


Alexander Gordeev (2):
  IB/qib: Use pci_enable_msix_range() instead of pci_enable_msix()
  IB/mthca: Use pci_enable_msix_exact() instead of pci_enable_msix()

Eli Cohen (1):
  IB/mlx5: Add block multicast loopback support

Hariprasad Shenai (1):
  RDMA/cxgb4: Use pr_warn_ratelimited

Roland Dreier (1):
  Merge branches 'cxgb4', 'misc', 'mlx5' and 'qib' into for-next

Steve Wise (9):
  RDMA/cxgb4: Use the BAR2/WC path for kernel QPs and T5 devices
  RDMA/cxgb4: Endpoint timeout fixes
  RDMA/cxgb4: rmb() after reading valid gen bit
  RDMA/cxgb4: SQ flush fix
  RDMA/cxgb4: Max fastreg depth depends on DSGL support
  RDMA/cxgb4: Initialize reserved fields in a FW work request
  RDMA/cxgb4: Add missing debug stats
  RDMA/cxgb4: Use uninitialized_var()
  RDMA/cxgb4: Fix over-dereference when terminating

 drivers/infiniband/hw/cxgb4/cm.c | 89 
 drivers/infiniband/hw/cxgb4/cq.c | 24 -
 drivers/infiniband/hw/cxgb4/device.c | 41 ---
 drivers/infiniband/hw/cxgb4/iw_cxgb4.h   |  2 +
 drivers/infiniband/hw/cxgb4/mem.c|  6 ++-
 drivers/infiniband/hw/cxgb4/provider.c   |  2 +-
 drivers/infiniband/hw/cxgb4/qp.c | 70 +++--
 drivers/infiniband/hw/cxgb4/resource.c   | 10 ++--
 drivers/infiniband/hw/cxgb4/t4.h | 72 --
 drivers/infiniband/hw/mlx5/main.c|  2 +
 drivers/infiniband/hw/mlx5/qp.c  | 12 +
 drivers/infiniband/hw/mthca/mthca_main.c |  8 +--
 drivers/infiniband/hw/qib/qib_pcie.c | 55 ++--
 include/linux/mlx5/device.h  |  1 +
 include/linux/mlx5/qp.h  |  1 +
 15 files changed, 270 insertions(+), 125 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[GIT PULL] please pull infiniband.git

2014-04-18 Thread Roland Dreier
Hi Linus,

Please pull from

git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git 
tags/rdma-for-linus



InfiniBand/RDMA updates for 3.15-rc2:

 - Mostly cxgb4 fixes unblocked by the merge of some prerequisites via
   the net tree.

 - Drop deprecated MSI-X API use.

 - A couple other miscellaneous things.


Alexander Gordeev (2):
  IB/qib: Use pci_enable_msix_range() instead of pci_enable_msix()
  IB/mthca: Use pci_enable_msix_exact() instead of pci_enable_msix()

Eli Cohen (1):
  IB/mlx5: Add block multicast loopback support

Hariprasad Shenai (1):
  RDMA/cxgb4: Use pr_warn_ratelimited

Roland Dreier (1):
  Merge branches 'cxgb4', 'misc', 'mlx5' and 'qib' into for-next

Steve Wise (9):
  RDMA/cxgb4: Use the BAR2/WC path for kernel QPs and T5 devices
  RDMA/cxgb4: Endpoint timeout fixes
  RDMA/cxgb4: rmb() after reading valid gen bit
  RDMA/cxgb4: SQ flush fix
  RDMA/cxgb4: Max fastreg depth depends on DSGL support
  RDMA/cxgb4: Initialize reserved fields in a FW work request
  RDMA/cxgb4: Add missing debug stats
  RDMA/cxgb4: Use uninitialized_var()
  RDMA/cxgb4: Fix over-dereference when terminating

 drivers/infiniband/hw/cxgb4/cm.c | 89 
 drivers/infiniband/hw/cxgb4/cq.c | 24 -
 drivers/infiniband/hw/cxgb4/device.c | 41 ---
 drivers/infiniband/hw/cxgb4/iw_cxgb4.h   |  2 +
 drivers/infiniband/hw/cxgb4/mem.c|  6 ++-
 drivers/infiniband/hw/cxgb4/provider.c   |  2 +-
 drivers/infiniband/hw/cxgb4/qp.c | 70 +++--
 drivers/infiniband/hw/cxgb4/resource.c   | 10 ++--
 drivers/infiniband/hw/cxgb4/t4.h | 72 --
 drivers/infiniband/hw/mlx5/main.c|  2 +
 drivers/infiniband/hw/mlx5/qp.c  | 12 +
 drivers/infiniband/hw/mthca/mthca_main.c |  8 +--
 drivers/infiniband/hw/qib/qib_pcie.c | 55 ++--
 include/linux/mlx5/device.h  |  1 +
 include/linux/mlx5/qp.h  |  1 +
 15 files changed, 270 insertions(+), 125 deletions(-)
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[GIT PULL] please pull infiniband.git

2014-04-03 Thread Roland Dreier
Hi Linus,

Please pull from

git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git 
tags/rdma-for-linus



Main batch of InfiniBand/RDMA changes for 3.15:

 - The biggest change is core API extensions and mlx5 low-level driver
   support for handling DIF/DIX-style protection information, and the
   addition of PI support to the iSER initiator.  Target support will be
   arriving shortly through the SCSI target tree.

 - A nice simplification to the "umem" memory pinning library now that
   we have chained sg lists.  Kudos to Yishai Hadas for realizing our
   code didn't have to be so crazy.

 - Another nice simplification to the sg wrappers used by qib, ipath and
   ehca to handle their mapping of memory to adapter.

 - The usual batch of fixes to bugs found by static checkers etc. from
   intrepid people like Dan Carpenter and Yann Droneaud.

 - A large batch of cxgb4, ocrdma, qib driver updates.


Alex Tabachnik (2):
  IB/iser: Introduce pi_enable, pi_guard module parameters
  IB/iser: Initialize T10-PI resources

Ariel Nahum (1):
  IB/iser: Remove struct iscsi_iser_conn

Bart Van Assche (7):
  IB/mlx4: Fix a sparse endianness warning
  scsi_transport_srp: Fix two kernel-doc warnings
  IB/srp: Add more logging
  IB/srp: Avoid duplicate connections
  IB/srp: Make writing into the "add_target" sysfs attribute interruptible
  IB/srp: Avoid that writing into "add_target" hangs due to a cable pull
  IB/srp: Fix a race condition between failing I/O and I/O completion

CQ Tang (1):
  IB/qib: Change SDMA progression mode depending on single- or multi-rail

Dan Carpenter (7):
  IB/qib: Remove duplicate check in get_a_ctxt()
  RDMA/nes: Clean up a condition
  RDMA/cxgb4: Fix underflows in c4iw_create_qp()
  RDMA/cxgb4: Fix four byte info leak in c4iw_create_cq()
  IB/qib: Cleanup qib_register_observer()
  mlx4_core: Fix some indenting in mlx4_ib_add()
  mlx4_core: Make buffer larger to avoid overflow warning

Dennis Dalessandro (3):
  IB/qib: Fix potential buffer overrun in sending diag packet routine
  IB/ipath: Fix potential buffer overrun in sending diag packet routine
  IB/qib: Fix memory leak of recv context when driver fails to initialize.

Devesh Sharma (9):
  RDMA/ocrdma: EQ full catastrophe avoidance
  RDMA/ocrdma: SQ and RQ doorbell offset clean up
  RDMA/ocrdma: Read ASIC_ID register to select asic_gen
  RDMA/ocrdma: Allow DPP QP creation
  RDMA/ocrdma: ABI versioning between ocrdma and be2net
  be2net: Add abi version between be2net and ocrdma
  RDMA/ocrdma: Update version string
  RDMA/ocrdma: Increment abi version count
  RDMA/ocrdma: Code clean-up

Fabio Estevam (1):
  IB/usnic: Remove '0x' when using %pa format

Mike Marciniszyn (7):
  IB/qib: Fix debugfs ordering issue with multiple HCAs
  IB/qib: Add percpu counter replacing qib_devdata int_counter
  IB/qib: Modify software pma counters to use percpu variables
  IB/qib: Remove ib_sg_dma_address() and ib_sg_dma_len() overloads
  IB/ipath: Remove ib_sg_dma_address() and ib_sg_dma_len() overloads
  IB/ehca: Remove ib_sg_dma_address() and ib_sg_dma_len() overloads
  IB/core: Remove overload in ib_sg_dma*

Moni Shoua (1):
  IB/core: Don't resolve passive side RoCE L2 address in CMA REQ handler

Or Gerlitz (3):
  IB/iser: Print QP information once connection is established
  IB/iser: Update Mellanox copyright note
  IB/iser: Bump driver version to 1.3

Prarit Bhargava (1):
  RDMA/ocrdma: Fix compiler warning

Randy Dunlap (1):
  IB/iser: Fix sector_t format warning

Roi Dayan (1):
  IB/iser: Drain the tx cq once before looping on the rx cq

Roland Dreier (2):
  RDMA/ocrdma: Fix warnings about pointer <-> integer casts
  Merge branches 'core', 'cxgb4', 'ip-roce', 'iser', 'misc', 'mlx4', 'nes', 
'ocrdma', 'qib', 'sgwrapper', 'srp' and 'usnic' into for-next

Sagi Grimberg (23):
  IB/core: Introduce protected memory regions
  IB/core: Introduce signature verbs API
  mlx5: Implement create_mr and destroy_mr
  IB/mlx5: Initialize mlx5_ib_qp signature-related members
  IB/mlx5: Break up wqe handling into begin & finish routines
  IB/mlx5: Remove MTT access mode from umr flags helper function
  IB/mlx5: Keep mlx5 MRs in a radix tree under device
  IB/mlx5: Support IB_WR_REG_SIG_MR
  IB/mlx5: Collect signature error completion
  IB/mlx5: Expose support for signature MR feature
  IB/iser: Suppress completions for fast registration work requests
  IB/iser: Avoid FRWR notation, use fastreg instead
  IB/iser: Push the decision what memory key to use into fast_reg_mr routine
  IB/iser: Move fast_reg_descriptor initialization to a function
  IB/iser: Keep IB device attributes 

[GIT PULL] please pull infiniband.git

2014-04-03 Thread Roland Dreier
Hi Linus,

Please pull from

git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git 
tags/rdma-for-linus



Main batch of InfiniBand/RDMA changes for 3.15:

 - The biggest change is core API extensions and mlx5 low-level driver
   support for handling DIF/DIX-style protection information, and the
   addition of PI support to the iSER initiator.  Target support will be
   arriving shortly through the SCSI target tree.

 - A nice simplification to the umem memory pinning library now that
   we have chained sg lists.  Kudos to Yishai Hadas for realizing our
   code didn't have to be so crazy.

 - Another nice simplification to the sg wrappers used by qib, ipath and
   ehca to handle their mapping of memory to adapter.

 - The usual batch of fixes to bugs found by static checkers etc. from
   intrepid people like Dan Carpenter and Yann Droneaud.

 - A large batch of cxgb4, ocrdma, qib driver updates.


Alex Tabachnik (2):
  IB/iser: Introduce pi_enable, pi_guard module parameters
  IB/iser: Initialize T10-PI resources

Ariel Nahum (1):
  IB/iser: Remove struct iscsi_iser_conn

Bart Van Assche (7):
  IB/mlx4: Fix a sparse endianness warning
  scsi_transport_srp: Fix two kernel-doc warnings
  IB/srp: Add more logging
  IB/srp: Avoid duplicate connections
  IB/srp: Make writing into the add_target sysfs attribute interruptible
  IB/srp: Avoid that writing into add_target hangs due to a cable pull
  IB/srp: Fix a race condition between failing I/O and I/O completion

CQ Tang (1):
  IB/qib: Change SDMA progression mode depending on single- or multi-rail

Dan Carpenter (7):
  IB/qib: Remove duplicate check in get_a_ctxt()
  RDMA/nes: Clean up a condition
  RDMA/cxgb4: Fix underflows in c4iw_create_qp()
  RDMA/cxgb4: Fix four byte info leak in c4iw_create_cq()
  IB/qib: Cleanup qib_register_observer()
  mlx4_core: Fix some indenting in mlx4_ib_add()
  mlx4_core: Make buffer larger to avoid overflow warning

Dennis Dalessandro (3):
  IB/qib: Fix potential buffer overrun in sending diag packet routine
  IB/ipath: Fix potential buffer overrun in sending diag packet routine
  IB/qib: Fix memory leak of recv context when driver fails to initialize.

Devesh Sharma (9):
  RDMA/ocrdma: EQ full catastrophe avoidance
  RDMA/ocrdma: SQ and RQ doorbell offset clean up
  RDMA/ocrdma: Read ASIC_ID register to select asic_gen
  RDMA/ocrdma: Allow DPP QP creation
  RDMA/ocrdma: ABI versioning between ocrdma and be2net
  be2net: Add abi version between be2net and ocrdma
  RDMA/ocrdma: Update version string
  RDMA/ocrdma: Increment abi version count
  RDMA/ocrdma: Code clean-up

Fabio Estevam (1):
  IB/usnic: Remove '0x' when using %pa format

Mike Marciniszyn (7):
  IB/qib: Fix debugfs ordering issue with multiple HCAs
  IB/qib: Add percpu counter replacing qib_devdata int_counter
  IB/qib: Modify software pma counters to use percpu variables
  IB/qib: Remove ib_sg_dma_address() and ib_sg_dma_len() overloads
  IB/ipath: Remove ib_sg_dma_address() and ib_sg_dma_len() overloads
  IB/ehca: Remove ib_sg_dma_address() and ib_sg_dma_len() overloads
  IB/core: Remove overload in ib_sg_dma*

Moni Shoua (1):
  IB/core: Don't resolve passive side RoCE L2 address in CMA REQ handler

Or Gerlitz (3):
  IB/iser: Print QP information once connection is established
  IB/iser: Update Mellanox copyright note
  IB/iser: Bump driver version to 1.3

Prarit Bhargava (1):
  RDMA/ocrdma: Fix compiler warning

Randy Dunlap (1):
  IB/iser: Fix sector_t format warning

Roi Dayan (1):
  IB/iser: Drain the tx cq once before looping on the rx cq

Roland Dreier (2):
  RDMA/ocrdma: Fix warnings about pointer - integer casts
  Merge branches 'core', 'cxgb4', 'ip-roce', 'iser', 'misc', 'mlx4', 'nes', 
'ocrdma', 'qib', 'sgwrapper', 'srp' and 'usnic' into for-next

Sagi Grimberg (23):
  IB/core: Introduce protected memory regions
  IB/core: Introduce signature verbs API
  mlx5: Implement create_mr and destroy_mr
  IB/mlx5: Initialize mlx5_ib_qp signature-related members
  IB/mlx5: Break up wqe handling into begin  finish routines
  IB/mlx5: Remove MTT access mode from umr flags helper function
  IB/mlx5: Keep mlx5 MRs in a radix tree under device
  IB/mlx5: Support IB_WR_REG_SIG_MR
  IB/mlx5: Collect signature error completion
  IB/mlx5: Expose support for signature MR feature
  IB/iser: Suppress completions for fast registration work requests
  IB/iser: Avoid FRWR notation, use fastreg instead
  IB/iser: Push the decision what memory key to use into fast_reg_mr routine
  IB/iser: Move fast_reg_descriptor initialization to a function
  IB/iser: Keep IB device attributes under 

[GIT PULL] please pull infiniband.git

2014-02-14 Thread Roland Dreier
Hi Linus,

Please pull from

git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git 
tags/rdma-for-linus



RDMA/InfiniBand fixes for 3.14-rc3:
 - Fix some rough edges from the "IP addressing for IBoE" merge
 - Other misc fixes, mostly to hardware drivers


Dan Carpenter (1):
  IB/iser: Fix use after free in iser_snd_completion()

Devesh Sharma (2):
  RDMA/ocrdma: Fix traffic class shift
  RDMA/ocrdma: Fix load time panic during GID table init

Eli Cohen (4):
  IB/mlx5: Fix RC transport send queue overhead computation
  IB/mlx5: Fix binary compatibility with libmlx5
  IB/mlx5: Don't set "block multicast loopback" capability
  IB/mlx5: Remove dependency on X86

Julia Lawall (2):
  RDMA/nes: Fix error return code
  RDMA/amso1100: Fix error return code

Kumar Sanghvi (1):
  RDMA/cxgb4: Add missing neigh_release in LE-Workaround path

Matan Barak (1):
  IB/mlx4: Don't allocate range of steerable UD QPs for Ethernet-only device

Mike Marciniszyn (1):
  IB/qib: Add missing serdes init sequence

Moni Shoua (6):
  IB/mlx4: Make sure GID index 0 is always occupied
  IB/mlx4: Move rtnl locking to the right place
  IB/mlx4: Do IBoE locking earlier when initializing the GID table
  IB/mlx4: Do IBoE GID table resets per-port
  IB/mlx4: Build the port IBoE GID table properly under bonding
  IB: Report using RoCE IP based gids in port caps

Roi Dayan (1):
  IB/iser: Avoid dereferencing iscsi_iser conn object when not bound to 
iser connection

Roland Dreier (2):
  mlx5: Add include of  because of kzalloc()/kfree() use
  Merge branches 'cma', 'cxgb4', 'iser', 'misc', 'mlx4', 'mlx5', 'nes', 
'ocrdma', 'qib' and 'usnic' into for-next

Upinder Malhi (1):
  IB/usnic: Fix smatch endianness error

 drivers/infiniband/hw/amso1100/c2.c |   4 +-
 drivers/infiniband/hw/amso1100/c2_rnic.c|   3 +-
 drivers/infiniband/hw/cxgb4/cm.c|   1 +
 drivers/infiniband/hw/mlx4/main.c   | 185 +---
 drivers/infiniband/hw/mlx5/Kconfig  |   2 +-
 drivers/infiniband/hw/mlx5/main.c   |  22 ++-
 drivers/infiniband/hw/mlx5/qp.c |  18 ++-
 drivers/infiniband/hw/mlx5/user.h   |   7 +
 drivers/infiniband/hw/nes/nes.c |   5 +-
 drivers/infiniband/hw/ocrdma/ocrdma_main.c  |   2 +-
 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c |   4 +-
 drivers/infiniband/hw/qib/qib_iba7322.c |   5 +
 drivers/infiniband/hw/usnic/usnic_ib_qp_grp.c   |   9 +-
 drivers/infiniband/ulp/iser/iser_initiator.c|   3 +-
 drivers/infiniband/ulp/iser/iser_verbs.c|  10 +-
 drivers/net/ethernet/mellanox/mlx5/core/Kconfig |   2 +-
 include/linux/mlx5/driver.h |   3 +
 include/rdma/ib_verbs.h |   3 +-
 18 files changed, 214 insertions(+), 74 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[GIT PULL] please pull infiniband.git

2014-02-14 Thread Roland Dreier
Hi Linus,

Please pull from

git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git 
tags/rdma-for-linus



RDMA/InfiniBand fixes for 3.14-rc3:
 - Fix some rough edges from the IP addressing for IBoE merge
 - Other misc fixes, mostly to hardware drivers


Dan Carpenter (1):
  IB/iser: Fix use after free in iser_snd_completion()

Devesh Sharma (2):
  RDMA/ocrdma: Fix traffic class shift
  RDMA/ocrdma: Fix load time panic during GID table init

Eli Cohen (4):
  IB/mlx5: Fix RC transport send queue overhead computation
  IB/mlx5: Fix binary compatibility with libmlx5
  IB/mlx5: Don't set block multicast loopback capability
  IB/mlx5: Remove dependency on X86

Julia Lawall (2):
  RDMA/nes: Fix error return code
  RDMA/amso1100: Fix error return code

Kumar Sanghvi (1):
  RDMA/cxgb4: Add missing neigh_release in LE-Workaround path

Matan Barak (1):
  IB/mlx4: Don't allocate range of steerable UD QPs for Ethernet-only device

Mike Marciniszyn (1):
  IB/qib: Add missing serdes init sequence

Moni Shoua (6):
  IB/mlx4: Make sure GID index 0 is always occupied
  IB/mlx4: Move rtnl locking to the right place
  IB/mlx4: Do IBoE locking earlier when initializing the GID table
  IB/mlx4: Do IBoE GID table resets per-port
  IB/mlx4: Build the port IBoE GID table properly under bonding
  IB: Report using RoCE IP based gids in port caps

Roi Dayan (1):
  IB/iser: Avoid dereferencing iscsi_iser conn object when not bound to 
iser connection

Roland Dreier (2):
  mlx5: Add include of linux/slab.h because of kzalloc()/kfree() use
  Merge branches 'cma', 'cxgb4', 'iser', 'misc', 'mlx4', 'mlx5', 'nes', 
'ocrdma', 'qib' and 'usnic' into for-next

Upinder Malhi (1):
  IB/usnic: Fix smatch endianness error

 drivers/infiniband/hw/amso1100/c2.c |   4 +-
 drivers/infiniband/hw/amso1100/c2_rnic.c|   3 +-
 drivers/infiniband/hw/cxgb4/cm.c|   1 +
 drivers/infiniband/hw/mlx4/main.c   | 185 +---
 drivers/infiniband/hw/mlx5/Kconfig  |   2 +-
 drivers/infiniband/hw/mlx5/main.c   |  22 ++-
 drivers/infiniband/hw/mlx5/qp.c |  18 ++-
 drivers/infiniband/hw/mlx5/user.h   |   7 +
 drivers/infiniband/hw/nes/nes.c |   5 +-
 drivers/infiniband/hw/ocrdma/ocrdma_main.c  |   2 +-
 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c |   4 +-
 drivers/infiniband/hw/qib/qib_iba7322.c |   5 +
 drivers/infiniband/hw/usnic/usnic_ib_qp_grp.c   |   9 +-
 drivers/infiniband/ulp/iser/iser_initiator.c|   3 +-
 drivers/infiniband/ulp/iser/iser_verbs.c|  10 +-
 drivers/net/ethernet/mellanox/mlx5/core/Kconfig |   2 +-
 include/linux/mlx5/driver.h |   3 +
 include/rdma/ib_verbs.h |   3 +-
 18 files changed, 214 insertions(+), 74 deletions(-)
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[GIT PULL] please pull infiniband.git

2014-01-24 Thread Roland Dreier
Hi Linus,

Please pull from

git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git 
tags/rdma-for-linus



Main batch of InfiniBand/RDMA changes for 3.14:
 - Flow steering for InfiniBand UD traffic
 - IP-based addressing for IBoE aka RoCE
 - Pass SRP submaintainership from Dave to Bart
 - SRP transport fixes from Bart
 - Add the new Cisco usNIC low-level device driver
 - Various other fixes


Bart Van Assche (4):
  scsi_transport_srp: Block rport upon TL error even with fast_io_fail_tmo 
= off
  scsi_transport_srp: Fix a race condition
  scsi_transport_srp: Add rport state diagram
  scsi_transport_srp: Fix kernel-doc warnings

Dan Carpenter (2):
  mlx5_core: Remove dead code
  IB/usnic: Use GFP_ATOMIC under spinlock

David Dillow (1):
  MAINTAINERS: Pass the torch of SRP submaintainership

Devesh Sharma (2):
  RDMA/ocrdma: Fix AV_VALID bit position
  RDMA/ocrdma: Fix OCRDMA_GEN2_FAMILY macro definition

Ding Tianhong (1):
  RDMA/nes: Slight optimization of Ethernet address compare

Eli Cohen (13):
  IB/mlx5: Remove unused code in mr.c
  IB/mlx5: Fix micro UAR allocator
  IB/mlx5: Clear out struct before create QP command
  mlx5_core: Use mlx5 core style warning
  IB/mlx5: Make sure doorbell record is visible before doorbell
  IB/mlx5: Implement modify CQ
  IB/mlx5: Add support for resize CQ
  mlx5_core: Improve debugfs readability
  mlx5_core: Fix PowerPC support
  IB/mlx5: Allow creation of QPs with zero-length work queues
  IB/mlx5: Abort driver cleanup if teardown hca fails
  IB/mlx5: Remove old field for create mkey mailbox
  IB/mlx5: Verify reserved fields are cleared

Haggai Eran (1):
  mlx5_core: Fix out arg size in access_register command

Ira Weiny (1):
  IB/qib: Fix QP check when looping back to/from QP1

Julia Lawall (1):
  IB/mlx4: Fix error return code

Matan Barak (9):
  IB/core: Add flow steering support for IPoIB UD traffic
  IB/core: Add support for IB L2 device-managed steering
  mlx4_core: Add support for steerable IB UD QPs
  IB/mlx4: Enable device-managed steering support for IB ports too
  IB/mlx4: Add mechanism to support flow steering over IB links
  IB/mlx4: Add support for steerable IB UD QPs
  IB/core: Ethernet L2 attributes in verbs/cm structures
  IB/core: Make ib_addr a core IB module
  IB/mlx4: Add dependency INET

Michal Schmidt (1):
  IPoIB: Report operstate consistently when brought up without a link

Moni Shoua (5):
  IB/cma: IBoE (RoCE) IP-based GID addressing
  IB/mlx4: Use IBoE (RoCE) IP based GIDs in the port GID table
  IB/mlx4: Handle Ethernet L2 parameters for IP based GID addressing
  RDMA/ocrdma: Handle Ethernet L2 parameters for IP based GID addressing
  RDMA/ocrdma: Populate GID table with IP based gids

Or Gerlitz (2):
  IB/core: Resolve Ethernet L2 addresses when modifying QP
  IB/core: Fix unused variable warning

Paul Bolle (1):
  RDMA/cxgb4: Fix gcc warning on 32-bit arch

Roland Dreier (6):
  IB/usnic: Fix typo "Ignorning" -> "Ignoring"
  RDMA/ocrdma: Move ocrdma_inetaddr_event outside of "#if CONFIG_IPV6"
  RDMA/ocrdma: Add dependency on INET
  IB/mlx4: Use IS_ENABLED(CONFIG_IPV6)
  Merge branches 'cma', 'cxgb4', 'flowsteer', 'ipoib', 'misc', 'mlx4', 
'mlx5', 'ocrdma', 'qib', 'srp' and 'usnic' into for-next
  Merge branch 'ip-roce' into for-next

Somnath Kotur (1):
  RDMA/cma: Handle global/non-linklocal IPv6 addresses in 
cma_check_linklocal()

Svetlana Mavrina (1):
  RDMA/amso1100: Add check if cache memory was allocated before freeing it

Upinder Malhi (22):
  IB/usnic: Add Cisco VIC low-level hardware driver
  IB/usnic: Change WARN_ON to lockdep_assert_held
  IB/usnic: Add struct usnic_transport_spec
  IB/usnic: Push all forwarding state to usnic_fwd.[hc]
  IB/usnic: Port over main.c and verbs.c to the usnic_fwd.h
  IB/usnic: Port over usnic_ib_qp_grp.[hc] to new usnic_fwd.h
  IB/usnic: Port over sysfs to new usnic_fwd.h
  IB/usnic: Update ABI and Version file for UDP support
  IB/usnic: Add UDP support to usnic_fwd.[hc]
  IB:usnic: Add UDP support to usnic_transport.[hc]
  IB/usnic: Add UDP support in u*verbs.c, u*main.c and u*util.h
  IB/usnic: Add UDP support in usnic_ib_qp_grp.[hc]
  IB/core: Add RDMA_TRANSPORT_USNIC_UDP
  IB/usnic: Remove superflous parentheses
  IB/usnic: Use for_each_sg instead of a for-loop
  IB/usnic: Expose flows via debugfs
  IB/usnic: Append documentation to usnic_transport.h and cleanup
  IB/usnic: Fix endianness-related warnings
  IB/usnic: Add dependency on CONFIG_INET
  IB/core: Add support for RDMA_NODE_USNIC_UDP
  IB/usnic: Advertise usNIC devices as RDMA_NODE_USNIC_UDP
  IB/usnic: 

[GIT PULL] please pull infiniband.git

2014-01-24 Thread Roland Dreier
Hi Linus,

Please pull from

git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git 
tags/rdma-for-linus



Main batch of InfiniBand/RDMA changes for 3.14:
 - Flow steering for InfiniBand UD traffic
 - IP-based addressing for IBoE aka RoCE
 - Pass SRP submaintainership from Dave to Bart
 - SRP transport fixes from Bart
 - Add the new Cisco usNIC low-level device driver
 - Various other fixes


Bart Van Assche (4):
  scsi_transport_srp: Block rport upon TL error even with fast_io_fail_tmo 
= off
  scsi_transport_srp: Fix a race condition
  scsi_transport_srp: Add rport state diagram
  scsi_transport_srp: Fix kernel-doc warnings

Dan Carpenter (2):
  mlx5_core: Remove dead code
  IB/usnic: Use GFP_ATOMIC under spinlock

David Dillow (1):
  MAINTAINERS: Pass the torch of SRP submaintainership

Devesh Sharma (2):
  RDMA/ocrdma: Fix AV_VALID bit position
  RDMA/ocrdma: Fix OCRDMA_GEN2_FAMILY macro definition

Ding Tianhong (1):
  RDMA/nes: Slight optimization of Ethernet address compare

Eli Cohen (13):
  IB/mlx5: Remove unused code in mr.c
  IB/mlx5: Fix micro UAR allocator
  IB/mlx5: Clear out struct before create QP command
  mlx5_core: Use mlx5 core style warning
  IB/mlx5: Make sure doorbell record is visible before doorbell
  IB/mlx5: Implement modify CQ
  IB/mlx5: Add support for resize CQ
  mlx5_core: Improve debugfs readability
  mlx5_core: Fix PowerPC support
  IB/mlx5: Allow creation of QPs with zero-length work queues
  IB/mlx5: Abort driver cleanup if teardown hca fails
  IB/mlx5: Remove old field for create mkey mailbox
  IB/mlx5: Verify reserved fields are cleared

Haggai Eran (1):
  mlx5_core: Fix out arg size in access_register command

Ira Weiny (1):
  IB/qib: Fix QP check when looping back to/from QP1

Julia Lawall (1):
  IB/mlx4: Fix error return code

Matan Barak (9):
  IB/core: Add flow steering support for IPoIB UD traffic
  IB/core: Add support for IB L2 device-managed steering
  mlx4_core: Add support for steerable IB UD QPs
  IB/mlx4: Enable device-managed steering support for IB ports too
  IB/mlx4: Add mechanism to support flow steering over IB links
  IB/mlx4: Add support for steerable IB UD QPs
  IB/core: Ethernet L2 attributes in verbs/cm structures
  IB/core: Make ib_addr a core IB module
  IB/mlx4: Add dependency INET

Michal Schmidt (1):
  IPoIB: Report operstate consistently when brought up without a link

Moni Shoua (5):
  IB/cma: IBoE (RoCE) IP-based GID addressing
  IB/mlx4: Use IBoE (RoCE) IP based GIDs in the port GID table
  IB/mlx4: Handle Ethernet L2 parameters for IP based GID addressing
  RDMA/ocrdma: Handle Ethernet L2 parameters for IP based GID addressing
  RDMA/ocrdma: Populate GID table with IP based gids

Or Gerlitz (2):
  IB/core: Resolve Ethernet L2 addresses when modifying QP
  IB/core: Fix unused variable warning

Paul Bolle (1):
  RDMA/cxgb4: Fix gcc warning on 32-bit arch

Roland Dreier (6):
  IB/usnic: Fix typo Ignorning - Ignoring
  RDMA/ocrdma: Move ocrdma_inetaddr_event outside of #if CONFIG_IPV6
  RDMA/ocrdma: Add dependency on INET
  IB/mlx4: Use IS_ENABLED(CONFIG_IPV6)
  Merge branches 'cma', 'cxgb4', 'flowsteer', 'ipoib', 'misc', 'mlx4', 
'mlx5', 'ocrdma', 'qib', 'srp' and 'usnic' into for-next
  Merge branch 'ip-roce' into for-next

Somnath Kotur (1):
  RDMA/cma: Handle global/non-linklocal IPv6 addresses in 
cma_check_linklocal()

Svetlana Mavrina (1):
  RDMA/amso1100: Add check if cache memory was allocated before freeing it

Upinder Malhi (22):
  IB/usnic: Add Cisco VIC low-level hardware driver
  IB/usnic: Change WARN_ON to lockdep_assert_held
  IB/usnic: Add struct usnic_transport_spec
  IB/usnic: Push all forwarding state to usnic_fwd.[hc]
  IB/usnic: Port over main.c and verbs.c to the usnic_fwd.h
  IB/usnic: Port over usnic_ib_qp_grp.[hc] to new usnic_fwd.h
  IB/usnic: Port over sysfs to new usnic_fwd.h
  IB/usnic: Update ABI and Version file for UDP support
  IB/usnic: Add UDP support to usnic_fwd.[hc]
  IB:usnic: Add UDP support to usnic_transport.[hc]
  IB/usnic: Add UDP support in u*verbs.c, u*main.c and u*util.h
  IB/usnic: Add UDP support in usnic_ib_qp_grp.[hc]
  IB/core: Add RDMA_TRANSPORT_USNIC_UDP
  IB/usnic: Remove superflous parentheses
  IB/usnic: Use for_each_sg instead of a for-loop
  IB/usnic: Expose flows via debugfs
  IB/usnic: Append documentation to usnic_transport.h and cleanup
  IB/usnic: Fix endianness-related warnings
  IB/usnic: Add dependency on CONFIG_INET
  IB/core: Add support for RDMA_NODE_USNIC_UDP
  IB/usnic: Advertise usNIC devices as RDMA_NODE_USNIC_UDP
  IB/usnic: Set 

[GIT PULL] please pull infiniband.git

2013-12-23 Thread Roland Dreier
Hi Linus,

Please pull from

git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git 
tags/rdma-for-linus

The following changes since commit 374b105797c3d4f29c685f3be535c35f5689b30e:

  Linux 3.13-rc3 (2013-12-06 09:34:04 -0800)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git 
tags/rdma-for-linus

for you to fetch changes up to 22f12c60e12a4112fdca31582e66fe501600ee2b:

  Merge branches 'cxgb4', 'flowsteer' and 'misc' into for-linus (2013-12-23 
09:19:02 -0800)



Last batch of InfiniBand/RDMA changes for 3.13 / 2014:
 - Additional checks for uverbs to ensure forward compatibility, handle
   malformed input better.
 - Fix potential use-after-free in iWARP connection manager.
 - Make a function static.


Rashika (1):
  RDMA/cxgb4: Make _c4iw_write_mem_dma() static

Roland Dreier (2):
  IB/uverbs: New macro to set pointers to NULL if length is 0 in 
INIT_UDATA()
  Merge branches 'cxgb4', 'flowsteer' and 'misc' into for-linus

Steve Wise (1):
  RDMA/iwcm: Don't touch cm_id after deref in rem_ref

Yann Droneaud (7):
  IB/core: const'ify inbuf in struct ib_udata
  IB/uverbs: Check reserved field in extended command header
  IB/uverbs: Check comp_mask in destroy_flow
  IB/uverbs: Check reserved fields in create_flow
  IB/uverbs: Set error code when fail to consume all flow_spec items
  IB/uverbs: Check input length in flow steering uverbs
  IB/uverbs: Check access to userspace response buffer in extended command

 drivers/infiniband/core/iwcm.c| 11 +--
 drivers/infiniband/core/uverbs.h  | 10 +-
 drivers/infiniband/core/uverbs_cmd.c  | 17 +
 drivers/infiniband/core/uverbs_main.c | 27 ---
 drivers/infiniband/hw/cxgb4/mem.c |  2 +-
 include/rdma/ib_verbs.h   |  2 +-
 6 files changed, 53 insertions(+), 16 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[GIT PULL] please pull infiniband.git

2013-12-23 Thread Roland Dreier
Hi Linus,

Please pull from

git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git 
tags/rdma-for-linus

The following changes since commit 374b105797c3d4f29c685f3be535c35f5689b30e:

  Linux 3.13-rc3 (2013-12-06 09:34:04 -0800)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git 
tags/rdma-for-linus

for you to fetch changes up to 22f12c60e12a4112fdca31582e66fe501600ee2b:

  Merge branches 'cxgb4', 'flowsteer' and 'misc' into for-linus (2013-12-23 
09:19:02 -0800)



Last batch of InfiniBand/RDMA changes for 3.13 / 2014:
 - Additional checks for uverbs to ensure forward compatibility, handle
   malformed input better.
 - Fix potential use-after-free in iWARP connection manager.
 - Make a function static.


Rashika (1):
  RDMA/cxgb4: Make _c4iw_write_mem_dma() static

Roland Dreier (2):
  IB/uverbs: New macro to set pointers to NULL if length is 0 in 
INIT_UDATA()
  Merge branches 'cxgb4', 'flowsteer' and 'misc' into for-linus

Steve Wise (1):
  RDMA/iwcm: Don't touch cm_id after deref in rem_ref

Yann Droneaud (7):
  IB/core: const'ify inbuf in struct ib_udata
  IB/uverbs: Check reserved field in extended command header
  IB/uverbs: Check comp_mask in destroy_flow
  IB/uverbs: Check reserved fields in create_flow
  IB/uverbs: Set error code when fail to consume all flow_spec items
  IB/uverbs: Check input length in flow steering uverbs
  IB/uverbs: Check access to userspace response buffer in extended command

 drivers/infiniband/core/iwcm.c| 11 +--
 drivers/infiniband/core/uverbs.h  | 10 +-
 drivers/infiniband/core/uverbs_cmd.c  | 17 +
 drivers/infiniband/core/uverbs_main.c | 27 ---
 drivers/infiniband/hw/cxgb4/mem.c |  2 +-
 include/rdma/ib_verbs.h   |  2 +-
 6 files changed, 53 insertions(+), 16 deletions(-)
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [GIT PULL] please pull infiniband.git

2013-11-19 Thread Or Gerlitz

On 18/11/2013 20:40, Roland Dreier wrote:

Hi Linus,

Please pull from

 git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git 
tags/rdma-for-linus



Main batch of InfiniBand/RDMA changes for 3.13:

  - Re-enable flow steering verbs with new improved userspace ABI
  - Fixes for slow connection due to GID lookup scalability
  - IPoIB fixes
  - Many fixes to HW drivers including mlx4, mlx5, ocrdma and qib
  - Further improvements to SRP error handling
  - Add new transport type for Cisco usNIC


Hi Roland, can you spare few words on how you see the RoCE IP based Addressing 
V5 series? we have addressed the concerns you raised re compatibility and also 
simplified the series to avoid using uverbs extensions @ this point, anything 
else left there?

This series is pre-step for submitting SRIOV support to RoCE (the code is ready!) and 
hence no Cloud RoCE upstream solution for VMs before we nail that, it deserves your 
response. I have posted reply on Sep 17th, to your concerns 
http://marc.info/?l=linux-rdma=137945099714426=2 and didn't really hear 
from you. So went ahead and addressed the feedback as we captured it.

Or.


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [GIT PULL] please pull infiniband.git

2013-11-19 Thread Or Gerlitz

On 18/11/2013 20:40, Roland Dreier wrote:

Hi Linus,

Please pull from

 git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git 
tags/rdma-for-linus



Main batch of InfiniBand/RDMA changes for 3.13:

  - Re-enable flow steering verbs with new improved userspace ABI
  - Fixes for slow connection due to GID lookup scalability
  - IPoIB fixes
  - Many fixes to HW drivers including mlx4, mlx5, ocrdma and qib
  - Further improvements to SRP error handling
  - Add new transport type for Cisco usNIC


Hi Roland, can you spare few words on how you see the RoCE IP based Addressing 
V5 series? we have addressed the concerns you raised re compatibility and also 
simplified the series to avoid using uverbs extensions @ this point, anything 
else left there?

This series is pre-step for submitting SRIOV support to RoCE (the code is ready!) and 
hence no Cloud RoCE upstream solution for VMs before we nail that, it deserves your 
response. I have posted reply on Sep 17th, to your concerns 
http://marc.info/?l=linux-rdmam=137945099714426w=2 and didn't really hear 
from you. So went ahead and addressed the feedback as we captured it.

Or.


--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[GIT PULL] please pull infiniband.git

2013-11-18 Thread Roland Dreier
Hi Linus,

Please pull from

git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git 
tags/rdma-for-linus



Main batch of InfiniBand/RDMA changes for 3.13:

 - Re-enable flow steering verbs with new improved userspace ABI
 - Fixes for slow connection due to GID lookup scalability
 - IPoIB fixes
 - Many fixes to HW drivers including mlx4, mlx5, ocrdma and qib
 - Further improvements to SRP error handling
 - Add new transport type for Cisco usNIC


Bart Van Assche (11):
  IB/srp: Keep rport as long as the IB transport layer
  scsi_transport_srp: Add transport layer error handling
  IB/srp: Use SRP transport layer error recovery
  IB/srp: Start timers if a transport layer error occurs
  scsi_transport_srp: Add periodic reconnect support
  IB/srp: Add periodic reconnect functionality
  IB/srp: Export sgid to sysfs
  IB/srp: Introduce srp_alloc_req_data()
  IB/srp: Make queue size configurable
  IB/srp: Avoid offlining operational SCSI devices
  IB/srp: Report receive errors correctly

Ben Hutchings (1):
  IB/cxgb4: Fix formatting of physical address

Dan Carpenter (1):
  RDMA/ocrdma: Silence an integer underflow warning

Dave Jones (1):
  RDMA/nes: Remove self-assignment from nes_query_qp()

Doug Ledford (2):
  IB/cma: Use cached gids
  IB/cma: Check for GID on listening device first

Eli Cohen (17):
  IB/mlx5: Fix check of number of entries in create CQ
  IB/mlx5: Multithreaded create MR
  IB/mlx5: Fix overflow check in IB_WR_FAST_REG_MR
  IB/mlx5: Simplify mlx5_ib_destroy_srq
  mlx5: Fix cleanup flow when DMA mapping fails
  mlx5: Support communicating arbitrary host page size to firmware
  mlx5: Clear reserved area in set_hca_cap()
  IB/mlx5: Remove dead code in mr.c
  IB/mlx5: Remove "Always false" comparison
  IB/mlx5: Update opt param mask for RTS2RTS
  mlx5: Use enum to indicate adapter page size
  IB/mlx4: Fix endless loop in resize CQ
  IB/core: Encorce MR access rights rules on kernel consumers
  IB/mlx5: Remove dead code
  IB/mlx5: Fix list_del of empty list
  IB/mlx4: Fix device max capabilities check
  IB/mlx5: Fix page shift in create CQ for userspace

Erez Shitrit (6):
  IPoIB: Fix crash in dev_open error flow
  IPoIB: Fix deadlock between dev_change_flags() and __ipoib_dev_flush()
  IPoIB: Avoid flushing the driver workqueue on dev_down
  IPoIB: Fix usage of uninitialized multicast objects
  IPoIB: Add path query flushing in ipoib_ib_dev_cleanup
  IPoIB: Start multicast join process only on active ports

Jack Wang (1):
  IB/srp: Add change_queue_depth and change_queue_type support

Jan Kara (2):
  IB/ipath: Convert ipath_user_sdma_pin_pages() to use get_user_pages_fast()
  IB/qib: Convert qib_user_sdma_pin_pages() to use get_user_pages_fast()

Joe Perches (1):
  IB/ucma: Convert use of typedef ctl_table to struct ctl_table

Latchesar Ionkov (1):
  IB/core: Pass imm_data from ib_uverbs_send_wr to ib_send_wr correctly

Matan Barak (2):
  IB/core: clarify overflow/underflow checks on ib_create/destroy_flow
  IB/core: Re-enable create_flow/destroy_flow uverbs

Mathias Krause (1):
  IB/netlink: Remove superfluous RDMA_NL_GET_OP() masking

Michal Nazarewicz (1):
  RDMA/cma: Remove unused argument and minor dead code

Michal Schmidt (1):
  IPoIB: lower NAPI weight

Mike Marciniszyn (2):
  IB/qib: Fix checkpatch __packed warnings
  IB/qib: Fix txselect regression

Moshe Lazer (2):
  IB/mlx5: Fix srq free in destroy qp
  mlx5_core: Change optimal_reclaimed_pages for better performance

Naresh Gottumukkala (2):
  RDMA/ocrdma: Fix a crash in rmmod
  RDMA/ocrdma: Remove redundant check in ocrdma_build_fr()

Roland Dreier (1):
  Merge branches 'cma', 'cxgb4', 'flowsteer', 'ipoib', 'misc', 'mlx4', 
'mlx5', 'nes', 'ocrdma', 'qib' and 'srp' into for-next

Sean Hefty (1):
  RDMA/ucma: Discard events for IDs not yet claimed by user space

Tal Alon (1):
  IPoIB: Change CM skb memory allocation to be non-atomic during init

Upinder Malhi \(umalhi\) (1):
  IB/core: Add Cisco usNIC rdma node and transport types

Vu Pham (2):
  IB/srp: Make transport layer retry count configurable
  IB/srp: Remove target from list before freeing Scsi_Host structure

Yann Droneaud (5):
  IB/core: Rename 'flow' structs to match other uverbs structs
  IB/core: Make uverbs flow structure use names like verbs ones
  IB/core: Use a common header for uverbs flow_specs
  IB/core: Remove ib_uverbs_flow_spec structure from userspace
  IB/core: extended command: an improved infrastructure for uverbs commands

Zhao Hongjiang (1):
  IB/cm: Convert to using idr_alloc_cyclic()

 Documentation/ABI/stable/sysfs-driver-ib_srp   |  13 +
 

[GIT PULL] please pull infiniband.git

2013-11-18 Thread Roland Dreier
Hi Linus,

Please pull from

git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git 
tags/rdma-for-linus



Main batch of InfiniBand/RDMA changes for 3.13:

 - Re-enable flow steering verbs with new improved userspace ABI
 - Fixes for slow connection due to GID lookup scalability
 - IPoIB fixes
 - Many fixes to HW drivers including mlx4, mlx5, ocrdma and qib
 - Further improvements to SRP error handling
 - Add new transport type for Cisco usNIC


Bart Van Assche (11):
  IB/srp: Keep rport as long as the IB transport layer
  scsi_transport_srp: Add transport layer error handling
  IB/srp: Use SRP transport layer error recovery
  IB/srp: Start timers if a transport layer error occurs
  scsi_transport_srp: Add periodic reconnect support
  IB/srp: Add periodic reconnect functionality
  IB/srp: Export sgid to sysfs
  IB/srp: Introduce srp_alloc_req_data()
  IB/srp: Make queue size configurable
  IB/srp: Avoid offlining operational SCSI devices
  IB/srp: Report receive errors correctly

Ben Hutchings (1):
  IB/cxgb4: Fix formatting of physical address

Dan Carpenter (1):
  RDMA/ocrdma: Silence an integer underflow warning

Dave Jones (1):
  RDMA/nes: Remove self-assignment from nes_query_qp()

Doug Ledford (2):
  IB/cma: Use cached gids
  IB/cma: Check for GID on listening device first

Eli Cohen (17):
  IB/mlx5: Fix check of number of entries in create CQ
  IB/mlx5: Multithreaded create MR
  IB/mlx5: Fix overflow check in IB_WR_FAST_REG_MR
  IB/mlx5: Simplify mlx5_ib_destroy_srq
  mlx5: Fix cleanup flow when DMA mapping fails
  mlx5: Support communicating arbitrary host page size to firmware
  mlx5: Clear reserved area in set_hca_cap()
  IB/mlx5: Remove dead code in mr.c
  IB/mlx5: Remove Always false comparison
  IB/mlx5: Update opt param mask for RTS2RTS
  mlx5: Use enum to indicate adapter page size
  IB/mlx4: Fix endless loop in resize CQ
  IB/core: Encorce MR access rights rules on kernel consumers
  IB/mlx5: Remove dead code
  IB/mlx5: Fix list_del of empty list
  IB/mlx4: Fix device max capabilities check
  IB/mlx5: Fix page shift in create CQ for userspace

Erez Shitrit (6):
  IPoIB: Fix crash in dev_open error flow
  IPoIB: Fix deadlock between dev_change_flags() and __ipoib_dev_flush()
  IPoIB: Avoid flushing the driver workqueue on dev_down
  IPoIB: Fix usage of uninitialized multicast objects
  IPoIB: Add path query flushing in ipoib_ib_dev_cleanup
  IPoIB: Start multicast join process only on active ports

Jack Wang (1):
  IB/srp: Add change_queue_depth and change_queue_type support

Jan Kara (2):
  IB/ipath: Convert ipath_user_sdma_pin_pages() to use get_user_pages_fast()
  IB/qib: Convert qib_user_sdma_pin_pages() to use get_user_pages_fast()

Joe Perches (1):
  IB/ucma: Convert use of typedef ctl_table to struct ctl_table

Latchesar Ionkov (1):
  IB/core: Pass imm_data from ib_uverbs_send_wr to ib_send_wr correctly

Matan Barak (2):
  IB/core: clarify overflow/underflow checks on ib_create/destroy_flow
  IB/core: Re-enable create_flow/destroy_flow uverbs

Mathias Krause (1):
  IB/netlink: Remove superfluous RDMA_NL_GET_OP() masking

Michal Nazarewicz (1):
  RDMA/cma: Remove unused argument and minor dead code

Michal Schmidt (1):
  IPoIB: lower NAPI weight

Mike Marciniszyn (2):
  IB/qib: Fix checkpatch __packed warnings
  IB/qib: Fix txselect regression

Moshe Lazer (2):
  IB/mlx5: Fix srq free in destroy qp
  mlx5_core: Change optimal_reclaimed_pages for better performance

Naresh Gottumukkala (2):
  RDMA/ocrdma: Fix a crash in rmmod
  RDMA/ocrdma: Remove redundant check in ocrdma_build_fr()

Roland Dreier (1):
  Merge branches 'cma', 'cxgb4', 'flowsteer', 'ipoib', 'misc', 'mlx4', 
'mlx5', 'nes', 'ocrdma', 'qib' and 'srp' into for-next

Sean Hefty (1):
  RDMA/ucma: Discard events for IDs not yet claimed by user space

Tal Alon (1):
  IPoIB: Change CM skb memory allocation to be non-atomic during init

Upinder Malhi \(umalhi\) (1):
  IB/core: Add Cisco usNIC rdma node and transport types

Vu Pham (2):
  IB/srp: Make transport layer retry count configurable
  IB/srp: Remove target from list before freeing Scsi_Host structure

Yann Droneaud (5):
  IB/core: Rename 'flow' structs to match other uverbs structs
  IB/core: Make uverbs flow structure use names like verbs ones
  IB/core: Use a common header for uverbs flow_specs
  IB/core: Remove ib_uverbs_flow_spec structure from userspace
  IB/core: extended command: an improved infrastructure for uverbs commands

Zhao Hongjiang (1):
  IB/cm: Convert to using idr_alloc_cyclic()

 Documentation/ABI/stable/sysfs-driver-ib_srp   |  13 +
 

[GIT PULL] please pull infiniband.git

2013-10-22 Thread Roland Dreier
Hi Linus,

This is the "disable ABI we don't want to freeze" pull I warned you about.

Please pull from

git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git 
tags/rdma-for-linus


Disable not-quite-ready userspace ABI for IB flow steering


Yann Droneaud (1):
  IB/core: Temporarily disable create_flow/destroy_flow uverbs

 drivers/infiniband/Kconfig| 11 +++
 drivers/infiniband/core/uverbs.h  |  2 ++
 drivers/infiniband/core/uverbs_cmd.c  |  4 
 drivers/infiniband/core/uverbs_main.c |  6 ++
 drivers/infiniband/hw/mlx4/main.c |  2 ++
 include/uapi/rdma/ib_user_verbs.h |  6 ++
 6 files changed, 31 insertions(+)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[GIT PULL] please pull infiniband.git

2013-10-22 Thread Roland Dreier
Hi Linus,

This is the disable ABI we don't want to freeze pull I warned you about.

Please pull from

git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git 
tags/rdma-for-linus


Disable not-quite-ready userspace ABI for IB flow steering


Yann Droneaud (1):
  IB/core: Temporarily disable create_flow/destroy_flow uverbs

 drivers/infiniband/Kconfig| 11 +++
 drivers/infiniband/core/uverbs.h  |  2 ++
 drivers/infiniband/core/uverbs_cmd.c  |  4 
 drivers/infiniband/core/uverbs_main.c |  6 ++
 drivers/infiniband/hw/mlx4/main.c |  2 ++
 include/uapi/rdma/ib_user_verbs.h |  6 ++
 6 files changed, 31 insertions(+)
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [GIT PULL] please pull infiniband.git

2013-10-15 Thread Roland Dreier
On Mon, Oct 14, 2013 at 5:52 PM, Linus Torvalds
 wrote:
> So get your act together, and push back on the people you are supposed
> to manage. Because this is *not* acceptable for post-rc5, and I'm
> giving this single warning. Next time, I'll just ignore the sh*t you
> send me.
>
> Comprende?

Fair enough.  I've been AWOL for a month due to real life / non-kernel
stuff, and I didn't want the Mellanox guys to miss a kernel cycle just
because I couldn't get my act together.  So this one is totally on me
-- I know it's late in the cycle and I tried to sneak it in.

I do expect to send one more patch turning off a not-fully-baked new
feature for 3.12, but other than that everything else will wait for
3.13.

 - R.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [GIT PULL] please pull infiniband.git

2013-10-15 Thread Roland Dreier
On Mon, Oct 14, 2013 at 5:52 PM, Linus Torvalds
torva...@linux-foundation.org wrote:
 So get your act together, and push back on the people you are supposed
 to manage. Because this is *not* acceptable for post-rc5, and I'm
 giving this single warning. Next time, I'll just ignore the sh*t you
 send me.

 Comprende?

Fair enough.  I've been AWOL for a month due to real life / non-kernel
stuff, and I didn't want the Mellanox guys to miss a kernel cycle just
because I couldn't get my act together.  So this one is totally on me
-- I know it's late in the cycle and I tried to sneak it in.

I do expect to send one more patch turning off a not-fully-baked new
feature for 3.12, but other than that everything else will wait for
3.13.

 - R.
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [GIT PULL] please pull infiniband.git

2013-10-14 Thread Linus Torvalds
On Mon, Oct 14, 2013 at 11:16 AM, Roland Dreier  wrote:
>
> Last batch of IB changes for 3.12: many mlx5 hardware driver fixes plus
> one trivial semicolon cleanup.

Quite frankly, these mlx5 updates don't look like regression fixes.
They look like "continued development" to me, and seem to be things
that never worked. At least some of them look like performance
enhancements, in fact, not even resembling bugfixes. Others look like
"not a bug, but let's improve random behavior".

I pulled this once, because hardly anybody really cares. But the other
side of that "nobody cares" is that I might as well not have pulled.
If this kind of "continued development" patches keep happening, I'll
just start ignoring pull requests after the merge window.

So get your act together, and push back on the people you are supposed
to manage. Because this is *not* acceptable for post-rc5, and I'm
giving this single warning. Next time, I'll just ignore the sh*t you
send me.

Comprende?

 Linus
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[GIT PULL] please pull infiniband.git

2013-10-14 Thread Roland Dreier
Hi Linus,

Please pull from

git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git 
tags/rdma-for-linus



Last batch of IB changes for 3.12: many mlx5 hardware driver fixes plus
one trivial semicolon cleanup.


Eli Cohen (12):
  IB/mlx5: Fix send work queue size calculation
  mlx5: Remove checksum on command interface commands
  IB/mlx5: Decrease memory consumption of mr caches
  IB/mlx5: Avoid async events on invalid port number
  mlx5: Keep polling to reclaim pages while any returned
  mlx5: Fix layout of struct mlx5_init_seg
  IB/mlx5: Disable atomic operations
  mlx5: Fix opt param mask for sq err to rts transition
  IB/mlx5: Fix opt param mask according to firmware spec
  mlx5: Fix error code translation from firmware to driver
  IB/mlx5: Fix alignment of reg umr gather buffers
  IB/mlx5: Ensure proper synchronization accessing memory

Joe Perches (1):
  IB: Remove unnecessary semicolons

Moshe Lazer (2):
  IB/mlx5: Flush cache workqueue before destroying it
  IB/mlx5: Fix memory leak in mlx5_ib_create_srq

Roland Dreier (1):
  Merge branch 'misc' into for-next

Sagi Grimberg (1):
  IB/mlx5: Fix eq names to display nicely in /proc/interrupts

 drivers/infiniband/hw/amso1100/c2_ae.c |  2 +-
 drivers/infiniband/hw/mlx5/main.c  | 16 +++--
 drivers/infiniband/hw/mlx5/mr.c| 70 +--
 drivers/infiniband/hw/mlx5/qp.c| 80 --
 drivers/infiniband/hw/mlx5/srq.c   |  4 +-
 drivers/infiniband/hw/mthca/mthca_eq.c |  2 +-
 drivers/infiniband/hw/ocrdma/ocrdma_hw.c   |  6 +-
 drivers/infiniband/hw/ocrdma/ocrdma_main.c |  2 +-
 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c|  6 +-
 drivers/net/ethernet/mellanox/mlx5/core/cmd.c  | 28 
 drivers/net/ethernet/mellanox/mlx5/core/eq.c   |  4 +-
 drivers/net/ethernet/mellanox/mlx5/core/main.c | 21 ++
 .../net/ethernet/mellanox/mlx5/core/pagealloc.c| 16 -
 include/linux/mlx5/device.h|  4 +-
 include/linux/mlx5/driver.h|  6 +-
 15 files changed, 126 insertions(+), 141 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[GIT PULL] please pull infiniband.git

2013-10-14 Thread Roland Dreier
Hi Linus,

Please pull from

git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git 
tags/rdma-for-linus



Last batch of IB changes for 3.12: many mlx5 hardware driver fixes plus
one trivial semicolon cleanup.


Eli Cohen (12):
  IB/mlx5: Fix send work queue size calculation
  mlx5: Remove checksum on command interface commands
  IB/mlx5: Decrease memory consumption of mr caches
  IB/mlx5: Avoid async events on invalid port number
  mlx5: Keep polling to reclaim pages while any returned
  mlx5: Fix layout of struct mlx5_init_seg
  IB/mlx5: Disable atomic operations
  mlx5: Fix opt param mask for sq err to rts transition
  IB/mlx5: Fix opt param mask according to firmware spec
  mlx5: Fix error code translation from firmware to driver
  IB/mlx5: Fix alignment of reg umr gather buffers
  IB/mlx5: Ensure proper synchronization accessing memory

Joe Perches (1):
  IB: Remove unnecessary semicolons

Moshe Lazer (2):
  IB/mlx5: Flush cache workqueue before destroying it
  IB/mlx5: Fix memory leak in mlx5_ib_create_srq

Roland Dreier (1):
  Merge branch 'misc' into for-next

Sagi Grimberg (1):
  IB/mlx5: Fix eq names to display nicely in /proc/interrupts

 drivers/infiniband/hw/amso1100/c2_ae.c |  2 +-
 drivers/infiniband/hw/mlx5/main.c  | 16 +++--
 drivers/infiniband/hw/mlx5/mr.c| 70 +--
 drivers/infiniband/hw/mlx5/qp.c| 80 --
 drivers/infiniband/hw/mlx5/srq.c   |  4 +-
 drivers/infiniband/hw/mthca/mthca_eq.c |  2 +-
 drivers/infiniband/hw/ocrdma/ocrdma_hw.c   |  6 +-
 drivers/infiniband/hw/ocrdma/ocrdma_main.c |  2 +-
 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c|  6 +-
 drivers/net/ethernet/mellanox/mlx5/core/cmd.c  | 28 
 drivers/net/ethernet/mellanox/mlx5/core/eq.c   |  4 +-
 drivers/net/ethernet/mellanox/mlx5/core/main.c | 21 ++
 .../net/ethernet/mellanox/mlx5/core/pagealloc.c| 16 -
 include/linux/mlx5/device.h|  4 +-
 include/linux/mlx5/driver.h|  6 +-
 15 files changed, 126 insertions(+), 141 deletions(-)
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [GIT PULL] please pull infiniband.git

2013-10-14 Thread Linus Torvalds
On Mon, Oct 14, 2013 at 11:16 AM, Roland Dreier rol...@kernel.org wrote:

 Last batch of IB changes for 3.12: many mlx5 hardware driver fixes plus
 one trivial semicolon cleanup.

Quite frankly, these mlx5 updates don't look like regression fixes.
They look like continued development to me, and seem to be things
that never worked. At least some of them look like performance
enhancements, in fact, not even resembling bugfixes. Others look like
not a bug, but let's improve random behavior.

I pulled this once, because hardly anybody really cares. But the other
side of that nobody cares is that I might as well not have pulled.
If this kind of continued development patches keep happening, I'll
just start ignoring pull requests after the merge window.

So get your act together, and push back on the people you are supposed
to manage. Because this is *not* acceptable for post-rc5, and I'm
giving this single warning. Next time, I'll just ignore the sh*t you
send me.

Comprende?

 Linus
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [GIT PULL] please pull infiniband.git

2013-09-05 Thread David Miller
From: Linus Torvalds 
Date: Thu, 5 Sep 2013 09:42:05 -0700

> On Wed, Sep 4, 2013 at 5:31 PM, Stephen Rothwell  
> wrote:
>>
>> I am carrying the following merge fix patch for a semantic conflict
>> between this tree and Dave's net-next tree:
> 
> Ok. I haven't gotten David's pull request yet, and unless I get it
> later today I'll probably forget this.
> 
> David, mind reminding me when you do send (or maybe cc'ing Stephen, so
> that he will)?

Sure, I was planning on send out the pull request by the end of today.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [GIT PULL] please pull infiniband.git

2013-09-05 Thread Linus Torvalds
On Wed, Sep 4, 2013 at 5:31 PM, Stephen Rothwell  wrote:
>
> I am carrying the following merge fix patch for a semantic conflict
> between this tree and Dave's net-next tree:

Ok. I haven't gotten David's pull request yet, and unless I get it
later today I'll probably forget this.

David, mind reminding me when you do send (or maybe cc'ing Stephen, so
that he will)?

  Linus
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [GIT PULL] please pull infiniband.git

2013-09-05 Thread David Miller
From: Linus Torvalds torva...@linux-foundation.org
Date: Thu, 5 Sep 2013 09:42:05 -0700

 On Wed, Sep 4, 2013 at 5:31 PM, Stephen Rothwell s...@canb.auug.org.au 
 wrote:

 I am carrying the following merge fix patch for a semantic conflict
 between this tree and Dave's net-next tree:
 
 Ok. I haven't gotten David's pull request yet, and unless I get it
 later today I'll probably forget this.
 
 David, mind reminding me when you do send (or maybe cc'ing Stephen, so
 that he will)?

Sure, I was planning on send out the pull request by the end of today.
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [GIT PULL] please pull infiniband.git

2013-09-05 Thread Linus Torvalds
On Wed, Sep 4, 2013 at 5:31 PM, Stephen Rothwell s...@canb.auug.org.au wrote:

 I am carrying the following merge fix patch for a semantic conflict
 between this tree and Dave's net-next tree:

Ok. I haven't gotten David's pull request yet, and unless I get it
later today I'll probably forget this.

David, mind reminding me when you do send (or maybe cc'ing Stephen, so
that he will)?

  Linus
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [GIT PULL] please pull infiniband.git

2013-09-04 Thread Stephen Rothwell
Hi Linus,

On Wed,  4 Sep 2013 10:03:38 -0700 Roland Dreier  wrote:
>
> Please pull from
> 
> git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git 
> tags/rdma-for-linus

I am carrying the following merge fix patch for a semantic conflict
between this tree and Dave's net-next tree:

From: Stephen Rothwell 
Date: Tue, 13 Aug 2013 13:01:49 +1000
Subject: [PATCH] cxgb4: fix up for bond_for_each_slave API change

Signed-off-by: Stephen Rothwell 
---
 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c 
b/drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
index 038df4b..b6ad557 100644
--- a/drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
+++ b/drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
@@ -3982,7 +3982,6 @@ static int cxgb4_inet6addr_handler(struct notifier_block 
*this,
struct inet6_ifaddr *ifa = data;
struct net_device *event_dev;
int ret = NOTIFY_DONE;
-   int cnt;
struct bonding *bond = netdev_priv(ifa->idev->dev);
struct slave *slave;
struct pci_dev *first_pdev = NULL;
@@ -3996,7 +3995,7 @@ static int cxgb4_inet6addr_handler(struct notifier_block 
*this,
 * in all of them only once.
 */
read_lock(>lock);
-   bond_for_each_slave(bond, slave, cnt) {
+   bond_for_each_slave(bond, slave) {
if (!first_pdev) {
ret = clip_add(slave->dev, ifa, event);
/* If clip_add is success then only initialize
-- 
1.8.4.rc0

-- 
Cheers,
Stephen Rothwells...@canb.auug.org.au


pgpIJ4WexU_9i.pgp
Description: PGP signature


[GIT PULL] please pull infiniband.git

2013-09-04 Thread Roland Dreier
Hi Linus,

Please pull from

git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git 
tags/rdma-for-linus



Main batch of InfiniBand/RDMA changes for 3.12 merge window:

 - Large ocrdma HW driver update: add "fast register" work requests,
   fixes, cleanups
 - Add receive flow steering support for raw QPs
 - Fix IPoIB neighbour race that leads to crash
 - iSER updates including support for using "fast register" memory
   registration
 - IPv6 support for iWARP
 - XRC transport fixes


CQ Tang (1):
  IB/qib: Improve SDMA performance

Hadar Hen Zion (3):
  IB/core: Add receive flow steering support
  IB/core: Export ib_create/destroy_flow through uverbs
  IB/mlx4: Add receive flow steering support

Igor Ivanov (1):
  IB/core: Infrastructure for extensible uverbs commands

Ira Weiny (1):
  IB/qib: Move COUNTER_MASK definition within qib_mad.h header guards

Jim Foraker (1):
  IPoIB: Fix race in deleting ipoib_neigh entries

Matan Barak (1):
  IB/core: Better checking of userspace values for receive flow steering

Naresh Gottumukkala (19):
  RDMA/ocrdma: Style and redundant code cleanup
  RDMA/ocrdma: Remove redundant dev reference
  RDMA/ocrdma: Don't allow zero/invalid sgid usage
  RDMA/ocrdma: Remove driver QP state machine
  RDMA/ocrdma: Remove __packed
  RDMA/ocrdma: Cache recv DB until QP moved to RTR
  RDMA/ocrdma: Create IRD queue fix
  RDMA/ocrdma: Add support for fast register work requests (FRWR)
  RDMA/ocrdma: Remove the MTU check based on Ethernet MTU
  RDMA/ocrdma: Fix to work with even a single MSI-X vector
  RDMA/ocrdma: For ERX2 irrespective of Qid, num_posted offset is 24
  RDMA/ocrdma: FRMA code cleanup
  RDMA/ocrdma: Dont use PD 0 for userpace CQ DB
  RDMA/ocrdma: Increase STAG array size
  RDMA/ocrdma: Fix for displaying proper link speed
  RDMA/ocrdma: Consider multiple SGES in case of DPP
  RDMA/ocrdma: Add ABI versioning support
  RDMA/ocrdma: Fill PVID in UMC case
  RDMA/ocrdma: Fix passing wrong opcode to modify_srq

Or Gerlitz (1):
  IB/iser: Use proper debug level value for info prints

Paul Bolle (1):
  IB/qib: Make qib_driver static

Roi Dayan (1):
  IB/iser: Fix possible memory leak in iser_create_frwr_pool()

Roland Dreier (2):
  RDMA/ocrdma: Fix compiler warning about int/pointer size mismatch
  Merge branches 'cxgb4', 'flowsteer', 'ipoib', 'iser', 'mlx4', 'ocrdma' 
and 'qib' into for-next

Sagi Grimberg (5):
  IB/iser: Generalize rdma memory registration
  IB/iser: Handle unaligned SG in separate function
  IB/iser: Place the fmr pool into a union in iser's IB conn struct
  IB/iser: Introduce fast memory registration model (FRWR)
  IB/iser: Fix redundant pointer check in dealloc flow

Shlomo Pongratz (2):
  IB/iser: Restructure allocation/deallocation of connection resources
  IB/iser: Accept session->cmds_max from user space

Steve Wise (9):
  RDMA/cma: Add IPv6 support for iWARP
  RDMA/cxgb4: Use correct bit shift macros for vlan filter tuples
  RDMA/cxgb4: Handle newer firmware changes
  RDMA/cxgb4: Fix QP flush logic
  RDMA/cxgb4: Fix accounting for unsignaled SQ WRs to deal with wrap
  RDMA/cxgb4: Set arp error handler for PASS_ACCEPT_RPL messages
  RDMA/cxgb4: Always do GTS write if cidx_inc == CIDXINC_MASK
  RDMA/cxgb4: Advertise ~0ULL as max MR size
  RDMA/cxgb4: Issue RI.FINI before closing when entering TERM

Vipul Pandya (3):
  cxgb4: Add routines to create and remove listening IPv6 servers
  cxgb4: Add CLIP support to store compressed IPv6 address
  RDMA/cxgb4: Add support for active and passive open connection with IPv6 
address

Yijing Wang (1):
  IB/qib: Clean up unnecessary MSI/MSI-X capability find

Yishai Hadas (3):
  mlx4_core: Fix XRC QPs detection in the resource tracker
  IB/core: Add locking around event dispatching on XRC target QPs
  IB/core: Fixes to XRC reference counting in uverbs

 drivers/infiniband/core/cma.c  |  44 +-
 drivers/infiniband/core/uverbs.h   |   4 +
 drivers/infiniband/core/uverbs_cmd.c   | 250 +-
 drivers/infiniband/core/uverbs_main.c  |  42 +-
 drivers/infiniband/core/verbs.c|  30 +
 drivers/infiniband/hw/amso1100/c2_ae.c |  18 +-
 drivers/infiniband/hw/amso1100/c2_cm.c |  16 +-
 drivers/infiniband/hw/cxgb3/iwch_cm.c  |  46 +-
 drivers/infiniband/hw/cxgb4/Kconfig|   2 +-
 drivers/infiniband/hw/cxgb4/cm.c   | 860 ---
 drivers/infiniband/hw/cxgb4/cq.c   | 329 +---
 drivers/infiniband/hw/cxgb4/device.c   | 116 ++-
 drivers/infiniband/hw/cxgb4/ev.c   |  10 -
 

[GIT PULL] please pull infiniband.git

2013-09-04 Thread Roland Dreier
Hi Linus,

Please pull from

git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git 
tags/rdma-for-linus



Main batch of InfiniBand/RDMA changes for 3.12 merge window:

 - Large ocrdma HW driver update: add fast register work requests,
   fixes, cleanups
 - Add receive flow steering support for raw QPs
 - Fix IPoIB neighbour race that leads to crash
 - iSER updates including support for using fast register memory
   registration
 - IPv6 support for iWARP
 - XRC transport fixes


CQ Tang (1):
  IB/qib: Improve SDMA performance

Hadar Hen Zion (3):
  IB/core: Add receive flow steering support
  IB/core: Export ib_create/destroy_flow through uverbs
  IB/mlx4: Add receive flow steering support

Igor Ivanov (1):
  IB/core: Infrastructure for extensible uverbs commands

Ira Weiny (1):
  IB/qib: Move COUNTER_MASK definition within qib_mad.h header guards

Jim Foraker (1):
  IPoIB: Fix race in deleting ipoib_neigh entries

Matan Barak (1):
  IB/core: Better checking of userspace values for receive flow steering

Naresh Gottumukkala (19):
  RDMA/ocrdma: Style and redundant code cleanup
  RDMA/ocrdma: Remove redundant dev reference
  RDMA/ocrdma: Don't allow zero/invalid sgid usage
  RDMA/ocrdma: Remove driver QP state machine
  RDMA/ocrdma: Remove __packed
  RDMA/ocrdma: Cache recv DB until QP moved to RTR
  RDMA/ocrdma: Create IRD queue fix
  RDMA/ocrdma: Add support for fast register work requests (FRWR)
  RDMA/ocrdma: Remove the MTU check based on Ethernet MTU
  RDMA/ocrdma: Fix to work with even a single MSI-X vector
  RDMA/ocrdma: For ERX2 irrespective of Qid, num_posted offset is 24
  RDMA/ocrdma: FRMA code cleanup
  RDMA/ocrdma: Dont use PD 0 for userpace CQ DB
  RDMA/ocrdma: Increase STAG array size
  RDMA/ocrdma: Fix for displaying proper link speed
  RDMA/ocrdma: Consider multiple SGES in case of DPP
  RDMA/ocrdma: Add ABI versioning support
  RDMA/ocrdma: Fill PVID in UMC case
  RDMA/ocrdma: Fix passing wrong opcode to modify_srq

Or Gerlitz (1):
  IB/iser: Use proper debug level value for info prints

Paul Bolle (1):
  IB/qib: Make qib_driver static

Roi Dayan (1):
  IB/iser: Fix possible memory leak in iser_create_frwr_pool()

Roland Dreier (2):
  RDMA/ocrdma: Fix compiler warning about int/pointer size mismatch
  Merge branches 'cxgb4', 'flowsteer', 'ipoib', 'iser', 'mlx4', 'ocrdma' 
and 'qib' into for-next

Sagi Grimberg (5):
  IB/iser: Generalize rdma memory registration
  IB/iser: Handle unaligned SG in separate function
  IB/iser: Place the fmr pool into a union in iser's IB conn struct
  IB/iser: Introduce fast memory registration model (FRWR)
  IB/iser: Fix redundant pointer check in dealloc flow

Shlomo Pongratz (2):
  IB/iser: Restructure allocation/deallocation of connection resources
  IB/iser: Accept session-cmds_max from user space

Steve Wise (9):
  RDMA/cma: Add IPv6 support for iWARP
  RDMA/cxgb4: Use correct bit shift macros for vlan filter tuples
  RDMA/cxgb4: Handle newer firmware changes
  RDMA/cxgb4: Fix QP flush logic
  RDMA/cxgb4: Fix accounting for unsignaled SQ WRs to deal with wrap
  RDMA/cxgb4: Set arp error handler for PASS_ACCEPT_RPL messages
  RDMA/cxgb4: Always do GTS write if cidx_inc == CIDXINC_MASK
  RDMA/cxgb4: Advertise ~0ULL as max MR size
  RDMA/cxgb4: Issue RI.FINI before closing when entering TERM

Vipul Pandya (3):
  cxgb4: Add routines to create and remove listening IPv6 servers
  cxgb4: Add CLIP support to store compressed IPv6 address
  RDMA/cxgb4: Add support for active and passive open connection with IPv6 
address

Yijing Wang (1):
  IB/qib: Clean up unnecessary MSI/MSI-X capability find

Yishai Hadas (3):
  mlx4_core: Fix XRC QPs detection in the resource tracker
  IB/core: Add locking around event dispatching on XRC target QPs
  IB/core: Fixes to XRC reference counting in uverbs

 drivers/infiniband/core/cma.c  |  44 +-
 drivers/infiniband/core/uverbs.h   |   4 +
 drivers/infiniband/core/uverbs_cmd.c   | 250 +-
 drivers/infiniband/core/uverbs_main.c  |  42 +-
 drivers/infiniband/core/verbs.c|  30 +
 drivers/infiniband/hw/amso1100/c2_ae.c |  18 +-
 drivers/infiniband/hw/amso1100/c2_cm.c |  16 +-
 drivers/infiniband/hw/cxgb3/iwch_cm.c  |  46 +-
 drivers/infiniband/hw/cxgb4/Kconfig|   2 +-
 drivers/infiniband/hw/cxgb4/cm.c   | 860 ---
 drivers/infiniband/hw/cxgb4/cq.c   | 329 +---
 drivers/infiniband/hw/cxgb4/device.c   | 116 ++-
 drivers/infiniband/hw/cxgb4/ev.c   |  10 -
 

Re: [GIT PULL] please pull infiniband.git

2013-09-04 Thread Stephen Rothwell
Hi Linus,

On Wed,  4 Sep 2013 10:03:38 -0700 Roland Dreier rol...@kernel.org wrote:

 Please pull from
 
 git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git 
 tags/rdma-for-linus

I am carrying the following merge fix patch for a semantic conflict
between this tree and Dave's net-next tree:

From: Stephen Rothwell s...@canb.auug.org.au
Date: Tue, 13 Aug 2013 13:01:49 +1000
Subject: [PATCH] cxgb4: fix up for bond_for_each_slave API change

Signed-off-by: Stephen Rothwell s...@canb.auug.org.au
---
 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c 
b/drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
index 038df4b..b6ad557 100644
--- a/drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
+++ b/drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
@@ -3982,7 +3982,6 @@ static int cxgb4_inet6addr_handler(struct notifier_block 
*this,
struct inet6_ifaddr *ifa = data;
struct net_device *event_dev;
int ret = NOTIFY_DONE;
-   int cnt;
struct bonding *bond = netdev_priv(ifa-idev-dev);
struct slave *slave;
struct pci_dev *first_pdev = NULL;
@@ -3996,7 +3995,7 @@ static int cxgb4_inet6addr_handler(struct notifier_block 
*this,
 * in all of them only once.
 */
read_lock(bond-lock);
-   bond_for_each_slave(bond, slave, cnt) {
+   bond_for_each_slave(bond, slave) {
if (!first_pdev) {
ret = clip_add(slave-dev, ifa, event);
/* If clip_add is success then only initialize
-- 
1.8.4.rc0

-- 
Cheers,
Stephen Rothwells...@canb.auug.org.au


pgpIJ4WexU_9i.pgp
Description: PGP signature


[GIT PULL] please pull infiniband.git

2013-08-02 Thread Roland Dreier
Hi Linus,

Please pull from

git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git 
tags/rdma-for-linus



InfiniBand/RDMA fixes for 3.11-rc:
 - Fixes for the newly merged mlx5 hardware driver
 - Stack info leak fixes from Dan Carpenter
 - Fixes for pkey table handling with SR-IOV
 - A few other small things


Andi Shyti (1):
  mlx5_core: Variable may be used uninitialized

Dan Carpenter (6):
  RDMA/cxgb4: Fix stack info leak in c4iw_create_qp()
  RDMA/ocrdma: Fix several stack info leaks
  RDMA/nes: Fix info leaks in nes_create_qp() and nes_create_cq()
  RDMA/cxgb3: Fix stack info leak in iwch_create_cq()
  IB/mlx5: Fix stack info leak in mlx5_ib_alloc_ucontext()
  mlx5_core: Fix use after free in mlx5_cmd_comp_handler()

Eli Cohen (1):
  mlx5_core: Implement new initialization sequence

Erez Shitrit (1):
  IPoIB: Fix pkey change flow for virtualization environments

Jack Morgenstein (2):
  IB/mlx4: Use default pkey when creating tunnel QPs
  IB/core: Create QP1 using the pkey index which contains the default pkey

Mike Marciniszyn (1):
  IB/qib: Add err_decode() call for ring dump

Or Gerlitz (1):
  IPoIB: Make sure child devices use valid/proper pkeys

Paul Bolle (1):
  RDMA/cma: Fix gcc warning

Roland Dreier (3):
  RDMA/ocrdma: Remove unused include
  Revert "RDMA/nes: Fix compilation error when nes_debug is enabled"
  Merge branches 'cma', 'cxgb3', 'cxgb4', 'ipoib', 'misc', 'mlx4', 'mlx5', 
'nes', 'ocrdma' and 'qib' into for-next

Sean Hefty (2):
  RDMA/cma: Fix accessing invalid private data for UD
  RDMA/cma: Only call cma_save_ib_info() for CM REQs

Wei Yongjun (1):
  IB/mlx5: Fix error return code in init_one()

 drivers/infiniband/core/cma.c  | 29 +
 drivers/infiniband/core/mad.c  |  8 ++-
 drivers/infiniband/hw/cxgb3/iwch_provider.c|  1 +
 drivers/infiniband/hw/cxgb4/qp.c   |  2 +
 drivers/infiniband/hw/mlx4/mad.c   | 10 ++-
 drivers/infiniband/hw/mlx5/main.c  | 11 ++--
 drivers/infiniband/hw/mlx5/qp.c|  2 +-
 drivers/infiniband/hw/nes/nes_hw.c |  4 +-
 drivers/infiniband/hw/nes/nes_verbs.c  |  3 +-
 drivers/infiniband/hw/ocrdma/ocrdma_ah.c   |  1 -
 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c|  5 +-
 drivers/infiniband/hw/qib/qib_iba7322.c|  2 +
 drivers/infiniband/hw/qib/qib_sdma.c   |  2 +-
 drivers/infiniband/ulp/ipoib/ipoib_ib.c| 76 ++
 drivers/infiniband/ulp/ipoib/ipoib_main.c  |  2 +-
 drivers/infiniband/ulp/ipoib/ipoib_netlink.c   |  9 +++
 drivers/net/ethernet/mellanox/mlx5/core/cmd.c  | 19 --
 drivers/net/ethernet/mellanox/mlx5/core/main.c | 69 ++--
 .../net/ethernet/mellanox/mlx5/core/pagealloc.c| 20 --
 include/linux/mlx5/device.h| 20 ++
 include/linux/mlx5/driver.h|  4 +-
 21 files changed, 239 insertions(+), 60 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[GIT PULL] please pull infiniband.git

2013-08-02 Thread Roland Dreier
Hi Linus,

Please pull from

git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git 
tags/rdma-for-linus



InfiniBand/RDMA fixes for 3.11-rc:
 - Fixes for the newly merged mlx5 hardware driver
 - Stack info leak fixes from Dan Carpenter
 - Fixes for pkey table handling with SR-IOV
 - A few other small things


Andi Shyti (1):
  mlx5_core: Variable may be used uninitialized

Dan Carpenter (6):
  RDMA/cxgb4: Fix stack info leak in c4iw_create_qp()
  RDMA/ocrdma: Fix several stack info leaks
  RDMA/nes: Fix info leaks in nes_create_qp() and nes_create_cq()
  RDMA/cxgb3: Fix stack info leak in iwch_create_cq()
  IB/mlx5: Fix stack info leak in mlx5_ib_alloc_ucontext()
  mlx5_core: Fix use after free in mlx5_cmd_comp_handler()

Eli Cohen (1):
  mlx5_core: Implement new initialization sequence

Erez Shitrit (1):
  IPoIB: Fix pkey change flow for virtualization environments

Jack Morgenstein (2):
  IB/mlx4: Use default pkey when creating tunnel QPs
  IB/core: Create QP1 using the pkey index which contains the default pkey

Mike Marciniszyn (1):
  IB/qib: Add err_decode() call for ring dump

Or Gerlitz (1):
  IPoIB: Make sure child devices use valid/proper pkeys

Paul Bolle (1):
  RDMA/cma: Fix gcc warning

Roland Dreier (3):
  RDMA/ocrdma: Remove unused include
  Revert RDMA/nes: Fix compilation error when nes_debug is enabled
  Merge branches 'cma', 'cxgb3', 'cxgb4', 'ipoib', 'misc', 'mlx4', 'mlx5', 
'nes', 'ocrdma' and 'qib' into for-next

Sean Hefty (2):
  RDMA/cma: Fix accessing invalid private data for UD
  RDMA/cma: Only call cma_save_ib_info() for CM REQs

Wei Yongjun (1):
  IB/mlx5: Fix error return code in init_one()

 drivers/infiniband/core/cma.c  | 29 +
 drivers/infiniband/core/mad.c  |  8 ++-
 drivers/infiniband/hw/cxgb3/iwch_provider.c|  1 +
 drivers/infiniband/hw/cxgb4/qp.c   |  2 +
 drivers/infiniband/hw/mlx4/mad.c   | 10 ++-
 drivers/infiniband/hw/mlx5/main.c  | 11 ++--
 drivers/infiniband/hw/mlx5/qp.c|  2 +-
 drivers/infiniband/hw/nes/nes_hw.c |  4 +-
 drivers/infiniband/hw/nes/nes_verbs.c  |  3 +-
 drivers/infiniband/hw/ocrdma/ocrdma_ah.c   |  1 -
 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c|  5 +-
 drivers/infiniband/hw/qib/qib_iba7322.c|  2 +
 drivers/infiniband/hw/qib/qib_sdma.c   |  2 +-
 drivers/infiniband/ulp/ipoib/ipoib_ib.c| 76 ++
 drivers/infiniband/ulp/ipoib/ipoib_main.c  |  2 +-
 drivers/infiniband/ulp/ipoib/ipoib_netlink.c   |  9 +++
 drivers/net/ethernet/mellanox/mlx5/core/cmd.c  | 19 --
 drivers/net/ethernet/mellanox/mlx5/core/main.c | 69 ++--
 .../net/ethernet/mellanox/mlx5/core/pagealloc.c| 20 --
 include/linux/mlx5/device.h| 20 ++
 include/linux/mlx5/driver.h|  4 +-
 21 files changed, 239 insertions(+), 60 deletions(-)
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[GIT PULL] please pull infiniband.git

2013-07-11 Thread Roland Dreier
Hi Linus,

Please pull from

git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git 
tags/rdma-for-linus



Main (updated) batch of InfiniBand/RDMA changes for 3.11 merge window:

 - AF_IB (native IB addressing) for CMA from Sean Hefty
 - New mlx5 driver for Mellanox Connect-IB adapters (including post merge 
request fixes)
 - SRP fixes from Bart Van Assche (including fix to first merge request)
 - qib HW driver updates
 - Resurrection of ocrdma HW driver development
 - uverbs conversion to create fds with O_CLOEXEC set
 - Other small changes and fixes


Bart Van Assche (6):
  IB/srp: Avoid skipping srp_reset_host() after a transport error
  IB/srp: Skip host settle delay
  IB/srp: Fail I/O fast if target offline
  IB/srp: Maintain a single connection per I_T nexus
  IB/srp: Make HCA completion vector configurable
  IB/srp: Let srp_abort() return FAST_IO_FAIL if TL offline

Dan Carpenter (2):
  RDMA/cxgb3: Timeout condition is never true
  mlx5: Return -EFAULT instead of -EPERM

Dean Luick (1):
  IB/qib: Log all SDMA errors unconditionally

Dotan Barak (1):
  IB/srp: Fix remove_one crash due to resource exhaustion

Eli Cohen (1):
  mlx5: Add driver for Mellanox Connect-IB adapters

Gottumukkala, Naresh (1):
  RDMA/ocrdma: Remove use_cnt for queues

Jack Morgenstein (1):
  IB/core: Add reserved values to enums for low-level driver use

Mike Marciniszyn (7):
  IB/qib: Add DCA support
  IB/qib: Remove atomic_inc_not_zero() from QP RCU
  IB/qib: Optimize CQ callbacks
  IB/qib: Convert opcode counters to per-context
  IB/qib: Add per-context stats interface
  IB/qib: Add qp_stats debug file
  IB/qib: Fix module-level leak

Mitko Haralanov (1):
  IB/qib: New transmitter tunning settings for Dell 1.1 backplane

Moshe Lazer (1):
  mlx5_core: Adjust hca_cap.uar_page_sz to conform to Connect-IB spec

Naresh Gottumukkala (5):
  RDMA/ocrdma: Use MCC_CREATE_EXT_V1 for MCC create
  RDMA/ocrdma: Replace ocrdma_err with pr_err
  RDMA/ocrdma: Set bad_wr in error case
  RDMA/ocrdma: Change macros to inline funtions
  RDMA/ocrdma: Reorg structures to avoid padding

Ramkrishna Vepa (2):
  IB/qib: Add optional NUMA affinity
  IB/qib: Add dual-rail NUMA awareness for PSM processes

Roland Dreier (6):
  mlx5: Fix parameter type of health_handler_t
  IB/mlx5: Make profile[] static in main.c
  mlx5_core: Fixes for sparse warnings
  IB/uverbs: Use get_unused_fd_flags(O_CLOEXEC) instead of get_unused_fd()
  Merge branches 'af_ib', 'cxgb4', 'misc', 'mlx5', 'ocrdma', 'qib' and 
'srp' into for-next
  Merge branches 'mlx5', 'qib' and 'srp' into for-next

Sean Hefty (28):
  RDMA/cma: Define native IB address
  RDMA/cma: Allow enabling reuseaddr in any state
  RDMA/cma: Include AF_IB in loopback and any address checks
  IB/addr: Add AF_IB support to ip_addr_size
  RDMA/cma: Update port reservation to support AF_IB
  RDMA/cma: Allow user to specify AF_IB when binding
  RDMA/cma: Do not modify sa_family when setting loopback address
  RDMA/cma: Add helper functions to return id address information
  RDMA/cma: Restrict AF_IB loopback to binding to IB devices only
  RDMA/cma: Verify that source and dest sa_family are the same
  RDMA/cma: Add support for AF_IB to rdma_resolve_addr()
  RDMA/cma: Add support for AF_IB to rdma_resolve_route()
  RDMA/cma: Add support for AF_IB to cma_get_service_id()
  RDMA/cma: Remove unused SDP related code
  RDMA/cma: Merge cma_get/save_net_info
  RDMA/cma: Expose private data when using AF_IB
  RDMA/cma: Set qkey for AF_IB
  RDMA/cma: Only listen on IB devices when using AF_IB
  RDMA/ucma: Support querying for AF_IB addresses
  IB/sa: Export function to pack a path record into wire format
  RDMA/ucma: Support querying when IB paths are not reversible
  RDMA/cma: Export cma_get_service_id()
  RDMA/ucma: Add ability to query GID addresses
  RDMA/ucma: Name changes to indicate only IP addresses supported
  RDMA/ucma: Allow user space to bind to AF_IB
  RDMA/ucma: Allow user space to pass AF_IB into resolve
  RDMA/ucma: Allow user space to specify AF_IB when joining multicast
  RDMA/cma: Export AF_IB statistics

Vinit Agnihotri (1):
  IB/qib: Update minor version number

Vu Pham (1):
  IB/srp: Bump driver version and release date

Wei Yongjun (3):
  IB/ehca: Fix error return code in ehca_create_slab_caches()
  RDMA/ocrdma: Fix error return code in ocrdma_set_create_qp_rq_cmd()
  IB/core: Fix error return code in add_port()

 Documentation/ABI/stable/sysfs-driver-ib_srp   |7 +
 MAINTAINERS|   22 +
 drivers/infiniband/Kconfig |1 +
 

[GIT PULL] please pull infiniband.git

2013-07-11 Thread Roland Dreier
Hi Linus,

Please pull from

git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git 
tags/rdma-for-linus



Main (updated) batch of InfiniBand/RDMA changes for 3.11 merge window:

 - AF_IB (native IB addressing) for CMA from Sean Hefty
 - New mlx5 driver for Mellanox Connect-IB adapters (including post merge 
request fixes)
 - SRP fixes from Bart Van Assche (including fix to first merge request)
 - qib HW driver updates
 - Resurrection of ocrdma HW driver development
 - uverbs conversion to create fds with O_CLOEXEC set
 - Other small changes and fixes


Bart Van Assche (6):
  IB/srp: Avoid skipping srp_reset_host() after a transport error
  IB/srp: Skip host settle delay
  IB/srp: Fail I/O fast if target offline
  IB/srp: Maintain a single connection per I_T nexus
  IB/srp: Make HCA completion vector configurable
  IB/srp: Let srp_abort() return FAST_IO_FAIL if TL offline

Dan Carpenter (2):
  RDMA/cxgb3: Timeout condition is never true
  mlx5: Return -EFAULT instead of -EPERM

Dean Luick (1):
  IB/qib: Log all SDMA errors unconditionally

Dotan Barak (1):
  IB/srp: Fix remove_one crash due to resource exhaustion

Eli Cohen (1):
  mlx5: Add driver for Mellanox Connect-IB adapters

Gottumukkala, Naresh (1):
  RDMA/ocrdma: Remove use_cnt for queues

Jack Morgenstein (1):
  IB/core: Add reserved values to enums for low-level driver use

Mike Marciniszyn (7):
  IB/qib: Add DCA support
  IB/qib: Remove atomic_inc_not_zero() from QP RCU
  IB/qib: Optimize CQ callbacks
  IB/qib: Convert opcode counters to per-context
  IB/qib: Add per-context stats interface
  IB/qib: Add qp_stats debug file
  IB/qib: Fix module-level leak

Mitko Haralanov (1):
  IB/qib: New transmitter tunning settings for Dell 1.1 backplane

Moshe Lazer (1):
  mlx5_core: Adjust hca_cap.uar_page_sz to conform to Connect-IB spec

Naresh Gottumukkala (5):
  RDMA/ocrdma: Use MCC_CREATE_EXT_V1 for MCC create
  RDMA/ocrdma: Replace ocrdma_err with pr_err
  RDMA/ocrdma: Set bad_wr in error case
  RDMA/ocrdma: Change macros to inline funtions
  RDMA/ocrdma: Reorg structures to avoid padding

Ramkrishna Vepa (2):
  IB/qib: Add optional NUMA affinity
  IB/qib: Add dual-rail NUMA awareness for PSM processes

Roland Dreier (6):
  mlx5: Fix parameter type of health_handler_t
  IB/mlx5: Make profile[] static in main.c
  mlx5_core: Fixes for sparse warnings
  IB/uverbs: Use get_unused_fd_flags(O_CLOEXEC) instead of get_unused_fd()
  Merge branches 'af_ib', 'cxgb4', 'misc', 'mlx5', 'ocrdma', 'qib' and 
'srp' into for-next
  Merge branches 'mlx5', 'qib' and 'srp' into for-next

Sean Hefty (28):
  RDMA/cma: Define native IB address
  RDMA/cma: Allow enabling reuseaddr in any state
  RDMA/cma: Include AF_IB in loopback and any address checks
  IB/addr: Add AF_IB support to ip_addr_size
  RDMA/cma: Update port reservation to support AF_IB
  RDMA/cma: Allow user to specify AF_IB when binding
  RDMA/cma: Do not modify sa_family when setting loopback address
  RDMA/cma: Add helper functions to return id address information
  RDMA/cma: Restrict AF_IB loopback to binding to IB devices only
  RDMA/cma: Verify that source and dest sa_family are the same
  RDMA/cma: Add support for AF_IB to rdma_resolve_addr()
  RDMA/cma: Add support for AF_IB to rdma_resolve_route()
  RDMA/cma: Add support for AF_IB to cma_get_service_id()
  RDMA/cma: Remove unused SDP related code
  RDMA/cma: Merge cma_get/save_net_info
  RDMA/cma: Expose private data when using AF_IB
  RDMA/cma: Set qkey for AF_IB
  RDMA/cma: Only listen on IB devices when using AF_IB
  RDMA/ucma: Support querying for AF_IB addresses
  IB/sa: Export function to pack a path record into wire format
  RDMA/ucma: Support querying when IB paths are not reversible
  RDMA/cma: Export cma_get_service_id()
  RDMA/ucma: Add ability to query GID addresses
  RDMA/ucma: Name changes to indicate only IP addresses supported
  RDMA/ucma: Allow user space to bind to AF_IB
  RDMA/ucma: Allow user space to pass AF_IB into resolve
  RDMA/ucma: Allow user space to specify AF_IB when joining multicast
  RDMA/cma: Export AF_IB statistics

Vinit Agnihotri (1):
  IB/qib: Update minor version number

Vu Pham (1):
  IB/srp: Bump driver version and release date

Wei Yongjun (3):
  IB/ehca: Fix error return code in ehca_create_slab_caches()
  RDMA/ocrdma: Fix error return code in ocrdma_set_create_qp_rq_cmd()
  IB/core: Fix error return code in add_port()

 Documentation/ABI/stable/sysfs-driver-ib_srp   |7 +
 MAINTAINERS|   22 +
 drivers/infiniband/Kconfig |1 +
 

Re: [GIT PULL] please pull infiniband.git

2013-07-10 Thread Bart Van Assche

On 07/10/13 16:38, Roland Dreier wrote:

On Wed, Jul 10, 2013 at 7:35 AM, Sebastian Riemer
 wrote:


I've checked the commits on that tag and the following commit is not
what we've agreed on:


Sorry about that.  The discussion was long and complex and I probably
made a mistake in aplying the patches.  Please me send a patch to fix
the driver to what it should be, and I will merge it ASAP.


I will send such a patch in reply to this e-mail but without CC-ing the 
LKML. Sebastian, if you could review that patch, that would be appreciated.


Bart.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [GIT PULL] please pull infiniband.git

2013-07-10 Thread Roland Dreier
On Wed, Jul 10, 2013 at 7:35 AM, Sebastian Riemer
 wrote:
>
> I've checked the commits on that tag and the following commit is not
> what we've agreed on:

Sorry about that.  The discussion was long and complex and I probably
made a mistake in aplying the patches.  Please me send a patch to fix
the driver to what it should be, and I will merge it ASAP.

 - Roland
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [GIT PULL] please pull infiniband.git

2013-07-10 Thread Sebastian Riemer
Hi Roland,

I've checked the commits on that tag and the following commit is not
what we've agreed on:

commit 086f44f58855ae18bab19fb794cce6c6d2c6143b
Author: Bart Van Assche 

IB/srp: Avoid skipping srp_reset_host() after a transport error

Together with the following commit this results in the wrong return code
if transport_offline (SUCCESS instead of FAST_IO_FAIL):

commit 99e1c1398f44a056b16e78122133988c82b66d97
Author: Bart Van Assche 

IB/srp: Fail I/O fast if target offline


Resulting code:
1755 if (srp_send_tsk_mgmt(target, req->index, scmnd->device->lun,
1756   SRP_TSK_ABORT_TASK) == 0 ||
1757 target->transport_offline)
1758 ret = SUCCESS;
1759 else if (target->transport_offline)
1760 ret = FAST_IO_FAIL;
1761 else
1762 ret = FAILED;

This doesn't make sense. The check for transport_offline has to be
removed for the SUCCESS case! I've already told that on linux-rdma.

Cheers,
Sebastian


On 09.07.2013 19:36, Roland Dreier wrote:
> Hi Linus,
> 
> Please pull from
> 
> git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git 
> tags/rdma-for-linus
> 
> 
> 
> Main batch of InfiniBand/RDMA changes for 3.11 merge window:
> 
>  - AF_IB (native IB addressing) for CMA from Sean Hefty
>  - New mlx5 driver for Mellanox Connect-IB adapters
>  - SRP fixes from Bart Van Assche
>  - qib HW driver updates
>  - Resurrection of ocrdma HW driver development
>  - uverbs conversion to create fds with O_CLOEXEC set
>  - Other small changes and fixes
> 
> 
> Bart Van Assche (5):
>   IB/srp: Avoid skipping srp_reset_host() after a transport error
>   IB/srp: Skip host settle delay
>   IB/srp: Fail I/O fast if target offline
>   IB/srp: Maintain a single connection per I_T nexus
>   IB/srp: Make HCA completion vector configurable
> 
> Dan Carpenter (1):
>   RDMA/cxgb3: Timeout condition is never true
> 
> Dotan Barak (1):
>   IB/srp: Fix remove_one crash due to resource exhaustion
> 
> Eli Cohen (1):
>   mlx5: Add driver for Mellanox Connect-IB adapters
> 
> Gottumukkala, Naresh (1):
>   RDMA/ocrdma: Remove use_cnt for queues
> 
> Jack Morgenstein (1):
>   IB/core: Add reserved values to enums for low-level driver use
> 
> Mike Marciniszyn (6):
>   IB/qib: Add DCA support
>   IB/qib: Remove atomic_inc_not_zero() from QP RCU
>   IB/qib: Optimize CQ callbacks
>   IB/qib: Convert opcode counters to per-context
>   IB/qib: Add per-context stats interface
>   IB/qib: Add qp_stats debug file
> 
> Mitko Haralanov (1):
>   IB/qib: New transmitter tunning settings for Dell 1.1 backplane
> 
> Naresh Gottumukkala (5):
>   RDMA/ocrdma: Use MCC_CREATE_EXT_V1 for MCC create
>   RDMA/ocrdma: Replace ocrdma_err with pr_err
>   RDMA/ocrdma: Set bad_wr in error case
>   RDMA/ocrdma: Change macros to inline funtions
>   RDMA/ocrdma: Reorg structures to avoid padding
> 
> Ramkrishna Vepa (2):
>   IB/qib: Add optional NUMA affinity
>   IB/qib: Add dual-rail NUMA awareness for PSM processes
> 
> Roland Dreier (5):
>   mlx5: Fix parameter type of health_handler_t
>   IB/mlx5: Make profile[] static in main.c
>   mlx5_core: Fixes for sparse warnings
>   IB/uverbs: Use get_unused_fd_flags(O_CLOEXEC) instead of get_unused_fd()
>   Merge branches 'af_ib', 'cxgb4', 'misc', 'mlx5', 'ocrdma', 'qib' and 
> 'srp' into for-next
> 
> Sean Hefty (28):
>   RDMA/cma: Define native IB address
>   RDMA/cma: Allow enabling reuseaddr in any state
>   RDMA/cma: Include AF_IB in loopback and any address checks
>   IB/addr: Add AF_IB support to ip_addr_size
>   RDMA/cma: Update port reservation to support AF_IB
>   RDMA/cma: Allow user to specify AF_IB when binding
>   RDMA/cma: Do not modify sa_family when setting loopback address
>   RDMA/cma: Add helper functions to return id address information
>   RDMA/cma: Restrict AF_IB loopback to binding to IB devices only
>   RDMA/cma: Verify that source and dest sa_family are the same
>   RDMA/cma: Add support for AF_IB to rdma_resolve_addr()
>   RDMA/cma: Add support for AF_IB to rdma_resolve_route()
>   RDMA/cma: Add support for AF_IB to cma_get_service_id()
>   RDMA/cma: Remove unused SDP related code
>   RDMA/cma: Merge cma_get/save_net_info
>   RDMA/cma: Expose private data when using AF_IB
>   RDMA/cma: Set qkey for AF_IB
>   RDMA/cma: Only listen on IB devices when using AF_IB
>   RDMA/ucma: Support querying for AF_IB addresses
>   IB/sa: Export function to pack a path record into wire format
>   RDMA/ucma: Support querying when IB paths are not reversible
>   RDMA/cma: Export cma_get_service_id()
>   RDMA/ucma: Add ability to query GID addresses
>   

Re: [GIT PULL] please pull infiniband.git

2013-07-10 Thread Sebastian Riemer
Hi Roland,

I've checked the commits on that tag and the following commit is not
what we've agreed on:

commit 086f44f58855ae18bab19fb794cce6c6d2c6143b
Author: Bart Van Assche bvanass...@acm.org

IB/srp: Avoid skipping srp_reset_host() after a transport error

Together with the following commit this results in the wrong return code
if transport_offline (SUCCESS instead of FAST_IO_FAIL):

commit 99e1c1398f44a056b16e78122133988c82b66d97
Author: Bart Van Assche bvanass...@acm.org

IB/srp: Fail I/O fast if target offline


Resulting code:
1755 if (srp_send_tsk_mgmt(target, req-index, scmnd-device-lun,
1756   SRP_TSK_ABORT_TASK) == 0 ||
1757 target-transport_offline)
1758 ret = SUCCESS;
1759 else if (target-transport_offline)
1760 ret = FAST_IO_FAIL;
1761 else
1762 ret = FAILED;

This doesn't make sense. The check for transport_offline has to be
removed for the SUCCESS case! I've already told that on linux-rdma.

Cheers,
Sebastian


On 09.07.2013 19:36, Roland Dreier wrote:
 Hi Linus,
 
 Please pull from
 
 git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git 
 tags/rdma-for-linus
 
 
 
 Main batch of InfiniBand/RDMA changes for 3.11 merge window:
 
  - AF_IB (native IB addressing) for CMA from Sean Hefty
  - New mlx5 driver for Mellanox Connect-IB adapters
  - SRP fixes from Bart Van Assche
  - qib HW driver updates
  - Resurrection of ocrdma HW driver development
  - uverbs conversion to create fds with O_CLOEXEC set
  - Other small changes and fixes
 
 
 Bart Van Assche (5):
   IB/srp: Avoid skipping srp_reset_host() after a transport error
   IB/srp: Skip host settle delay
   IB/srp: Fail I/O fast if target offline
   IB/srp: Maintain a single connection per I_T nexus
   IB/srp: Make HCA completion vector configurable
 
 Dan Carpenter (1):
   RDMA/cxgb3: Timeout condition is never true
 
 Dotan Barak (1):
   IB/srp: Fix remove_one crash due to resource exhaustion
 
 Eli Cohen (1):
   mlx5: Add driver for Mellanox Connect-IB adapters
 
 Gottumukkala, Naresh (1):
   RDMA/ocrdma: Remove use_cnt for queues
 
 Jack Morgenstein (1):
   IB/core: Add reserved values to enums for low-level driver use
 
 Mike Marciniszyn (6):
   IB/qib: Add DCA support
   IB/qib: Remove atomic_inc_not_zero() from QP RCU
   IB/qib: Optimize CQ callbacks
   IB/qib: Convert opcode counters to per-context
   IB/qib: Add per-context stats interface
   IB/qib: Add qp_stats debug file
 
 Mitko Haralanov (1):
   IB/qib: New transmitter tunning settings for Dell 1.1 backplane
 
 Naresh Gottumukkala (5):
   RDMA/ocrdma: Use MCC_CREATE_EXT_V1 for MCC create
   RDMA/ocrdma: Replace ocrdma_err with pr_err
   RDMA/ocrdma: Set bad_wr in error case
   RDMA/ocrdma: Change macros to inline funtions
   RDMA/ocrdma: Reorg structures to avoid padding
 
 Ramkrishna Vepa (2):
   IB/qib: Add optional NUMA affinity
   IB/qib: Add dual-rail NUMA awareness for PSM processes
 
 Roland Dreier (5):
   mlx5: Fix parameter type of health_handler_t
   IB/mlx5: Make profile[] static in main.c
   mlx5_core: Fixes for sparse warnings
   IB/uverbs: Use get_unused_fd_flags(O_CLOEXEC) instead of get_unused_fd()
   Merge branches 'af_ib', 'cxgb4', 'misc', 'mlx5', 'ocrdma', 'qib' and 
 'srp' into for-next
 
 Sean Hefty (28):
   RDMA/cma: Define native IB address
   RDMA/cma: Allow enabling reuseaddr in any state
   RDMA/cma: Include AF_IB in loopback and any address checks
   IB/addr: Add AF_IB support to ip_addr_size
   RDMA/cma: Update port reservation to support AF_IB
   RDMA/cma: Allow user to specify AF_IB when binding
   RDMA/cma: Do not modify sa_family when setting loopback address
   RDMA/cma: Add helper functions to return id address information
   RDMA/cma: Restrict AF_IB loopback to binding to IB devices only
   RDMA/cma: Verify that source and dest sa_family are the same
   RDMA/cma: Add support for AF_IB to rdma_resolve_addr()
   RDMA/cma: Add support for AF_IB to rdma_resolve_route()
   RDMA/cma: Add support for AF_IB to cma_get_service_id()
   RDMA/cma: Remove unused SDP related code
   RDMA/cma: Merge cma_get/save_net_info
   RDMA/cma: Expose private data when using AF_IB
   RDMA/cma: Set qkey for AF_IB
   RDMA/cma: Only listen on IB devices when using AF_IB
   RDMA/ucma: Support querying for AF_IB addresses
   IB/sa: Export function to pack a path record into wire format
   RDMA/ucma: Support querying when IB paths are not reversible
   RDMA/cma: Export cma_get_service_id()
   RDMA/ucma: Add ability to query GID addresses
   RDMA/ucma: Name changes to indicate only IP addresses 

Re: [GIT PULL] please pull infiniband.git

2013-07-10 Thread Roland Dreier
On Wed, Jul 10, 2013 at 7:35 AM, Sebastian Riemer
sebastian.rie...@profitbricks.com wrote:

 I've checked the commits on that tag and the following commit is not
 what we've agreed on:

Sorry about that.  The discussion was long and complex and I probably
made a mistake in aplying the patches.  Please me send a patch to fix
the driver to what it should be, and I will merge it ASAP.

 - Roland
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [GIT PULL] please pull infiniband.git

2013-07-10 Thread Bart Van Assche

On 07/10/13 16:38, Roland Dreier wrote:

On Wed, Jul 10, 2013 at 7:35 AM, Sebastian Riemer
sebastian.rie...@profitbricks.com wrote:


I've checked the commits on that tag and the following commit is not
what we've agreed on:


Sorry about that.  The discussion was long and complex and I probably
made a mistake in aplying the patches.  Please me send a patch to fix
the driver to what it should be, and I will merge it ASAP.


I will send such a patch in reply to this e-mail but without CC-ing the 
LKML. Sebastian, if you could review that patch, that would be appreciated.


Bart.

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[GIT PULL] please pull infiniband.git

2013-07-09 Thread Roland Dreier
Hi Linus,

Please pull from

git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git 
tags/rdma-for-linus



Main batch of InfiniBand/RDMA changes for 3.11 merge window:

 - AF_IB (native IB addressing) for CMA from Sean Hefty
 - New mlx5 driver for Mellanox Connect-IB adapters
 - SRP fixes from Bart Van Assche
 - qib HW driver updates
 - Resurrection of ocrdma HW driver development
 - uverbs conversion to create fds with O_CLOEXEC set
 - Other small changes and fixes


Bart Van Assche (5):
  IB/srp: Avoid skipping srp_reset_host() after a transport error
  IB/srp: Skip host settle delay
  IB/srp: Fail I/O fast if target offline
  IB/srp: Maintain a single connection per I_T nexus
  IB/srp: Make HCA completion vector configurable

Dan Carpenter (1):
  RDMA/cxgb3: Timeout condition is never true

Dotan Barak (1):
  IB/srp: Fix remove_one crash due to resource exhaustion

Eli Cohen (1):
  mlx5: Add driver for Mellanox Connect-IB adapters

Gottumukkala, Naresh (1):
  RDMA/ocrdma: Remove use_cnt for queues

Jack Morgenstein (1):
  IB/core: Add reserved values to enums for low-level driver use

Mike Marciniszyn (6):
  IB/qib: Add DCA support
  IB/qib: Remove atomic_inc_not_zero() from QP RCU
  IB/qib: Optimize CQ callbacks
  IB/qib: Convert opcode counters to per-context
  IB/qib: Add per-context stats interface
  IB/qib: Add qp_stats debug file

Mitko Haralanov (1):
  IB/qib: New transmitter tunning settings for Dell 1.1 backplane

Naresh Gottumukkala (5):
  RDMA/ocrdma: Use MCC_CREATE_EXT_V1 for MCC create
  RDMA/ocrdma: Replace ocrdma_err with pr_err
  RDMA/ocrdma: Set bad_wr in error case
  RDMA/ocrdma: Change macros to inline funtions
  RDMA/ocrdma: Reorg structures to avoid padding

Ramkrishna Vepa (2):
  IB/qib: Add optional NUMA affinity
  IB/qib: Add dual-rail NUMA awareness for PSM processes

Roland Dreier (5):
  mlx5: Fix parameter type of health_handler_t
  IB/mlx5: Make profile[] static in main.c
  mlx5_core: Fixes for sparse warnings
  IB/uverbs: Use get_unused_fd_flags(O_CLOEXEC) instead of get_unused_fd()
  Merge branches 'af_ib', 'cxgb4', 'misc', 'mlx5', 'ocrdma', 'qib' and 
'srp' into for-next

Sean Hefty (28):
  RDMA/cma: Define native IB address
  RDMA/cma: Allow enabling reuseaddr in any state
  RDMA/cma: Include AF_IB in loopback and any address checks
  IB/addr: Add AF_IB support to ip_addr_size
  RDMA/cma: Update port reservation to support AF_IB
  RDMA/cma: Allow user to specify AF_IB when binding
  RDMA/cma: Do not modify sa_family when setting loopback address
  RDMA/cma: Add helper functions to return id address information
  RDMA/cma: Restrict AF_IB loopback to binding to IB devices only
  RDMA/cma: Verify that source and dest sa_family are the same
  RDMA/cma: Add support for AF_IB to rdma_resolve_addr()
  RDMA/cma: Add support for AF_IB to rdma_resolve_route()
  RDMA/cma: Add support for AF_IB to cma_get_service_id()
  RDMA/cma: Remove unused SDP related code
  RDMA/cma: Merge cma_get/save_net_info
  RDMA/cma: Expose private data when using AF_IB
  RDMA/cma: Set qkey for AF_IB
  RDMA/cma: Only listen on IB devices when using AF_IB
  RDMA/ucma: Support querying for AF_IB addresses
  IB/sa: Export function to pack a path record into wire format
  RDMA/ucma: Support querying when IB paths are not reversible
  RDMA/cma: Export cma_get_service_id()
  RDMA/ucma: Add ability to query GID addresses
  RDMA/ucma: Name changes to indicate only IP addresses supported
  RDMA/ucma: Allow user space to bind to AF_IB
  RDMA/ucma: Allow user space to pass AF_IB into resolve
  RDMA/ucma: Allow user space to specify AF_IB when joining multicast
  RDMA/cma: Export AF_IB statistics

Vinit Agnihotri (1):
  IB/qib: Update minor version number

Vu Pham (1):
  IB/srp: Bump driver version and release date

Wei Yongjun (3):
  IB/ehca: Fix error return code in ehca_create_slab_caches()
  RDMA/ocrdma: Fix error return code in ocrdma_set_create_qp_rq_cmd()
  IB/core: Fix error return code in add_port()

 Documentation/ABI/stable/sysfs-driver-ib_srp|7 +
 MAINTAINERS |   22 ++
 drivers/infiniband/Kconfig  |1 +
 drivers/infiniband/Makefile |1 +
 drivers/infiniband/core/addr.c  |   20 +-
 drivers/infiniband/core/cma.c   |  906 
++-
 drivers/infiniband/core/sa_query.c  |6 +
 drivers/infiniband/core/sysfs.c |8 +-
 drivers/infiniband/core/ucma.c  |  321 

[GIT PULL] please pull infiniband.git

2013-07-09 Thread Roland Dreier
Hi Linus,

Please pull from

git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git 
tags/rdma-for-linus



Main batch of InfiniBand/RDMA changes for 3.11 merge window:

 - AF_IB (native IB addressing) for CMA from Sean Hefty
 - New mlx5 driver for Mellanox Connect-IB adapters
 - SRP fixes from Bart Van Assche
 - qib HW driver updates
 - Resurrection of ocrdma HW driver development
 - uverbs conversion to create fds with O_CLOEXEC set
 - Other small changes and fixes


Bart Van Assche (5):
  IB/srp: Avoid skipping srp_reset_host() after a transport error
  IB/srp: Skip host settle delay
  IB/srp: Fail I/O fast if target offline
  IB/srp: Maintain a single connection per I_T nexus
  IB/srp: Make HCA completion vector configurable

Dan Carpenter (1):
  RDMA/cxgb3: Timeout condition is never true

Dotan Barak (1):
  IB/srp: Fix remove_one crash due to resource exhaustion

Eli Cohen (1):
  mlx5: Add driver for Mellanox Connect-IB adapters

Gottumukkala, Naresh (1):
  RDMA/ocrdma: Remove use_cnt for queues

Jack Morgenstein (1):
  IB/core: Add reserved values to enums for low-level driver use

Mike Marciniszyn (6):
  IB/qib: Add DCA support
  IB/qib: Remove atomic_inc_not_zero() from QP RCU
  IB/qib: Optimize CQ callbacks
  IB/qib: Convert opcode counters to per-context
  IB/qib: Add per-context stats interface
  IB/qib: Add qp_stats debug file

Mitko Haralanov (1):
  IB/qib: New transmitter tunning settings for Dell 1.1 backplane

Naresh Gottumukkala (5):
  RDMA/ocrdma: Use MCC_CREATE_EXT_V1 for MCC create
  RDMA/ocrdma: Replace ocrdma_err with pr_err
  RDMA/ocrdma: Set bad_wr in error case
  RDMA/ocrdma: Change macros to inline funtions
  RDMA/ocrdma: Reorg structures to avoid padding

Ramkrishna Vepa (2):
  IB/qib: Add optional NUMA affinity
  IB/qib: Add dual-rail NUMA awareness for PSM processes

Roland Dreier (5):
  mlx5: Fix parameter type of health_handler_t
  IB/mlx5: Make profile[] static in main.c
  mlx5_core: Fixes for sparse warnings
  IB/uverbs: Use get_unused_fd_flags(O_CLOEXEC) instead of get_unused_fd()
  Merge branches 'af_ib', 'cxgb4', 'misc', 'mlx5', 'ocrdma', 'qib' and 
'srp' into for-next

Sean Hefty (28):
  RDMA/cma: Define native IB address
  RDMA/cma: Allow enabling reuseaddr in any state
  RDMA/cma: Include AF_IB in loopback and any address checks
  IB/addr: Add AF_IB support to ip_addr_size
  RDMA/cma: Update port reservation to support AF_IB
  RDMA/cma: Allow user to specify AF_IB when binding
  RDMA/cma: Do not modify sa_family when setting loopback address
  RDMA/cma: Add helper functions to return id address information
  RDMA/cma: Restrict AF_IB loopback to binding to IB devices only
  RDMA/cma: Verify that source and dest sa_family are the same
  RDMA/cma: Add support for AF_IB to rdma_resolve_addr()
  RDMA/cma: Add support for AF_IB to rdma_resolve_route()
  RDMA/cma: Add support for AF_IB to cma_get_service_id()
  RDMA/cma: Remove unused SDP related code
  RDMA/cma: Merge cma_get/save_net_info
  RDMA/cma: Expose private data when using AF_IB
  RDMA/cma: Set qkey for AF_IB
  RDMA/cma: Only listen on IB devices when using AF_IB
  RDMA/ucma: Support querying for AF_IB addresses
  IB/sa: Export function to pack a path record into wire format
  RDMA/ucma: Support querying when IB paths are not reversible
  RDMA/cma: Export cma_get_service_id()
  RDMA/ucma: Add ability to query GID addresses
  RDMA/ucma: Name changes to indicate only IP addresses supported
  RDMA/ucma: Allow user space to bind to AF_IB
  RDMA/ucma: Allow user space to pass AF_IB into resolve
  RDMA/ucma: Allow user space to specify AF_IB when joining multicast
  RDMA/cma: Export AF_IB statistics

Vinit Agnihotri (1):
  IB/qib: Update minor version number

Vu Pham (1):
  IB/srp: Bump driver version and release date

Wei Yongjun (3):
  IB/ehca: Fix error return code in ehca_create_slab_caches()
  RDMA/ocrdma: Fix error return code in ocrdma_set_create_qp_rq_cmd()
  IB/core: Fix error return code in add_port()

 Documentation/ABI/stable/sysfs-driver-ib_srp|7 +
 MAINTAINERS |   22 ++
 drivers/infiniband/Kconfig  |1 +
 drivers/infiniband/Makefile |1 +
 drivers/infiniband/core/addr.c  |   20 +-
 drivers/infiniband/core/cma.c   |  906 
++-
 drivers/infiniband/core/sa_query.c  |6 +
 drivers/infiniband/core/sysfs.c |8 +-
 drivers/infiniband/core/ucma.c  |  321 

[GIT PULL] please pull infiniband.git

2013-06-07 Thread Roland Dreier
Hi Linus,

Please pull from

git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git 
tags/rdma-for-linus



InfiniBand fixes for 3.10-rc:
 - qib RCU/lockdep fix
 - iser device removal fix, plus doc fixes


Mike Marciniszyn (1):
  IB/qib: Fix lockdep splat in qib_alloc_lkey()

Or Gerlitz (2):
  IB/iser: Add Mellanox copyright
  MAINTAINERS: Add entry for iSCSI Extensions for RDMA (iSER) initiator

Roi Dayan (1):
  IB/iser: Fix device removal flow

Roland Dreier (1):
  Merge branches 'iser' and 'qib' into for-next

 MAINTAINERS  | 10 ++
 drivers/infiniband/hw/qib/qib_keys.c |  2 +-
 drivers/infiniband/ulp/iser/iscsi_iser.c |  1 +
 drivers/infiniband/ulp/iser/iscsi_iser.h |  1 +
 drivers/infiniband/ulp/iser/iser_initiator.c |  1 +
 drivers/infiniband/ulp/iser/iser_memory.c|  1 +
 drivers/infiniband/ulp/iser/iser_verbs.c | 16 +---
 7 files changed, 24 insertions(+), 8 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[GIT PULL] please pull infiniband.git

2013-06-07 Thread Roland Dreier
Hi Linus,

Please pull from

git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git 
tags/rdma-for-linus



InfiniBand fixes for 3.10-rc:
 - qib RCU/lockdep fix
 - iser device removal fix, plus doc fixes


Mike Marciniszyn (1):
  IB/qib: Fix lockdep splat in qib_alloc_lkey()

Or Gerlitz (2):
  IB/iser: Add Mellanox copyright
  MAINTAINERS: Add entry for iSCSI Extensions for RDMA (iSER) initiator

Roi Dayan (1):
  IB/iser: Fix device removal flow

Roland Dreier (1):
  Merge branches 'iser' and 'qib' into for-next

 MAINTAINERS  | 10 ++
 drivers/infiniband/hw/qib/qib_keys.c |  2 +-
 drivers/infiniband/ulp/iser/iscsi_iser.c |  1 +
 drivers/infiniband/ulp/iser/iscsi_iser.h |  1 +
 drivers/infiniband/ulp/iser/iser_initiator.c |  1 +
 drivers/infiniband/ulp/iser/iser_memory.c|  1 +
 drivers/infiniband/ulp/iser/iser_verbs.c | 16 +---
 7 files changed, 24 insertions(+), 8 deletions(-)
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[GIT PULL] please pull infiniband.git

2013-05-08 Thread Roland Dreier
Hi Linus,

Please pull from

git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git 
tags/rdma-for-linus



InfiniBand/RDMA changes for the 3.10 merge window:
 - XRC transport fixes
 - Fix DHCP on IPoIB
 - mlx4 preparations for flow steering
 - iSER fixes
 - miscellaneous other fixes

Sorry for being so late on this -- I moved houses and the system with
all my private keys was offline for a week or so.


Akinobu Mita (1):
  RDMA: Rename random32() to prandom_u32()

Cong Ding (1):
  RDMA/cxgb3: Fix uninitialized variable

Dotan Barak (1):
  IB/mlx4: Disable VLAN stripping for RAW PACKET QPs

Doug Ledford (1):
  IPoIB: Fix ipoib_hard_header() return value

Eli Cohen (1):
  IB/mlx4: Set link type for RAW PACKET QPs in the QP context

Grant Grundler (1):
  SRPT: Fix odd use of WARN_ON()

Hadar Hen Zion (5):
  mlx4_core: Move DMFS HW structs to common header file
  mlx4: Match DMFS promiscuous field names to firmware spec
  mlx4_core: Change a few DMFS fields names to match firmare spec
  mlx4_core: Directly expose fields of DMFS HW rule control segment
  mlx4_core: Expose a few helpers to fill DMFS HW strucutures

Jack Morgenstein (1):
  mlx4_core: Reduce warning message for SRQ_LIMIT event to debug level

Mike Marciniszyn (2):
  IB/ipath: Correct ipath_verbs_register_sysfs() error handling
  IB/qib: Correct qib_verbs_register_sysfs() error handling

Or Gerlitz (2):
  IB/iser: Return error to upper layers on EAGAIN registration failures
  IB/iser: Add support for iser CM REQ additional info

Roi Dayan (2):
  IB/iser: Add module version
  IB/iser: Move informational messages from error to info level

Roland Dreier (1):
  Merge branches 'cxgb4', 'ipoib', 'iser', 'misc', 'mlx4', 'qib' and 'srp' 
into for-next

Shlomo Pongratz (3):
  IB/core: Verify that QP handler is valid before dispatching events
  mlx4_core: Implement SRQ object lookup from srqn
  IB/mlx4: Fetch XRC SRQ in the CQ polling code

Steve Wise (1):
  RDMA/iwcm: Don't touch cmid after dropping reference

Thadeu Lima de Souza Cascardo (1):
  RDMA/cxgb4: Fix SQ allocation when on-chip SQ is disabled

 drivers/infiniband/core/iwcm.c  |   2 +
 drivers/infiniband/core/verbs.c |   3 +-
 drivers/infiniband/hw/cxgb3/cxio_resource.c |   4 +-
 drivers/infiniband/hw/cxgb3/iwch_provider.c |   2 +-
 drivers/infiniband/hw/cxgb4/id_table.c  |   4 +-
 drivers/infiniband/hw/cxgb4/qp.c|  25 ++---
 drivers/infiniband/hw/ipath/ipath_verbs.c   |  19 ++--
 drivers/infiniband/hw/mlx4/cq.c |  21 +
 drivers/infiniband/hw/mlx4/mad.c|   2 +-
 drivers/infiniband/hw/mlx4/qp.c |   6 ++
 drivers/infiniband/hw/qib/qib_sysfs.c   |   6 +-
 drivers/infiniband/hw/qib/qib_verbs.c   |   3 +-
 drivers/infiniband/ulp/ipoib/ipoib_cm.c |   2 +-
 drivers/infiniband/ulp/ipoib/ipoib_main.c   |   2 +-
 drivers/infiniband/ulp/iser/iscsi_iser.c|  24 ++---
 drivers/infiniband/ulp/iser/iscsi_iser.h|  24 -
 drivers/infiniband/ulp/iser/iser_memory.c   |   3 +-
 drivers/infiniband/ulp/iser/iser_verbs.c|  36 ---
 drivers/infiniband/ulp/srpt/ib_srpt.c   |   2 +-
 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c |   2 +-
 drivers/net/ethernet/mellanox/mlx4/en_netdev.c  |  16 ++--
 drivers/net/ethernet/mellanox/mlx4/eq.c |   4 +-
 drivers/net/ethernet/mellanox/mlx4/mcg.c| 120 +++-
 drivers/net/ethernet/mellanox/mlx4/mlx4.h   |  79 
 drivers/net/ethernet/mellanox/mlx4/srq.c|  15 +++
 include/linux/mlx4/device.h | 104 ++--
 include/linux/mlx4/srq.h|   2 +
 27 files changed, 328 insertions(+), 204 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[GIT PULL] please pull infiniband.git

2013-05-08 Thread Roland Dreier
Hi Linus,

Please pull from

git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git 
tags/rdma-for-linus



InfiniBand/RDMA changes for the 3.10 merge window:
 - XRC transport fixes
 - Fix DHCP on IPoIB
 - mlx4 preparations for flow steering
 - iSER fixes
 - miscellaneous other fixes

Sorry for being so late on this -- I moved houses and the system with
all my private keys was offline for a week or so.


Akinobu Mita (1):
  RDMA: Rename random32() to prandom_u32()

Cong Ding (1):
  RDMA/cxgb3: Fix uninitialized variable

Dotan Barak (1):
  IB/mlx4: Disable VLAN stripping for RAW PACKET QPs

Doug Ledford (1):
  IPoIB: Fix ipoib_hard_header() return value

Eli Cohen (1):
  IB/mlx4: Set link type for RAW PACKET QPs in the QP context

Grant Grundler (1):
  SRPT: Fix odd use of WARN_ON()

Hadar Hen Zion (5):
  mlx4_core: Move DMFS HW structs to common header file
  mlx4: Match DMFS promiscuous field names to firmware spec
  mlx4_core: Change a few DMFS fields names to match firmare spec
  mlx4_core: Directly expose fields of DMFS HW rule control segment
  mlx4_core: Expose a few helpers to fill DMFS HW strucutures

Jack Morgenstein (1):
  mlx4_core: Reduce warning message for SRQ_LIMIT event to debug level

Mike Marciniszyn (2):
  IB/ipath: Correct ipath_verbs_register_sysfs() error handling
  IB/qib: Correct qib_verbs_register_sysfs() error handling

Or Gerlitz (2):
  IB/iser: Return error to upper layers on EAGAIN registration failures
  IB/iser: Add support for iser CM REQ additional info

Roi Dayan (2):
  IB/iser: Add module version
  IB/iser: Move informational messages from error to info level

Roland Dreier (1):
  Merge branches 'cxgb4', 'ipoib', 'iser', 'misc', 'mlx4', 'qib' and 'srp' 
into for-next

Shlomo Pongratz (3):
  IB/core: Verify that QP handler is valid before dispatching events
  mlx4_core: Implement SRQ object lookup from srqn
  IB/mlx4: Fetch XRC SRQ in the CQ polling code

Steve Wise (1):
  RDMA/iwcm: Don't touch cmid after dropping reference

Thadeu Lima de Souza Cascardo (1):
  RDMA/cxgb4: Fix SQ allocation when on-chip SQ is disabled

 drivers/infiniband/core/iwcm.c  |   2 +
 drivers/infiniband/core/verbs.c |   3 +-
 drivers/infiniband/hw/cxgb3/cxio_resource.c |   4 +-
 drivers/infiniband/hw/cxgb3/iwch_provider.c |   2 +-
 drivers/infiniband/hw/cxgb4/id_table.c  |   4 +-
 drivers/infiniband/hw/cxgb4/qp.c|  25 ++---
 drivers/infiniband/hw/ipath/ipath_verbs.c   |  19 ++--
 drivers/infiniband/hw/mlx4/cq.c |  21 +
 drivers/infiniband/hw/mlx4/mad.c|   2 +-
 drivers/infiniband/hw/mlx4/qp.c |   6 ++
 drivers/infiniband/hw/qib/qib_sysfs.c   |   6 +-
 drivers/infiniband/hw/qib/qib_verbs.c   |   3 +-
 drivers/infiniband/ulp/ipoib/ipoib_cm.c |   2 +-
 drivers/infiniband/ulp/ipoib/ipoib_main.c   |   2 +-
 drivers/infiniband/ulp/iser/iscsi_iser.c|  24 ++---
 drivers/infiniband/ulp/iser/iscsi_iser.h|  24 -
 drivers/infiniband/ulp/iser/iser_memory.c   |   3 +-
 drivers/infiniband/ulp/iser/iser_verbs.c|  36 ---
 drivers/infiniband/ulp/srpt/ib_srpt.c   |   2 +-
 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c |   2 +-
 drivers/net/ethernet/mellanox/mlx4/en_netdev.c  |  16 ++--
 drivers/net/ethernet/mellanox/mlx4/eq.c |   4 +-
 drivers/net/ethernet/mellanox/mlx4/mcg.c| 120 +++-
 drivers/net/ethernet/mellanox/mlx4/mlx4.h   |  79 
 drivers/net/ethernet/mellanox/mlx4/srq.c|  15 +++
 include/linux/mlx4/device.h | 104 ++--
 include/linux/mlx4/srq.h|   2 +
 27 files changed, 328 insertions(+), 204 deletions(-)
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [GIT PULL] please pull infiniband.git

2013-04-05 Thread David Woodhouse
On Mon, 2013-03-25 at 09:42 -0700, Roland Dreier wrote:
> Hi Linus,
> 
> Please pull from
> 
> git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git 
> tags/rdma-for-linus

> Vinit Agnihotri (1):
>   IB/qib: change QLogic to Intel

>  firmware/Makefile | 2 +-
>  firmware/{qlogic => intel}/sd7220.fw.ihex | 0

This is an ABI change, and it's wrong. Moving the firmware from one
location to another breaks drivers which look for it in one place when
it is actually in the other.

Besides, the firmware/ directory of the kernel is deprecated and very
few people actually use it. I don't think *any* distributions do
anything other than ignore its contents, or have done for some years.
Any changes need to be made in the separate linux-firmware repository.
I don't recall seeing this change being submitted there, and if it *was*
it would have been rejected on the basis that it breaks old kernels.
Unless we *duplicate* the file in both qlogic/ and intel/ directories,
but that's just silly.

We already have a *bunch* of other firmwares in the qlogic/ directory
which nobody seems interested in moving. There is no point in this
marketing-driven revisionism; please leave this one where it is too.

Please revert this part of commit e2eed58b4 before 3.9. Thanks.

-- 
dwmw2


smime.p7s
Description: S/MIME cryptographic signature


Re: [GIT PULL] please pull infiniband.git

2013-04-05 Thread David Woodhouse
On Mon, 2013-03-25 at 09:42 -0700, Roland Dreier wrote:
 Hi Linus,
 
 Please pull from
 
 git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git 
 tags/rdma-for-linus

 Vinit Agnihotri (1):
   IB/qib: change QLogic to Intel

  firmware/Makefile | 2 +-
  firmware/{qlogic = intel}/sd7220.fw.ihex | 0

This is an ABI change, and it's wrong. Moving the firmware from one
location to another breaks drivers which look for it in one place when
it is actually in the other.

Besides, the firmware/ directory of the kernel is deprecated and very
few people actually use it. I don't think *any* distributions do
anything other than ignore its contents, or have done for some years.
Any changes need to be made in the separate linux-firmware repository.
I don't recall seeing this change being submitted there, and if it *was*
it would have been rejected on the basis that it breaks old kernels.
Unless we *duplicate* the file in both qlogic/ and intel/ directories,
but that's just silly.

We already have a *bunch* of other firmwares in the qlogic/ directory
which nobody seems interested in moving. There is no point in this
marketing-driven revisionism; please leave this one where it is too.

Please revert this part of commit e2eed58b4 before 3.9. Thanks.

-- 
dwmw2


smime.p7s
Description: S/MIME cryptographic signature


[GIT PULL] please pull infiniband.git

2013-03-25 Thread Roland Dreier
Hi Linus,

Please pull from

git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git 
tags/rdma-for-linus



Small batch of InfiniBand/RDMA fixes for 3.9:

 - Fix for TX lockup in IPoIB
 - QLogic -> Intel update for qib driver
 - Small static checker fix for qib
 - Fix error path return value in cxgb4


Dan Carpenter (1):
  IB/ipath: Silence a static checker warning

Mike Marciniszyn (1):
  IPoIB: Fix send lockup due to missed TX completion

Roland Dreier (1):
  Merge branches 'cxgb4', 'ipoib' and 'qib' into for-next

Vinit Agnihotri (1):
  IB/qib: change QLogic to Intel

Wei Yongjun (1):
  RDMA/cxgb4: Fix error return code in create_qp()

 drivers/infiniband/hw/cxgb4/qp.c  | 4 +++-
 drivers/infiniband/hw/ipath/ipath_verbs.c | 2 +-
 drivers/infiniband/hw/qib/Kconfig | 6 +++---
 drivers/infiniband/hw/qib/qib_driver.c| 5 +++--
 drivers/infiniband/hw/qib/qib_iba6120.c   | 3 ++-
 drivers/infiniband/hw/qib/qib_init.c  | 8 
 drivers/infiniband/hw/qib/qib_sd7220.c| 4 ++--
 drivers/infiniband/hw/qib/qib_verbs.c | 4 ++--
 drivers/infiniband/ulp/ipoib/ipoib_cm.c   | 8 ++--
 firmware/Makefile | 2 +-
 firmware/{qlogic => intel}/sd7220.fw.ihex | 0
 11 files changed, 27 insertions(+), 19 deletions(-)
 rename firmware/{qlogic => intel}/sd7220.fw.ihex (100%)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[GIT PULL] please pull infiniband.git

2013-03-25 Thread Roland Dreier
Hi Linus,

Please pull from

git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git 
tags/rdma-for-linus



Small batch of InfiniBand/RDMA fixes for 3.9:

 - Fix for TX lockup in IPoIB
 - QLogic - Intel update for qib driver
 - Small static checker fix for qib
 - Fix error path return value in cxgb4


Dan Carpenter (1):
  IB/ipath: Silence a static checker warning

Mike Marciniszyn (1):
  IPoIB: Fix send lockup due to missed TX completion

Roland Dreier (1):
  Merge branches 'cxgb4', 'ipoib' and 'qib' into for-next

Vinit Agnihotri (1):
  IB/qib: change QLogic to Intel

Wei Yongjun (1):
  RDMA/cxgb4: Fix error return code in create_qp()

 drivers/infiniband/hw/cxgb4/qp.c  | 4 +++-
 drivers/infiniband/hw/ipath/ipath_verbs.c | 2 +-
 drivers/infiniband/hw/qib/Kconfig | 6 +++---
 drivers/infiniband/hw/qib/qib_driver.c| 5 +++--
 drivers/infiniband/hw/qib/qib_iba6120.c   | 3 ++-
 drivers/infiniband/hw/qib/qib_init.c  | 8 
 drivers/infiniband/hw/qib/qib_sd7220.c| 4 ++--
 drivers/infiniband/hw/qib/qib_verbs.c | 4 ++--
 drivers/infiniband/ulp/ipoib/ipoib_cm.c   | 8 ++--
 firmware/Makefile | 2 +-
 firmware/{qlogic = intel}/sd7220.fw.ihex | 0
 11 files changed, 27 insertions(+), 19 deletions(-)
 rename firmware/{qlogic = intel}/sd7220.fw.ihex (100%)
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[GIT PULL] please pull infiniband.git

2013-02-26 Thread Roland Dreier
Hi Linus,

Please pull from

git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git 
tags/rdma-for-linus



Main batch of InfiniBand/RDMA changes for 3.9:
 - SRP error handling fixes from Bart Van Assche
 - Implementation of memory windows for mlx4 from Shani Michaeli
 - Lots of cxgb4 HW driver fixes from Vipul Pandya
 - Make iSER work for virtual functions, other fixes from Or Gerlitz
 - Fix for bug in qib HW driver from Mike Marciniszyn
 - IPoIB fixes from me, Itai Garbi, Shlomo Pongratz, Yan Burman
 - Various cleanups and warning fixes from Julia Lawall, Paul Bolle, Wei Yongjun


Bart Van Assche (4):
  IB/srp: Track connection state properly
  IB/srp: Avoid sending a task management function needlessly
  IB/srp: Avoid endless SCSI error handling loop
  IB/srp: Fail I/O requests if the transport is offline

Dan Carpenter (1):
  IB/mlx4: Fix bug unwinding on error in mlx4_ib_init_sriov()

Itai Garbi (1):
  IPoIB: Don't attempt to release resources on error flow

Julia Lawall (1):
  IB/mlx4: Adjust duplicate test

Mike Marciniszyn (1):
  IB/qib: Fix QP locate/remove race

Or Gerlitz (3):
  IB/iser: Use proper define for the commands per LUN value advertised to 
SCSI ML
  IB/iser: Avoid error prints on EAGAIN registration failures
  IB/iser: Enable iser when FMRs are not supported

Paul Bolle (2):
  RDMA/cxgb4: "cookie" can stay in host endianness
  IB/mlx4: Fix compiler warning about uninitialized 'vlan' variable

Roland Dreier (3):
  IB/mlx4: Convert is_xxx variables in build_mlx_header() to bool
  IPoIB: Free ipoib neigh on path record failure so path rec queries are 
retried
  Merge branches 'core', 'cxgb4', 'ipoib', 'iser', 'misc', 'mlx4', 'qib' 
and 'srp' into for-next

Shani Michaeli (10):
  IB/mlx4_ib: Remove local invalidate segment unused fields
  mlx4_core: Rename MPT-related functions to have mpt_ prefix
  mlx4_core: Propagate MR deregistration failures to caller
  IB/core: Add "type 2" memory windows support
  IB/uverbs: Implement memory windows support in uverbs
  mlx4_core: Disable memory windows for virtual functions
  mlx4_core: Enable memory windows in {INIT, QUERY}_HCA
  mlx4: Implement memory windows allocation and deallocation
  IB/mlx4: Support memory window binding
  IB/mlx4: Advertise MW support

Shlomo Pongratz (1):
  IPoIB: Fix ipoib_neigh hashing to use the correct daddr octets

Stefan Hasko (1):
  RDMA/cxgb4: Fix cast warning

Syam Sidhardhan (1):
  IB/mlx4: Remove redundant NULL check before kfree

Vipul Pandya (11):
  RDMA/cxgb4: Abort connections that receive unexpected streaming mode data
  RDMA/cxgb4: Abort connections when moving to ERROR state
  RDMA/cxgb4: Display streaming mode error only if detected in RTS
  RDMA/cxgb4: Keep QP referenced until TID released
  RDMA/cxgb4: Always log async errors
  RDMA/cxgb4: Only log rx_data warnings if cpl status is non-zero
  RDMA/cxgb4: Fix endpoint timeout race condition
  RDMA/cxgb4: Don't reconnect on abort for mpa_rev 1
  RDMA/cxgb4: Don't wakeup threads for MPAv2
  RDMA/cxgb4: Insert hwtid in pass_accept_req instead in pass_establish
  RDMA/cxgb4: Address sparse warnings

Wei Yongjun (1):
  RDMA/amso1100: Use module_pci_driver() to simplify the code

Yan Burman (1):
  IPoIB: Add version and firmware info to ethtool reporting

 drivers/infiniband/core/uverbs.h   |   2 +
 drivers/infiniband/core/uverbs_cmd.c   | 121 ++
 drivers/infiniband/core/uverbs_main.c  |  13 +-
 drivers/infiniband/core/verbs.c|   5 +-
 drivers/infiniband/hw/amso1100/c2.c|  13 +-
 drivers/infiniband/hw/cxgb3/iwch_provider.c|   5 +-
 drivers/infiniband/hw/cxgb3/iwch_qp.c  |  15 +-
 drivers/infiniband/hw/cxgb4/cm.c   | 170 +++
 drivers/infiniband/hw/cxgb4/device.c   |   5 +-
 drivers/infiniband/hw/cxgb4/ev.c   |   8 +-
 drivers/infiniband/hw/cxgb4/iw_cxgb4.h |   4 +-
 drivers/infiniband/hw/cxgb4/mem.c  |   5 +-
 drivers/infiniband/hw/cxgb4/qp.c   |   1 +
 drivers/infiniband/hw/ehca/ehca_iverbs.h   |   2 +-
 drivers/infiniband/hw/ehca/ehca_mrmw.c |   5 +-
 drivers/infiniband/hw/mlx4/mad.c   |   7 +-
 drivers/infiniband/hw/mlx4/main.c  |  22 ++-
 drivers/infiniband/hw/mlx4/mlx4_ib.h   |  18 +-
 drivers/infiniband/hw/mlx4/mr.c|  87 +-
 drivers/infiniband/hw/mlx4/qp.c|  49 --
 drivers/infiniband/hw/mlx4/sysfs.c |   2 +-
 drivers/infiniband/hw/nes/nes_verbs.c  |  19 ++-
 drivers/infiniband/hw/qib/qib_qp.c 

[GIT PULL] please pull infiniband.git

2013-02-26 Thread Roland Dreier
Hi Linus,

Please pull from

git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git 
tags/rdma-for-linus



Main batch of InfiniBand/RDMA changes for 3.9:
 - SRP error handling fixes from Bart Van Assche
 - Implementation of memory windows for mlx4 from Shani Michaeli
 - Lots of cxgb4 HW driver fixes from Vipul Pandya
 - Make iSER work for virtual functions, other fixes from Or Gerlitz
 - Fix for bug in qib HW driver from Mike Marciniszyn
 - IPoIB fixes from me, Itai Garbi, Shlomo Pongratz, Yan Burman
 - Various cleanups and warning fixes from Julia Lawall, Paul Bolle, Wei Yongjun


Bart Van Assche (4):
  IB/srp: Track connection state properly
  IB/srp: Avoid sending a task management function needlessly
  IB/srp: Avoid endless SCSI error handling loop
  IB/srp: Fail I/O requests if the transport is offline

Dan Carpenter (1):
  IB/mlx4: Fix bug unwinding on error in mlx4_ib_init_sriov()

Itai Garbi (1):
  IPoIB: Don't attempt to release resources on error flow

Julia Lawall (1):
  IB/mlx4: Adjust duplicate test

Mike Marciniszyn (1):
  IB/qib: Fix QP locate/remove race

Or Gerlitz (3):
  IB/iser: Use proper define for the commands per LUN value advertised to 
SCSI ML
  IB/iser: Avoid error prints on EAGAIN registration failures
  IB/iser: Enable iser when FMRs are not supported

Paul Bolle (2):
  RDMA/cxgb4: cookie can stay in host endianness
  IB/mlx4: Fix compiler warning about uninitialized 'vlan' variable

Roland Dreier (3):
  IB/mlx4: Convert is_xxx variables in build_mlx_header() to bool
  IPoIB: Free ipoib neigh on path record failure so path rec queries are 
retried
  Merge branches 'core', 'cxgb4', 'ipoib', 'iser', 'misc', 'mlx4', 'qib' 
and 'srp' into for-next

Shani Michaeli (10):
  IB/mlx4_ib: Remove local invalidate segment unused fields
  mlx4_core: Rename MPT-related functions to have mpt_ prefix
  mlx4_core: Propagate MR deregistration failures to caller
  IB/core: Add type 2 memory windows support
  IB/uverbs: Implement memory windows support in uverbs
  mlx4_core: Disable memory windows for virtual functions
  mlx4_core: Enable memory windows in {INIT, QUERY}_HCA
  mlx4: Implement memory windows allocation and deallocation
  IB/mlx4: Support memory window binding
  IB/mlx4: Advertise MW support

Shlomo Pongratz (1):
  IPoIB: Fix ipoib_neigh hashing to use the correct daddr octets

Stefan Hasko (1):
  RDMA/cxgb4: Fix cast warning

Syam Sidhardhan (1):
  IB/mlx4: Remove redundant NULL check before kfree

Vipul Pandya (11):
  RDMA/cxgb4: Abort connections that receive unexpected streaming mode data
  RDMA/cxgb4: Abort connections when moving to ERROR state
  RDMA/cxgb4: Display streaming mode error only if detected in RTS
  RDMA/cxgb4: Keep QP referenced until TID released
  RDMA/cxgb4: Always log async errors
  RDMA/cxgb4: Only log rx_data warnings if cpl status is non-zero
  RDMA/cxgb4: Fix endpoint timeout race condition
  RDMA/cxgb4: Don't reconnect on abort for mpa_rev 1
  RDMA/cxgb4: Don't wakeup threads for MPAv2
  RDMA/cxgb4: Insert hwtid in pass_accept_req instead in pass_establish
  RDMA/cxgb4: Address sparse warnings

Wei Yongjun (1):
  RDMA/amso1100: Use module_pci_driver() to simplify the code

Yan Burman (1):
  IPoIB: Add version and firmware info to ethtool reporting

 drivers/infiniband/core/uverbs.h   |   2 +
 drivers/infiniband/core/uverbs_cmd.c   | 121 ++
 drivers/infiniband/core/uverbs_main.c  |  13 +-
 drivers/infiniband/core/verbs.c|   5 +-
 drivers/infiniband/hw/amso1100/c2.c|  13 +-
 drivers/infiniband/hw/cxgb3/iwch_provider.c|   5 +-
 drivers/infiniband/hw/cxgb3/iwch_qp.c  |  15 +-
 drivers/infiniband/hw/cxgb4/cm.c   | 170 +++
 drivers/infiniband/hw/cxgb4/device.c   |   5 +-
 drivers/infiniband/hw/cxgb4/ev.c   |   8 +-
 drivers/infiniband/hw/cxgb4/iw_cxgb4.h |   4 +-
 drivers/infiniband/hw/cxgb4/mem.c  |   5 +-
 drivers/infiniband/hw/cxgb4/qp.c   |   1 +
 drivers/infiniband/hw/ehca/ehca_iverbs.h   |   2 +-
 drivers/infiniband/hw/ehca/ehca_mrmw.c |   5 +-
 drivers/infiniband/hw/mlx4/mad.c   |   7 +-
 drivers/infiniband/hw/mlx4/main.c  |  22 ++-
 drivers/infiniband/hw/mlx4/mlx4_ib.h   |  18 +-
 drivers/infiniband/hw/mlx4/mr.c|  87 +-
 drivers/infiniband/hw/mlx4/qp.c|  49 --
 drivers/infiniband/hw/mlx4/sysfs.c |   2 +-
 drivers/infiniband/hw/nes/nes_verbs.c  |  19 ++-
 drivers/infiniband/hw/qib/qib_qp.c 

[GIT PULL] please pull infiniband.git

2013-02-06 Thread Roland Dreier
Hi Linus,

Please pull from

git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git 
tags/rdma-for-linus



IB regression fixes for 3.8:
 - Fix mlx4 VFs not working on old guests because of 64B CQE changes
 - Fix ill-considered sparse fix for qib
 - Fix IPoIB crash due to skb double destruct introduced in 3.8-rc1


Mike Marciniszyn (1):
  IB/qib: Fix for broken sparse warning fix

Or Gerlitz (1):
  mlx4_core: Fix advertisement of wrong PF context behaviour

Roland Dreier (1):
  Merge branches 'ipoib', 'mlx4' and 'qib' into for-next

Shlomo Pongratz (1):
  IPoIB: Fix crash due to skb double destruct

 drivers/infiniband/hw/qib/qib_qp.c| 11 +++
 drivers/infiniband/ulp/ipoib/ipoib_cm.c   |  6 +++---
 drivers/infiniband/ulp/ipoib/ipoib_ib.c   |  6 +++---
 drivers/net/ethernet/mellanox/mlx4/main.c |  2 +-
 4 files changed, 10 insertions(+), 15 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[GIT PULL] please pull infiniband.git

2013-02-06 Thread Roland Dreier
Hi Linus,

Please pull from

git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git 
tags/rdma-for-linus



IB regression fixes for 3.8:
 - Fix mlx4 VFs not working on old guests because of 64B CQE changes
 - Fix ill-considered sparse fix for qib
 - Fix IPoIB crash due to skb double destruct introduced in 3.8-rc1


Mike Marciniszyn (1):
  IB/qib: Fix for broken sparse warning fix

Or Gerlitz (1):
  mlx4_core: Fix advertisement of wrong PF context behaviour

Roland Dreier (1):
  Merge branches 'ipoib', 'mlx4' and 'qib' into for-next

Shlomo Pongratz (1):
  IPoIB: Fix crash due to skb double destruct

 drivers/infiniband/hw/qib/qib_qp.c| 11 +++
 drivers/infiniband/ulp/ipoib/ipoib_cm.c   |  6 +++---
 drivers/infiniband/ulp/ipoib/ipoib_ib.c   |  6 +++---
 drivers/net/ethernet/mellanox/mlx4/main.c |  2 +-
 4 files changed, 10 insertions(+), 15 deletions(-)
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[GIT PULL] please pull infiniband.git

2012-12-21 Thread Roland Dreier
Hi Linus,

Please pull from

git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git 
tags/rdma-for-linus



Second batch of InfiniBand/RDMA changes for 3.8:
 - cxgb4 changes to fix lookup engine hash collisions
 - mlx4 changes to make flow steering usable
 - fix to IPoIB to avoid pinning dst reference for too long


Hadar Hen Zion (2):
  mlx4_core: Add QPN enforcement for flow steering rules set by VFs
  mlx4_core: Fix error flow in the flow steering wrapper

Jack Morgenstein (2):
  mlx4_core: Adjustments to Flow Steering activation logic for SR-IOV
  mlx4_core: Allow choosing flow steering mode

Roland Dreier (2):
  IPoIB: Call skb_dst_drop() once skb is enqueued for sending
  Merge branches 'cxgb4', 'ipoib' and 'mlx4' into for-next

Vipul Pandya (5):
  cxgb4: Add T4 filter support
  cxgb4: Add LE hash collision bug fix path in LLD driver
  RDMA/cxgb4: Fix LE hash collision bug for active open connection
  RDMA/cxgb4: Fix LE hash collision bug for passive open connection
  RDMA/cxgb4: Fix bug for active and passive LE hash collision path

 drivers/infiniband/hw/cxgb4/cm.c   | 791 ++---
 drivers/infiniband/hw/cxgb4/device.c   | 210 +-
 drivers/infiniband/hw/cxgb4/iw_cxgb4.h |  33 +
 drivers/infiniband/ulp/ipoib/ipoib_cm.c|   3 +
 drivers/infiniband/ulp/ipoib/ipoib_ib.c|   3 +-
 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h | 136 
 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c| 459 +++-
 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h |  23 +-
 drivers/net/ethernet/chelsio/cxgb4/l2t.c   |  32 +
 drivers/net/ethernet/chelsio/cxgb4/l2t.h   |   3 +
 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c |  22 +-
 drivers/net/ethernet/chelsio/cxgb4/t4_msg.h|  66 ++
 drivers/net/ethernet/chelsio/cxgb4/t4_regs.h   |  37 +
 drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h  | 418 +++
 drivers/net/ethernet/mellanox/mlx4/fw.c|  15 +-
 drivers/net/ethernet/mellanox/mlx4/fw.h|   1 +
 drivers/net/ethernet/mellanox/mlx4/main.c  | 115 ++-
 drivers/net/ethernet/mellanox/mlx4/mcg.c   |   7 +-
 drivers/net/ethernet/mellanox/mlx4/mlx4.h  |   6 +-
 .../net/ethernet/mellanox/mlx4/resource_tracker.c  |  28 +-
 drivers/scsi/csiostor/t4fw_api_stor.h  |  39 -
 include/linux/mlx4/device.h|   1 +
 22 files changed, 2234 insertions(+), 214 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[GIT PULL] please pull infiniband.git

2012-12-21 Thread Roland Dreier
Hi Linus,

Please pull from

git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git 
tags/rdma-for-linus



Second batch of InfiniBand/RDMA changes for 3.8:
 - cxgb4 changes to fix lookup engine hash collisions
 - mlx4 changes to make flow steering usable
 - fix to IPoIB to avoid pinning dst reference for too long


Hadar Hen Zion (2):
  mlx4_core: Add QPN enforcement for flow steering rules set by VFs
  mlx4_core: Fix error flow in the flow steering wrapper

Jack Morgenstein (2):
  mlx4_core: Adjustments to Flow Steering activation logic for SR-IOV
  mlx4_core: Allow choosing flow steering mode

Roland Dreier (2):
  IPoIB: Call skb_dst_drop() once skb is enqueued for sending
  Merge branches 'cxgb4', 'ipoib' and 'mlx4' into for-next

Vipul Pandya (5):
  cxgb4: Add T4 filter support
  cxgb4: Add LE hash collision bug fix path in LLD driver
  RDMA/cxgb4: Fix LE hash collision bug for active open connection
  RDMA/cxgb4: Fix LE hash collision bug for passive open connection
  RDMA/cxgb4: Fix bug for active and passive LE hash collision path

 drivers/infiniband/hw/cxgb4/cm.c   | 791 ++---
 drivers/infiniband/hw/cxgb4/device.c   | 210 +-
 drivers/infiniband/hw/cxgb4/iw_cxgb4.h |  33 +
 drivers/infiniband/ulp/ipoib/ipoib_cm.c|   3 +
 drivers/infiniband/ulp/ipoib/ipoib_ib.c|   3 +-
 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h | 136 
 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c| 459 +++-
 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h |  23 +-
 drivers/net/ethernet/chelsio/cxgb4/l2t.c   |  32 +
 drivers/net/ethernet/chelsio/cxgb4/l2t.h   |   3 +
 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c |  22 +-
 drivers/net/ethernet/chelsio/cxgb4/t4_msg.h|  66 ++
 drivers/net/ethernet/chelsio/cxgb4/t4_regs.h   |  37 +
 drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h  | 418 +++
 drivers/net/ethernet/mellanox/mlx4/fw.c|  15 +-
 drivers/net/ethernet/mellanox/mlx4/fw.h|   1 +
 drivers/net/ethernet/mellanox/mlx4/main.c  | 115 ++-
 drivers/net/ethernet/mellanox/mlx4/mcg.c   |   7 +-
 drivers/net/ethernet/mellanox/mlx4/mlx4.h  |   6 +-
 .../net/ethernet/mellanox/mlx4/resource_tracker.c  |  28 +-
 drivers/scsi/csiostor/t4fw_api_stor.h  |  39 -
 include/linux/mlx4/device.h|   1 +
 22 files changed, 2234 insertions(+), 214 deletions(-)
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [GIT PULL] please pull infiniband.git

2012-12-14 Thread Roland Dreier
On Fri, Dec 14, 2012 at 7:36 AM, Linus Torvalds
 wrote:
>> Any problem with this tree, or did it just slip through the cracks?
>
> It was merged seven hours before your email. Forgot to check?

No, just dumb-assery in how I fetched in one place and checked in
another.  Sorry.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [GIT PULL] please pull infiniband.git

2012-12-14 Thread Linus Torvalds
On Fri, Dec 14, 2012 at 1:56 AM, Roland Dreier  wrote:
>
> Any problem with this tree, or did it just slip through the cracks?

It was merged seven hours before your email. Forgot to check?

  Linus
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [GIT PULL] please pull infiniband.git

2012-12-14 Thread Roland Dreier
On Mon, Dec 10, 2012 at 9:59 PM, Roland Dreier  wrote:
> Hi Linus,
>
> Please pull from
>
> git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git 
> tags/rdma-for-linus

Hi Linus,

Any problem with this tree, or did it just slip through the cracks?

Thanks,
  Roland

> 
>
> First batch of InfiniBand/RDMA changes for the 3.8 merge window:
>  - A good chunk of Bart Van Assche's SRP fixes
>  - UAPI disintegration from David Howells
>  - mlx4 support for "64-byte CQE" hardware feature from Or Gerlitz
>  - Other miscellaneous fixes
>
> 
> Alan Cox (2):
>   IB/ipath: Remove unreachable code
>   RDMA/amsol1100: Fix missing break
>
> Bart Van Assche (14):
>   IB/srp: Increase block layer timeout
>   IB/srp: Eliminate state SRP_TARGET_CONNECTING
>   IB/srp: Keep processing commands during host removal
>   IB/srp: Simplify SCSI error handling
>   IB/srp: Introduce srp_handle_qp_err()
>   IB/srp: Process all error completions
>   IB/srp: Suppress superfluous error messages
>   IB/srp: Introduce the helper function srp_remove_target()
>   IB/srp: Eliminate state SRP_TARGET_DEAD
>   IB/srp: Document sysfs attributes
>   srp_transport: Fix attribute registration
>   srp_transport: Simplify attribute initialization code
>   srp_transport: Document sysfs attributes
>   IB/srp: Allow SRP disconnect through sysfs
>
> David Howells (1):
>   UAPI: (Scripted) Disintegrate include/rdma
>
> Ishai Rabinovitz (1):
>   IB/srp: destroy and recreate QP and CQs when reconnecting
>
> Jack Morgenstein (2):
>   IB/mlx4: Fix spinlock order to avoid lockdep warnings
>   mlx4_core: Fix potential deadlock in mlx4_eq_int()
>
> Julia Lawall (3):
>   RDMA/nes: Use WARN()
>   RDMA/cxgb4: use WARN
>   RDMA/cxgb3: use WARN
>
> Or Gerlitz (1):
>   mlx4: 64-byte CQE/EQE support
>
> Roland Dreier (4):
>   Merge branches 'cxgb4', 'misc', 'mlx4', 'nes' and 'uapi' into for-next
>   Merge branches 'cma' and 'mlx4' into for-next
>   Merge branch 'srp' into for-next
>   Merge branch 'nes' into for-next
>
> Tatyana Nikolova (7):
>   RDMA/nes: Fix incorrect address of IP header
>   RDMA/nes: Fix for unlinking skbs from empty list
>   RDMA/nes: Fix for sending fpdus in order to hardware
>   RDMA/nes: Fix for incorrect multicast address in the perfect filter 
> table
>   RDMA/nes: Fix for BUG_ON due to adding already-pending timer
>   RDMA/nes: Fix for terminate timer crash
>   RDMA/nes: Fix for crash when registering zero length MR for CQ
>
> Vu Pham (1):
>   IB/srp: send disconnect request without waiting for CM timewait exit
>
> shefty (1):
>   RDMA/cm: Change return value from find_gid_port()
>
>  Documentation/ABI/stable/sysfs-driver-ib_srp   |  156 
>  Documentation/ABI/stable/sysfs-transport-srp   |   19 ++
>  drivers/infiniband/core/cma.c  |9 +-
>  drivers/infiniband/hw/amso1100/c2_ae.c |1 +
>  drivers/infiniband/hw/cxgb3/iwch_cm.c  |6 +-
>  drivers/infiniband/hw/cxgb4/cm.c   |6 +-
>  drivers/infiniband/hw/ipath/ipath_init_chip.c  |   10 -
>  drivers/infiniband/hw/mlx4/cm.c|4 +-
>  drivers/infiniband/hw/mlx4/cq.c|   34 ++-
>  drivers/infiniband/hw/mlx4/main.c  |   27 +-
>  drivers/infiniband/hw/mlx4/mlx4_ib.h   |1 +
>  drivers/infiniband/hw/mlx4/user.h  |   12 +-
>  drivers/infiniband/hw/nes/nes.h|1 +
>  drivers/infiniband/hw/nes/nes_cm.c |   32 +--
>  drivers/infiniband/hw/nes/nes_hw.c |9 +-
>  drivers/infiniband/hw/nes/nes_mgt.c|   42 ++--
>  drivers/infiniband/hw/nes/nes_nic.c|   13 +-
>  drivers/infiniband/hw/nes/nes_verbs.c  |9 +-
>  drivers/infiniband/ulp/srp/ib_srp.c|  314 
> ++--
>  drivers/infiniband/ulp/srp/ib_srp.h|   11 +-
>  drivers/net/ethernet/mellanox/mlx4/cmd.c   |   11 +-
>  drivers/net/ethernet/mellanox/mlx4/en_cq.c |2 +-
>  drivers/net/ethernet/mellanox/mlx4/en_netdev.c |1 +
>  drivers/net/ethernet/mellanox/mlx4/en_rx.c |5 +-
>  drivers/net/ethernet/mellanox/mlx4/en_tx.c |5 +-
>  drivers/net/ethernet/mellanox/mlx4/eq.c|   36 ++-
>  drivers/net/ethernet/mellanox/mlx4/fw.c|   30 ++-
>  drivers/net/ethernet/mellanox/mlx4/fw.h|1 +
>  drivers/net/ethernet/mellanox/mlx4/main.c  |   38 ++-
>  drivers/net/ethernet/mellanox/mlx4/mlx4_en.h   |1 +
>  drivers/scsi/scsi_transport_srp.c  |   51 ++--
>  include/linux/mlx4/device.h|   21 ++
>  include/rdma/Kbuild|6 -
>  include/rdma/rdma_netlink.h|   36 +--
>  include/scsi/scsi_transport_srp.h 

Re: [GIT PULL] please pull infiniband.git

2012-12-14 Thread Roland Dreier
On Mon, Dec 10, 2012 at 9:59 PM, Roland Dreier rol...@kernel.org wrote:
 Hi Linus,

 Please pull from

 git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git 
 tags/rdma-for-linus

Hi Linus,

Any problem with this tree, or did it just slip through the cracks?

Thanks,
  Roland

 

 First batch of InfiniBand/RDMA changes for the 3.8 merge window:
  - A good chunk of Bart Van Assche's SRP fixes
  - UAPI disintegration from David Howells
  - mlx4 support for 64-byte CQE hardware feature from Or Gerlitz
  - Other miscellaneous fixes

 
 Alan Cox (2):
   IB/ipath: Remove unreachable code
   RDMA/amsol1100: Fix missing break

 Bart Van Assche (14):
   IB/srp: Increase block layer timeout
   IB/srp: Eliminate state SRP_TARGET_CONNECTING
   IB/srp: Keep processing commands during host removal
   IB/srp: Simplify SCSI error handling
   IB/srp: Introduce srp_handle_qp_err()
   IB/srp: Process all error completions
   IB/srp: Suppress superfluous error messages
   IB/srp: Introduce the helper function srp_remove_target()
   IB/srp: Eliminate state SRP_TARGET_DEAD
   IB/srp: Document sysfs attributes
   srp_transport: Fix attribute registration
   srp_transport: Simplify attribute initialization code
   srp_transport: Document sysfs attributes
   IB/srp: Allow SRP disconnect through sysfs

 David Howells (1):
   UAPI: (Scripted) Disintegrate include/rdma

 Ishai Rabinovitz (1):
   IB/srp: destroy and recreate QP and CQs when reconnecting

 Jack Morgenstein (2):
   IB/mlx4: Fix spinlock order to avoid lockdep warnings
   mlx4_core: Fix potential deadlock in mlx4_eq_int()

 Julia Lawall (3):
   RDMA/nes: Use WARN()
   RDMA/cxgb4: use WARN
   RDMA/cxgb3: use WARN

 Or Gerlitz (1):
   mlx4: 64-byte CQE/EQE support

 Roland Dreier (4):
   Merge branches 'cxgb4', 'misc', 'mlx4', 'nes' and 'uapi' into for-next
   Merge branches 'cma' and 'mlx4' into for-next
   Merge branch 'srp' into for-next
   Merge branch 'nes' into for-next

 Tatyana Nikolova (7):
   RDMA/nes: Fix incorrect address of IP header
   RDMA/nes: Fix for unlinking skbs from empty list
   RDMA/nes: Fix for sending fpdus in order to hardware
   RDMA/nes: Fix for incorrect multicast address in the perfect filter 
 table
   RDMA/nes: Fix for BUG_ON due to adding already-pending timer
   RDMA/nes: Fix for terminate timer crash
   RDMA/nes: Fix for crash when registering zero length MR for CQ

 Vu Pham (1):
   IB/srp: send disconnect request without waiting for CM timewait exit

 shefty (1):
   RDMA/cm: Change return value from find_gid_port()

  Documentation/ABI/stable/sysfs-driver-ib_srp   |  156 
  Documentation/ABI/stable/sysfs-transport-srp   |   19 ++
  drivers/infiniband/core/cma.c  |9 +-
  drivers/infiniband/hw/amso1100/c2_ae.c |1 +
  drivers/infiniband/hw/cxgb3/iwch_cm.c  |6 +-
  drivers/infiniband/hw/cxgb4/cm.c   |6 +-
  drivers/infiniband/hw/ipath/ipath_init_chip.c  |   10 -
  drivers/infiniband/hw/mlx4/cm.c|4 +-
  drivers/infiniband/hw/mlx4/cq.c|   34 ++-
  drivers/infiniband/hw/mlx4/main.c  |   27 +-
  drivers/infiniband/hw/mlx4/mlx4_ib.h   |1 +
  drivers/infiniband/hw/mlx4/user.h  |   12 +-
  drivers/infiniband/hw/nes/nes.h|1 +
  drivers/infiniband/hw/nes/nes_cm.c |   32 +--
  drivers/infiniband/hw/nes/nes_hw.c |9 +-
  drivers/infiniband/hw/nes/nes_mgt.c|   42 ++--
  drivers/infiniband/hw/nes/nes_nic.c|   13 +-
  drivers/infiniband/hw/nes/nes_verbs.c  |9 +-
  drivers/infiniband/ulp/srp/ib_srp.c|  314 
 ++--
  drivers/infiniband/ulp/srp/ib_srp.h|   11 +-
  drivers/net/ethernet/mellanox/mlx4/cmd.c   |   11 +-
  drivers/net/ethernet/mellanox/mlx4/en_cq.c |2 +-
  drivers/net/ethernet/mellanox/mlx4/en_netdev.c |1 +
  drivers/net/ethernet/mellanox/mlx4/en_rx.c |5 +-
  drivers/net/ethernet/mellanox/mlx4/en_tx.c |5 +-
  drivers/net/ethernet/mellanox/mlx4/eq.c|   36 ++-
  drivers/net/ethernet/mellanox/mlx4/fw.c|   30 ++-
  drivers/net/ethernet/mellanox/mlx4/fw.h|1 +
  drivers/net/ethernet/mellanox/mlx4/main.c  |   38 ++-
  drivers/net/ethernet/mellanox/mlx4/mlx4_en.h   |1 +
  drivers/scsi/scsi_transport_srp.c  |   51 ++--
  include/linux/mlx4/device.h|   21 ++
  include/rdma/Kbuild|6 -
  include/rdma/rdma_netlink.h|   36 +--
  include/scsi/scsi_transport_srp.h  |8 +
  include/uapi/rdma/Kbuild   |6 +
  include/{ = 

Re: [GIT PULL] please pull infiniband.git

2012-12-14 Thread Linus Torvalds
On Fri, Dec 14, 2012 at 1:56 AM, Roland Dreier rol...@kernel.org wrote:

 Any problem with this tree, or did it just slip through the cracks?

It was merged seven hours before your email. Forgot to check?

  Linus
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [GIT PULL] please pull infiniband.git

2012-12-14 Thread Roland Dreier
On Fri, Dec 14, 2012 at 7:36 AM, Linus Torvalds
torva...@linux-foundation.org wrote:
 Any problem with this tree, or did it just slip through the cracks?

 It was merged seven hours before your email. Forgot to check?

No, just dumb-assery in how I fetched in one place and checked in
another.  Sorry.
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[GIT PULL] please pull infiniband.git

2012-12-10 Thread Roland Dreier
Hi Linus,

Please pull from

git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git 
tags/rdma-for-linus



First batch of InfiniBand/RDMA changes for the 3.8 merge window:
 - A good chunk of Bart Van Assche's SRP fixes
 - UAPI disintegration from David Howells
 - mlx4 support for "64-byte CQE" hardware feature from Or Gerlitz
 - Other miscellaneous fixes


Alan Cox (2):
  IB/ipath: Remove unreachable code
  RDMA/amsol1100: Fix missing break

Bart Van Assche (14):
  IB/srp: Increase block layer timeout
  IB/srp: Eliminate state SRP_TARGET_CONNECTING
  IB/srp: Keep processing commands during host removal
  IB/srp: Simplify SCSI error handling
  IB/srp: Introduce srp_handle_qp_err()
  IB/srp: Process all error completions
  IB/srp: Suppress superfluous error messages
  IB/srp: Introduce the helper function srp_remove_target()
  IB/srp: Eliminate state SRP_TARGET_DEAD
  IB/srp: Document sysfs attributes
  srp_transport: Fix attribute registration
  srp_transport: Simplify attribute initialization code
  srp_transport: Document sysfs attributes
  IB/srp: Allow SRP disconnect through sysfs

David Howells (1):
  UAPI: (Scripted) Disintegrate include/rdma

Ishai Rabinovitz (1):
  IB/srp: destroy and recreate QP and CQs when reconnecting

Jack Morgenstein (2):
  IB/mlx4: Fix spinlock order to avoid lockdep warnings
  mlx4_core: Fix potential deadlock in mlx4_eq_int()

Julia Lawall (3):
  RDMA/nes: Use WARN()
  RDMA/cxgb4: use WARN
  RDMA/cxgb3: use WARN

Or Gerlitz (1):
  mlx4: 64-byte CQE/EQE support

Roland Dreier (4):
  Merge branches 'cxgb4', 'misc', 'mlx4', 'nes' and 'uapi' into for-next
  Merge branches 'cma' and 'mlx4' into for-next
  Merge branch 'srp' into for-next
  Merge branch 'nes' into for-next

Tatyana Nikolova (7):
  RDMA/nes: Fix incorrect address of IP header
  RDMA/nes: Fix for unlinking skbs from empty list
  RDMA/nes: Fix for sending fpdus in order to hardware
  RDMA/nes: Fix for incorrect multicast address in the perfect filter table
  RDMA/nes: Fix for BUG_ON due to adding already-pending timer
  RDMA/nes: Fix for terminate timer crash
  RDMA/nes: Fix for crash when registering zero length MR for CQ

Vu Pham (1):
  IB/srp: send disconnect request without waiting for CM timewait exit

shefty (1):
  RDMA/cm: Change return value from find_gid_port()

 Documentation/ABI/stable/sysfs-driver-ib_srp   |  156 
 Documentation/ABI/stable/sysfs-transport-srp   |   19 ++
 drivers/infiniband/core/cma.c  |9 +-
 drivers/infiniband/hw/amso1100/c2_ae.c |1 +
 drivers/infiniband/hw/cxgb3/iwch_cm.c  |6 +-
 drivers/infiniband/hw/cxgb4/cm.c   |6 +-
 drivers/infiniband/hw/ipath/ipath_init_chip.c  |   10 -
 drivers/infiniband/hw/mlx4/cm.c|4 +-
 drivers/infiniband/hw/mlx4/cq.c|   34 ++-
 drivers/infiniband/hw/mlx4/main.c  |   27 +-
 drivers/infiniband/hw/mlx4/mlx4_ib.h   |1 +
 drivers/infiniband/hw/mlx4/user.h  |   12 +-
 drivers/infiniband/hw/nes/nes.h|1 +
 drivers/infiniband/hw/nes/nes_cm.c |   32 +--
 drivers/infiniband/hw/nes/nes_hw.c |9 +-
 drivers/infiniband/hw/nes/nes_mgt.c|   42 ++--
 drivers/infiniband/hw/nes/nes_nic.c|   13 +-
 drivers/infiniband/hw/nes/nes_verbs.c  |9 +-
 drivers/infiniband/ulp/srp/ib_srp.c|  314 ++--
 drivers/infiniband/ulp/srp/ib_srp.h|   11 +-
 drivers/net/ethernet/mellanox/mlx4/cmd.c   |   11 +-
 drivers/net/ethernet/mellanox/mlx4/en_cq.c |2 +-
 drivers/net/ethernet/mellanox/mlx4/en_netdev.c |1 +
 drivers/net/ethernet/mellanox/mlx4/en_rx.c |5 +-
 drivers/net/ethernet/mellanox/mlx4/en_tx.c |5 +-
 drivers/net/ethernet/mellanox/mlx4/eq.c|   36 ++-
 drivers/net/ethernet/mellanox/mlx4/fw.c|   30 ++-
 drivers/net/ethernet/mellanox/mlx4/fw.h|1 +
 drivers/net/ethernet/mellanox/mlx4/main.c  |   38 ++-
 drivers/net/ethernet/mellanox/mlx4/mlx4_en.h   |1 +
 drivers/scsi/scsi_transport_srp.c  |   51 ++--
 include/linux/mlx4/device.h|   21 ++
 include/rdma/Kbuild|6 -
 include/rdma/rdma_netlink.h|   36 +--
 include/scsi/scsi_transport_srp.h  |8 +
 include/uapi/rdma/Kbuild   |6 +
 include/{ => uapi}/rdma/ib_user_cm.h   |0
 include/{ => uapi}/rdma/ib_user_mad.h  |0
 include/{ => uapi}/rdma/ib_user_sa.h   |0
 include/{ => uapi}/rdma/ib_user_verbs.h|0
 include/uapi/rdma/rdma_netlink.h   |   37 +++
 

[GIT PULL] please pull infiniband.git

2012-12-10 Thread Roland Dreier
Hi Linus,

Please pull from

git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git 
tags/rdma-for-linus



First batch of InfiniBand/RDMA changes for the 3.8 merge window:
 - A good chunk of Bart Van Assche's SRP fixes
 - UAPI disintegration from David Howells
 - mlx4 support for 64-byte CQE hardware feature from Or Gerlitz
 - Other miscellaneous fixes


Alan Cox (2):
  IB/ipath: Remove unreachable code
  RDMA/amsol1100: Fix missing break

Bart Van Assche (14):
  IB/srp: Increase block layer timeout
  IB/srp: Eliminate state SRP_TARGET_CONNECTING
  IB/srp: Keep processing commands during host removal
  IB/srp: Simplify SCSI error handling
  IB/srp: Introduce srp_handle_qp_err()
  IB/srp: Process all error completions
  IB/srp: Suppress superfluous error messages
  IB/srp: Introduce the helper function srp_remove_target()
  IB/srp: Eliminate state SRP_TARGET_DEAD
  IB/srp: Document sysfs attributes
  srp_transport: Fix attribute registration
  srp_transport: Simplify attribute initialization code
  srp_transport: Document sysfs attributes
  IB/srp: Allow SRP disconnect through sysfs

David Howells (1):
  UAPI: (Scripted) Disintegrate include/rdma

Ishai Rabinovitz (1):
  IB/srp: destroy and recreate QP and CQs when reconnecting

Jack Morgenstein (2):
  IB/mlx4: Fix spinlock order to avoid lockdep warnings
  mlx4_core: Fix potential deadlock in mlx4_eq_int()

Julia Lawall (3):
  RDMA/nes: Use WARN()
  RDMA/cxgb4: use WARN
  RDMA/cxgb3: use WARN

Or Gerlitz (1):
  mlx4: 64-byte CQE/EQE support

Roland Dreier (4):
  Merge branches 'cxgb4', 'misc', 'mlx4', 'nes' and 'uapi' into for-next
  Merge branches 'cma' and 'mlx4' into for-next
  Merge branch 'srp' into for-next
  Merge branch 'nes' into for-next

Tatyana Nikolova (7):
  RDMA/nes: Fix incorrect address of IP header
  RDMA/nes: Fix for unlinking skbs from empty list
  RDMA/nes: Fix for sending fpdus in order to hardware
  RDMA/nes: Fix for incorrect multicast address in the perfect filter table
  RDMA/nes: Fix for BUG_ON due to adding already-pending timer
  RDMA/nes: Fix for terminate timer crash
  RDMA/nes: Fix for crash when registering zero length MR for CQ

Vu Pham (1):
  IB/srp: send disconnect request without waiting for CM timewait exit

shefty (1):
  RDMA/cm: Change return value from find_gid_port()

 Documentation/ABI/stable/sysfs-driver-ib_srp   |  156 
 Documentation/ABI/stable/sysfs-transport-srp   |   19 ++
 drivers/infiniband/core/cma.c  |9 +-
 drivers/infiniband/hw/amso1100/c2_ae.c |1 +
 drivers/infiniband/hw/cxgb3/iwch_cm.c  |6 +-
 drivers/infiniband/hw/cxgb4/cm.c   |6 +-
 drivers/infiniband/hw/ipath/ipath_init_chip.c  |   10 -
 drivers/infiniband/hw/mlx4/cm.c|4 +-
 drivers/infiniband/hw/mlx4/cq.c|   34 ++-
 drivers/infiniband/hw/mlx4/main.c  |   27 +-
 drivers/infiniband/hw/mlx4/mlx4_ib.h   |1 +
 drivers/infiniband/hw/mlx4/user.h  |   12 +-
 drivers/infiniband/hw/nes/nes.h|1 +
 drivers/infiniband/hw/nes/nes_cm.c |   32 +--
 drivers/infiniband/hw/nes/nes_hw.c |9 +-
 drivers/infiniband/hw/nes/nes_mgt.c|   42 ++--
 drivers/infiniband/hw/nes/nes_nic.c|   13 +-
 drivers/infiniband/hw/nes/nes_verbs.c  |9 +-
 drivers/infiniband/ulp/srp/ib_srp.c|  314 ++--
 drivers/infiniband/ulp/srp/ib_srp.h|   11 +-
 drivers/net/ethernet/mellanox/mlx4/cmd.c   |   11 +-
 drivers/net/ethernet/mellanox/mlx4/en_cq.c |2 +-
 drivers/net/ethernet/mellanox/mlx4/en_netdev.c |1 +
 drivers/net/ethernet/mellanox/mlx4/en_rx.c |5 +-
 drivers/net/ethernet/mellanox/mlx4/en_tx.c |5 +-
 drivers/net/ethernet/mellanox/mlx4/eq.c|   36 ++-
 drivers/net/ethernet/mellanox/mlx4/fw.c|   30 ++-
 drivers/net/ethernet/mellanox/mlx4/fw.h|1 +
 drivers/net/ethernet/mellanox/mlx4/main.c  |   38 ++-
 drivers/net/ethernet/mellanox/mlx4/mlx4_en.h   |1 +
 drivers/scsi/scsi_transport_srp.c  |   51 ++--
 include/linux/mlx4/device.h|   21 ++
 include/rdma/Kbuild|6 -
 include/rdma/rdma_netlink.h|   36 +--
 include/scsi/scsi_transport_srp.h  |8 +
 include/uapi/rdma/Kbuild   |6 +
 include/{ = uapi}/rdma/ib_user_cm.h   |0
 include/{ = uapi}/rdma/ib_user_mad.h  |0
 include/{ = uapi}/rdma/ib_user_sa.h   |0
 include/{ = uapi}/rdma/ib_user_verbs.h|0
 include/uapi/rdma/rdma_netlink.h   |   37 +++
 

  1   2   3   >