Skip to contentSkip to conversation

Please pull rdma.git

GIT PULL Doug Ledford 6 participants 20 messages Sep 8, 2015 – Sep 10, 2015 14 messages not in the archive InfiniBand

lore
Share & tools
lore
#0 lore raw

Hi Linus,

This is a fairly sizeable set of changes. I've put them through a decent amount of testing prior to sending the pull request due to that. There are still a few fixups that I know are coming, but I wanted to go ahead and get the big, sizable chunk into your hands sooner rather than waiting for those last few fixups. Of note is the fact that this creates what is intended to be a temporary area in the drivers/staging tree specifically for some cleanups and additions that are coming for the RDMA stack. We deprecated two drivers (ipath and amso1100) and are waiting to hear back if we can deprecate another one (ehca). We also put Intel's new hfi1 driver into this area because it needs to be refactored and a transfer library created out of the factored out code, and then it and the qib driver and the soft-roce driver should all be modified to use that library. I expect drivers/staging/rdma to be around for three or four kernel releases and then to go away as all of the work is completed and final deletions of deprecated drivers are done.

The following changes since commit c13dcf9f2d6f5f06ef1bf79ec456df614c5e058b:

Linux 4.2-rc8 (2015-08-23 20:52:59 -0700)

are available in the git repository at:

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

for you to fetch changes up to d1178cbcdcf91900ccf10a177350d7945703c151:

IB/ipoib: Suppress warning for send only join failures (2015-09-03 17:11:05 -0400)

----------------------------------------------------------------
Changes for 4.3

- Create drivers/staging/rdma
- Move amso1100 driver to staging/rdma and schedule for deletion
- Move ipath driver to staging/rdma and schedule for deletion
- Add hfi1 driver to staging/rdma and set TODO for move to regular tree
- Initial support for namespaces to be used on RDMA devices
- Add RoCE GID table handling to the RDMA core caching code
- Infrastructure to support handling of devices with differing read and write scatter gather capabilities
- Various iSER updates
- Kill off unsafe usage of global mr registrations
- Update SRP driver
- Misc. mlx4 driver updates
- Support for the mr_alloc verb
- Support for a netlink interface between kernel and user space cache daemon to speed path record queries and route resolution
- Ininitial support for safe hot removal of verbs devices

----------------------------------------------------------------
Adir Lev (1):
IB/iser: Maintain connection fmr_pool under a single registration descriptor

Ariel Nahum (1):
IB/mlx4: Fix incorrect cq flushing in error state

Bart Van Assche (12):
IB/srp: Constify a function argument
IB/srp: Handle partial connection success correctly IB/srp: Bump driver version and release date
IB/srp: Stop the scsi_eh_<n> and scsi_tmf_<n> threads if login fails IB/srp: Re-enable FMR for non-page aligned buffers IB/srp: Use multiple registrations for large memory regions IB/srp: Add memory descriptor array pointer range checking IB/srp: Remove the memory registration backtracking code IB/srp: Remove use_mr argument from srp_map_sg_entry() IB/srp: Introduce srp_device.use_fmr
IB/srp: Register the indirect data buffer descriptor IB/srp: Create an insecure all physical rkey only if needed

Christoph Hellwig (1):
IB/uverbs: reject invalid or unknown opcodes

Dan Carpenter (1):
IB/core: missing curly braces in ib_find_gid()

Dennis Dalessandro (2):
IB/ipath: Deprecate ipath driver and move to staging. IB/core: Add core header changes needed for OPA

Doug Ledford (3):
Staging: Add staging/rdma directory and update MAINTAINERS IB/core: Remove needless bracketization IB/ipoib: Clean up send-only multicast joins

Guy Shapiro (1):
IB/ipoib: Return IPoIB devices matching connection parameters

Haggai Eran (14):
IB/core: Add rwsem to allow reading device list or client list IB/core: lock client data with lists_rwsem
IB/cm: Expose service ID in request events
IB/cm: Share listening CM IDs
IB/cma: Refactor RDMA IP CM private-data parsing code IB/cma: Helper functions to access port space IDRs IB/cm: Expose BTH P_Key in CM and SIDR request events IB/cma: Add net_dev and private data checks to RDMA CM IB/cma: Validate routing of incoming requests IB/cma: Use found net_dev for passive connections IB/cma: Share ib_cm_ids between rdma_cm_ids
IB/cm: Remove compare_data checks
IB/cma: Fix net_dev reference leak with failed requests IB/mlx5: avoid destroying a NULL mr in reg_user_mr error flow

Hariprasad S (2):
iw_cxgb4: set the default MPA version to 2
iw_cxgb4: Add support for clip

Ira Weiny (3):
IB/hfi1: Add PSM2 user space header to header_install IB/core: Remove unnecessary defines from ib_mad.h IB/core: Move SM class defines from ib_mad.h to ib_smi.h

Jack Morgenstein (3):
IB/mlx4: Fix potential deadlock when sending mad to wire IB/mlx4: Demote mcg message from warning to debug IB/mlx4: Forbid using sysfs to change RoCE pkeys

Jason Gunthorpe (15):
IB/ucma: Fix theoretical user triggered use-after-free IB/core: Make ib_alloc_device init the kobject IB/core: Guarantee that a local_dma_lkey is available IB/mad: Remove ib_get_dma_mr calls
IB/ipoib: Remove ib_get_dma_mr calls IB/mlx4: Remove ib_get_dma_mr calls
IB/mlx5: Remove ib_get_dma_mr calls
IB/iser: Use pd->local_dma_lkey
iser-target: Remove ib_get_dma_mr calls IB/srp: Use pd->local_dma_lkey
ib_srpt: Remove ib_get_dma_mr calls
net/9p: Remove ib_get_dma_mr calls
rds/ib: Remove ib_get_dma_mr calls
IB/core: Make ib_dealloc_pd return void IB/ipoib: Suppress warning for send only join failures

Jeff Becker (1):
staging/hfi1: replace indent spaces with tabs

Jenny Falkovich (1):
IB/iser: Change some module parameters to be RO

Jubin John (1):
IB/hfi1: Add CSRs for CONFIG_SDMA_VERBOSITY

Kaike Wan (5):
IB/netlink: Add defines for local service requests through netlink IB/core: Add rdma netlink helper functions
IB/sa: Allocate SA query with kzalloc
IB/sa: Route SA pathrecord query through netlink IB/sa: Fix rdma netlink message flags

Matan Barak (5):
net/ipv6: Export addrconf_ifid_eui48
net: Add info for NETDEV_CHANGEUPPER event net/bonding: Export bond_option_active_slave_get_rcu IB/core: Add RoCE GID table management IB/core: Add RoCE table bonding support

Mike Marciniszyn (3):
IB/qib: Change lkey table allocation to support more MRs IB/hfi1: add driver files
IB/hfi1: Support ib_alloc_mr verb

Moni Shoua (3):
net/mlx4: Postpone the registration of net_device IB/mlx4: Implement ib_device callbacks IB/mlx4: Replace mechanism for RoCE GID management

Nicholas Krause (1):
IB/cxgb4: Fix if statement in pick_local_ip6adddrs

Noa Osherovich (1):
IB/mlx4: Use correct SL on AH query under RoCE

Roland Dreier (1):
IB/mlx5: Remove dead code from alloc_cached_mr()

Sagi Grimberg (40):
mlx5: Fix missing device local_dma_lkey
mlx5: Expose correct page_size_cap in device attributes mlx4, mlx5, mthca: Expose max_sge_rd correctly
IB/core: Get rid of redundant verb ib_destroy_mr
IB: Modify ib_create_mr API
IB/iser: Convert to ib_alloc_mr
iser-target: Convert to ib_alloc_mr
IB/srp: Convert to ib_alloc_mr
xprtrdma, svcrdma: Convert to ib_alloc_mr
RDS: Convert to ib_alloc_mr
mlx5: Drop mlx5_ib_alloc_fast_reg_mr
mlx4: Support ib_alloc_mr verb
ocrdma: Support ib_alloc_mr verb
iw_cxgb4: Support ib_alloc_mr verb
cxgb3: Support ib_alloc_mr verb
nes: Support ib_alloc_mr verb
qib: Support ib_alloc_mr verb
IB/core: Drop ib_alloc_fast_reg_mr
IB/iser: Change minor assignments and logging prints IB/iser: Remove '.' from log message
IB/iser: Fix missing return status check in iser_send_data_out IB/iser: Get rid of un-maintained counters
IB/iser: Fix possible bogus DMA unmapping
IB/iser: Remove a redundant always-false condition
IB/iser: Remove an unneeded print for unaligned memory IB/iser: Introduce struct iser_reg_resources
IB/iser: Rename struct fast_reg_descriptor -> iser_fr_desc IB/iser: Remove dead code in fmr_pool alloc/free
IB/iser: Introduce iser_reg_ops
IB/iser: Move fastreg descriptor allocation to iser_create_fastreg_desc IB/iser: Introduce iser registration pool struct
IB/iser: Rename iser_reg_page_vec to iser_fast_reg_fmr IB/iser: Make reg_desc_get a per device routine
IB/iser: Unify fast memory registration flows
IB/iser: Pass registration pool a size parameter
IB/iser: Support up to 8MB data transfer in a single command IB/iser: Add debug prints to the various memory registration methods IB/iser: Chain all iser transaction send work requests
mlx5: Fix incorrect wc pkey_index assignment for GSI messages IB/srp: Fix possible protection fault

Somnath Kotur (1):
RDMA/ocrdma: Incorporate the moving of GID Table mgmt to IB/Core

Spencer Baugh (1):
RDMA/cma: fix IPv6 address resolution

Steve Wise (6):
RDMA/iser: Limit sgs to the device fastreg depth RDMA/amso1100: Deprecate the amso1100 driver and move to staging ipath,qib: Expose max_sge_rd correctly
svcrdma: Use max_sge_rd for destination read depths RDMA/Core: remove rdma_cap_read_multi_sge() helper
svcrdma: limit FRMR page list lengths to device max

Yishai Hadas (6):
IB/uverbs: Fix reference counting usage of event files IB/uverbs: Fix race between ib_uverbs_open and remove_one IB/uverbs: Explicitly pass ib_dev to uverbs commands
IB/uverbs: Enable device removal when there are active user space applications IB/mlx4_ib: Disassociate support
IB/ucma: HW Device hot-removal support

Yotam Kenneth (1):
IB/core: Find the network device matching connection parameters

 Documentation/infiniband/sysfs.txt                 |    20 +
 MAINTAINERS                                        |     9 +-
 drivers/infiniband/Kconfig                         |     2 -
 drivers/infiniband/core/Makefile                   |     3 +-
 drivers/infiniband/core/cache.c                    |   773 +-
 drivers/infiniband/core/cm.c                       |   215 +-
 drivers/infiniband/core/cma.c                      |   657 +-
 drivers/infiniband/core/core_priv.h                |    54 +-
 drivers/infiniband/core/device.c                   |   335 +-
 drivers/infiniband/core/mad.c                      |    28 +-
 drivers/infiniband/core/mad_priv.h                 |     1 -
 drivers/infiniband/core/multicast.c                |     7 +-
 drivers/infiniband/core/netlink.c                  |    55 +
 drivers/infiniband/core/roce_gid_mgmt.c            |   730 ++
 drivers/infiniband/core/sa_query.c                 |   515 +-
 drivers/infiniband/core/sysfs.c                    |    51 +-
 drivers/infiniband/core/ucm.c                      |     9 +-
 drivers/infiniband/core/ucma.c                     |   146 +-
 drivers/infiniband/core/user_mad.c                 |     6 +-
 drivers/infiniband/core/uverbs.h                   |    16 +-
 drivers/infiniband/core/uverbs_cmd.c               |   147 +-
 drivers/infiniband/core/uverbs_main.c              |   448 +-
 drivers/infiniband/core/verbs.c                    |   131 +-
 drivers/infiniband/hw/Makefile                     |     2 -
 drivers/infiniband/hw/cxgb3/iwch_provider.c        |    14 +-
 drivers/infiniband/hw/cxgb4/cm.c                   |    82 +-
 drivers/infiniband/hw/cxgb4/iw_cxgb4.h             |     4 +-
 drivers/infiniband/hw/cxgb4/mem.c                  |    12 +-
 drivers/infiniband/hw/cxgb4/provider.c             |     2 +-
 drivers/infiniband/hw/mlx4/ah.c                    |     8 +-
 drivers/infiniband/hw/mlx4/cq.c                    |     2 +-
 drivers/infiniband/hw/mlx4/mad.c                   |    23 +-
 drivers/infiniband/hw/mlx4/main.c                  |   891 +-
 drivers/infiniband/hw/mlx4/mcg.c                   |    15 +-
 drivers/infiniband/hw/mlx4/mlx4_ib.h               |    40 +-
 drivers/infiniband/hw/mlx4/mr.c                    |    11 +-
 drivers/infiniband/hw/mlx4/qp.c                    |    10 +-
 drivers/infiniband/hw/mlx4/sysfs.c                 |     5 +-
 drivers/infiniband/hw/mlx5/cq.c                    |    10 +-
 drivers/infiniband/hw/mlx5/main.c                  |    30 +-
 drivers/infiniband/hw/mlx5/mlx5_ib.h               |    14 +-
 drivers/infiniband/hw/mlx5/mr.c                    |   124 +-
 drivers/infiniband/hw/mlx5/qp.c                    |     5 -
 drivers/infiniband/hw/mthca/mthca_provider.c       |     1 +
 drivers/infiniband/hw/nes/nes_verbs.c              |    19 +-
 drivers/infiniband/hw/ocrdma/ocrdma.h              |     1 -
 drivers/infiniband/hw/ocrdma/ocrdma_main.c         |   236 +-
 drivers/infiniband/hw/ocrdma/ocrdma_sli.h          |     2 +
 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c        |    56 +-
 drivers/infiniband/hw/ocrdma/ocrdma_verbs.h        |    15 +-
 drivers/infiniband/hw/qib/qib_keys.c               |     4 +
 drivers/infiniband/hw/qib/qib_mad.h                |   147 +-
 drivers/infiniband/hw/qib/qib_mr.c                 |     9 +-
 drivers/infiniband/hw/qib/qib_ruc.c                |     1 +
 drivers/infiniband/hw/qib/qib_verbs.c              |    17 +-
 drivers/infiniband/hw/qib/qib_verbs.h              |     6 +-
 drivers/infiniband/ulp/ipoib/ipoib.h               |     1 -
 drivers/infiniband/ulp/ipoib/ipoib_cm.c            |     4 +-
 drivers/infiniband/ulp/ipoib/ipoib_main.c          |   236 +-
 drivers/infiniband/ulp/ipoib/ipoib_multicast.c     |    50 +-
 drivers/infiniband/ulp/ipoib/ipoib_verbs.c         |    22 +-
 drivers/infiniband/ulp/iser/iscsi_iser.c           |    91 +-
 drivers/infiniband/ulp/iser/iscsi_iser.h           |   206 +-
 drivers/infiniband/ulp/iser/iser_initiator.c       |    38 +-
 drivers/infiniband/ulp/iser/iser_memory.c          |   482 +-
 drivers/infiniband/ulp/iser/iser_verbs.c           |   339 +-
 drivers/infiniband/ulp/isert/ib_isert.c            |    47 +-
 drivers/infiniband/ulp/isert/ib_isert.h            |     1 -
 drivers/infiniband/ulp/srp/ib_srp.c                |   282 +-
 drivers/infiniband/ulp/srp/ib_srp.h                |    25 +-
 drivers/infiniband/ulp/srpt/ib_srpt.c              |    22 +-
 drivers/infiniband/ulp/srpt/ib_srpt.h              |     1 -
 drivers/net/bonding/bond_options.c                 |    13 -
 drivers/net/ethernet/mellanox/mlx4/en_main.c       |    36 +-
 drivers/net/ethernet/mellanox/mlx4/intf.c          |     3 +
 drivers/net/ethernet/mellanox/mlx5/core/fw.c       |    22 +
 drivers/staging/Kconfig                            |     2 +
 drivers/staging/Makefile                           |     1 +
 drivers/staging/rdma/Kconfig                       |    31 +
 drivers/staging/rdma/Makefile                      |     4 +
 .../hw => staging/rdma}/amso1100/Kbuild            |     0
 .../hw => staging/rdma}/amso1100/Kconfig           |     0
 drivers/staging/rdma/amso1100/TODO                 |     4 +
 .../{infiniband/hw => staging/rdma}/amso1100/c2.c  |     0
 .../{infiniband/hw => staging/rdma}/amso1100/c2.h  |     0
 .../hw => staging/rdma}/amso1100/c2_ae.c           |     0
 .../hw => staging/rdma}/amso1100/c2_ae.h           |     0
 .../hw => staging/rdma}/amso1100/c2_alloc.c        |     0
 .../hw => staging/rdma}/amso1100/c2_cm.c           |     0
 .../hw => staging/rdma}/amso1100/c2_cq.c           |     0
 .../hw => staging/rdma}/amso1100/c2_intr.c         |     0
 .../hw => staging/rdma}/amso1100/c2_mm.c           |     0
 .../hw => staging/rdma}/amso1100/c2_mq.c           |     0
 .../hw => staging/rdma}/amso1100/c2_mq.h           |     0
 .../hw => staging/rdma}/amso1100/c2_pd.c           |     0
 .../hw => staging/rdma}/amso1100/c2_provider.c     |     0
 .../hw => staging/rdma}/amso1100/c2_provider.h     |     0
 .../hw => staging/rdma}/amso1100/c2_qp.c           |     0
 .../hw => staging/rdma}/amso1100/c2_rnic.c         |     0
 .../hw => staging/rdma}/amso1100/c2_status.h       |     0
 .../hw => staging/rdma}/amso1100/c2_user.h         |     0
 .../hw => staging/rdma}/amso1100/c2_vq.c           |     0
 .../hw => staging/rdma}/amso1100/c2_vq.h           |     0
 .../hw => staging/rdma}/amso1100/c2_wr.h           |     0
 drivers/staging/rdma/hfi1/Kconfig                  |    37 +
 drivers/staging/rdma/hfi1/Makefile                 |    19 +
 drivers/staging/rdma/hfi1/TODO                     |     6 +
 drivers/staging/rdma/hfi1/chip.c                   | 10798 +++++++++++++++++++
 drivers/staging/rdma/hfi1/chip.h                   |  1035 ++
 drivers/staging/rdma/hfi1/chip_registers.h         |  1292 +++
 drivers/staging/rdma/hfi1/common.h                 |   415 +
 drivers/staging/rdma/hfi1/cq.c                     |   558 +
 drivers/staging/rdma/hfi1/debugfs.c                |   899 ++
 drivers/staging/rdma/hfi1/debugfs.h                |    78 +
 drivers/staging/rdma/hfi1/device.c                 |   142 +
 drivers/staging/rdma/hfi1/device.h                 |    61 +
 drivers/staging/rdma/hfi1/diag.c                   |  1873 ++++
 drivers/staging/rdma/hfi1/dma.c                    |   186 +
 drivers/staging/rdma/hfi1/driver.c                 |  1241 +++
 drivers/staging/rdma/hfi1/eprom.c                  |   475 +
 drivers/staging/rdma/hfi1/eprom.h                  |    55 +
 drivers/staging/rdma/hfi1/file_ops.c               |  2140 ++++
 drivers/staging/rdma/hfi1/firmware.c               |  1620 +++
 drivers/staging/rdma/hfi1/hfi.h                    |  1821 ++++
 drivers/staging/rdma/hfi1/init.c                   |  1722 +++
 drivers/staging/rdma/hfi1/intr.c                   |   207 +
 drivers/staging/rdma/hfi1/iowait.h                 |   186 +
 drivers/staging/rdma/hfi1/keys.c                   |   411 +
 drivers/staging/rdma/hfi1/mad.c                    |  4257 ++++++++
 drivers/staging/rdma/hfi1/mad.h                    |   325 +
 drivers/staging/rdma/hfi1/mmap.c                   |   192 +
 drivers/staging/rdma/hfi1/mr.c                     |   551 +
 drivers/staging/rdma/hfi1/opa_compat.h             |   129 +
 drivers/staging/rdma/hfi1/pcie.c                   |  1253 +++
 drivers/staging/rdma/hfi1/pio.c                    |  1771 +++
 drivers/staging/rdma/hfi1/pio.h                    |   224 +
 drivers/staging/rdma/hfi1/pio_copy.c               |   858 ++
 drivers/staging/rdma/hfi1/platform_config.h        |   286 +
 drivers/staging/rdma/hfi1/qp.c                     |  1687 +++
 drivers/staging/rdma/hfi1/qp.h                     |   235 +
 drivers/staging/rdma/hfi1/qsfp.c                   |   546 +
 drivers/staging/rdma/hfi1/qsfp.h                   |   222 +
 drivers/staging/rdma/hfi1/rc.c                     |  2426 +++++
 drivers/staging/rdma/hfi1/ruc.c                    |   948 ++
 drivers/staging/rdma/hfi1/sdma.c                   |  2962 +++++
 drivers/staging/rdma/hfi1/sdma.h                   |  1123 ++
 drivers/staging/rdma/hfi1/srq.c                    |   397 +
 drivers/staging/rdma/hfi1/sysfs.c                  |   739 ++
 drivers/staging/rdma/hfi1/trace.c                  |   221 +
 drivers/staging/rdma/hfi1/trace.h                  |  1409 +++
 drivers/staging/rdma/hfi1/twsi.c                   |   518 +
 drivers/staging/rdma/hfi1/twsi.h                   |    68 +
 drivers/staging/rdma/hfi1/uc.c                     |   585 +
 drivers/staging/rdma/hfi1/ud.c                     |   885 ++
 drivers/staging/rdma/hfi1/user_pages.c             |   156 +
 drivers/staging/rdma/hfi1/user_sdma.c              |  1444 +++
 drivers/staging/rdma/hfi1/user_sdma.h              |    89 +
 drivers/staging/rdma/hfi1/verbs.c                  |  2143 ++++
 drivers/staging/rdma/hfi1/verbs.h                  |  1151 ++
 drivers/staging/rdma/hfi1/verbs_mcast.c            |   385 +
 .../{infiniband/hw => staging/rdma}/ipath/Kconfig  |     4 +-
 .../{infiniband/hw => staging/rdma}/ipath/Makefile |     0
 drivers/staging/rdma/ipath/TODO                    |     5 +
 .../hw => staging/rdma}/ipath/ipath_common.h       |     0
 .../hw => staging/rdma}/ipath/ipath_cq.c           |     0
 .../hw => staging/rdma}/ipath/ipath_debug.h        |     0
 .../hw => staging/rdma}/ipath/ipath_diag.c         |     0
 .../hw => staging/rdma}/ipath/ipath_dma.c          |     0
 .../hw => staging/rdma}/ipath/ipath_driver.c       |     0
 .../hw => staging/rdma}/ipath/ipath_eeprom.c       |     0
 .../hw => staging/rdma}/ipath/ipath_file_ops.c     |     0
 .../hw => staging/rdma}/ipath/ipath_fs.c           |     0
 .../hw => staging/rdma}/ipath/ipath_iba6110.c      |     0
 .../hw => staging/rdma}/ipath/ipath_init_chip.c    |     0
 .../hw => staging/rdma}/ipath/ipath_intr.c         |     0
 .../hw => staging/rdma}/ipath/ipath_kernel.h       |     0
 .../hw => staging/rdma}/ipath/ipath_keys.c         |     0
 .../hw => staging/rdma}/ipath/ipath_mad.c          |     0
 .../hw => staging/rdma}/ipath/ipath_mmap.c         |     0
 .../hw => staging/rdma}/ipath/ipath_mr.c           |     0
 .../hw => staging/rdma}/ipath/ipath_qp.c           |     0
 .../hw => staging/rdma}/ipath/ipath_rc.c           |     0
 .../hw => staging/rdma}/ipath/ipath_registers.h    |     0
 .../hw => staging/rdma}/ipath/ipath_ruc.c          |     0
 .../hw => staging/rdma}/ipath/ipath_sdma.c         |     0
 .../hw => staging/rdma}/ipath/ipath_srq.c          |     0
 .../hw => staging/rdma}/ipath/ipath_stats.c        |     0
 .../hw => staging/rdma}/ipath/ipath_sysfs.c        |     0
 .../hw => staging/rdma}/ipath/ipath_uc.c           |     0
 .../hw => staging/rdma}/ipath/ipath_ud.c           |     0
 .../hw => staging/rdma}/ipath/ipath_user_pages.c   |     0
 .../hw => staging/rdma}/ipath/ipath_user_sdma.c    |     0
 .../hw => staging/rdma}/ipath/ipath_user_sdma.h    |     0
 .../hw => staging/rdma}/ipath/ipath_verbs.c        |     1 +
 .../hw => staging/rdma}/ipath/ipath_verbs.h        |     0
 .../hw => staging/rdma}/ipath/ipath_verbs_mcast.c  |     0
 .../hw => staging/rdma}/ipath/ipath_wc_ppc64.c     |     0
 .../hw => staging/rdma}/ipath/ipath_wc_x86_64.c    |     0
 include/linux/mlx4/device.h                        |     3 +-
 include/linux/mlx4/driver.h                        |     1 +
 include/linux/mlx5/device.h                        |    11 +
 include/linux/mlx5/driver.h                        |     1 +
 include/linux/netdevice.h                          |    14 +
 include/linux/sunrpc/svc_rdma.h                    |     1 +
 include/net/addrconf.h                             |    31 +
 include/net/bonding.h                              |     7 +
 include/rdma/ib_cm.h                               |    25 +-
 include/rdma/ib_mad.h                              |    82 +-
 include/rdma/ib_pack.h                             |     2 +
 include/rdma/ib_smi.h                              |    47 +
 include/rdma/ib_verbs.h                            |   203 +-
 include/rdma/opa_port_info.h                       |   433 +
 include/rdma/opa_smi.h                             |    47 +
 include/rdma/rdma_netlink.h                        |     7 +
 include/uapi/rdma/Kbuild                           |     1 +
 include/uapi/rdma/hfi/Kbuild                       |     2 +
 include/uapi/rdma/hfi/hfi1_user.h                  |   427 +
 include/uapi/rdma/rdma_netlink.h                   |    82 +
 net/9p/trans_rdma.c                                |    26 +-
 net/core/dev.c                                     |    12 +-
 net/ipv6/addrconf.c                                |    31 -
 net/rds/ib.c                                       |    13 +-
 net/rds/ib.h                                       |     2 -
 net/rds/ib_cm.c                                    |     4 +-
 net/rds/ib_recv.c                                  |     6 +-
 net/rds/ib_send.c                                  |     8 +-
 net/rds/iw.c                                       |    10 +-
 net/rds/iw_rdma.c                                  |     5 +-
 net/rds/iw_send.c                                  |     5 +-
 net/sunrpc/xprtrdma/frwr_ops.c                     |     6 +-
 net/sunrpc/xprtrdma/svc_rdma_recvfrom.c            |    12 +-
 net/sunrpc/xprtrdma/svc_rdma_transport.c           |    10 +-
 net/sunrpc/xprtrdma/verbs.c                        |     2 +-
 233 files changed, 64457 insertions(+), 2733 deletions(-)
 create mode 100644 drivers/infiniband/core/roce_gid_mgmt.c
 create mode 100644 drivers/staging/rdma/Kconfig
 create mode 100644 drivers/staging/rdma/Makefile
 rename drivers/{infiniband/hw => staging/rdma}/amso1100/Kbuild (100%)
 rename drivers/{infiniband/hw => staging/rdma}/amso1100/Kconfig (100%)
 create mode 100644 drivers/staging/rdma/amso1100/TODO
 rename drivers/{infiniband/hw => staging/rdma}/amso1100/c2.c (100%)
 rename drivers/{infiniband/hw => staging/rdma}/amso1100/c2.h (100%)
 rename drivers/{infiniband/hw => staging/rdma}/amso1100/c2_ae.c (100%)
 rename drivers/{infiniband/hw => staging/rdma}/amso1100/c2_ae.h (100%)
 rename drivers/{infiniband/hw => staging/rdma}/amso1100/c2_alloc.c (100%)
 rename drivers/{infiniband/hw => staging/rdma}/amso1100/c2_cm.c (100%)
 rename drivers/{infiniband/hw => staging/rdma}/amso1100/c2_cq.c (100%)
 rename drivers/{infiniband/hw => staging/rdma}/amso1100/c2_intr.c (100%)
 rename drivers/{infiniband/hw => staging/rdma}/amso1100/c2_mm.c (100%)
 rename drivers/{infiniband/hw => staging/rdma}/amso1100/c2_mq.c (100%)
 rename drivers/{infiniband/hw => staging/rdma}/amso1100/c2_mq.h (100%)
 rename drivers/{infiniband/hw => staging/rdma}/amso1100/c2_pd.c (100%)
 rename drivers/{infiniband/hw => staging/rdma}/amso1100/c2_provider.c (100%)
 rename drivers/{infiniband/hw => staging/rdma}/amso1100/c2_provider.h (100%)
 rename drivers/{infiniband/hw => staging/rdma}/amso1100/c2_qp.c (100%)
 rename drivers/{infiniband/hw => staging/rdma}/amso1100/c2_rnic.c (100%)
 rename drivers/{infiniband/hw => staging/rdma}/amso1100/c2_status.h (100%)
 rename drivers/{infiniband/hw => staging/rdma}/amso1100/c2_user.h (100%)
 rename drivers/{infiniband/hw => staging/rdma}/amso1100/c2_vq.c (100%)
 rename drivers/{infiniband/hw => staging/rdma}/amso1100/c2_vq.h (100%)
 rename drivers/{infiniband/hw => staging/rdma}/amso1100/c2_wr.h (100%)
 create mode 100644 drivers/staging/rdma/hfi1/Kconfig
 create mode 100644 drivers/staging/rdma/hfi1/Makefile
 create mode 100644 drivers/staging/rdma/hfi1/TODO
 create mode 100644 drivers/staging/rdma/hfi1/chip.c
 create mode 100644 drivers/staging/rdma/hfi1/chip.h
 create mode 100644 drivers/staging/rdma/hfi1/chip_registers.h
 create mode 100644 drivers/staging/rdma/hfi1/common.h
 create mode 100644 drivers/staging/rdma/hfi1/cq.c
 create mode 100644 drivers/staging/rdma/hfi1/debugfs.c
 create mode 100644 drivers/staging/rdma/hfi1/debugfs.h
 create mode 100644 drivers/staging/rdma/hfi1/device.c
 create mode 100644 drivers/staging/rdma/hfi1/device.h
 create mode 100644 drivers/staging/rdma/hfi1/diag.c
 create mode 100644 drivers/staging/rdma/hfi1/dma.c
 create mode 100644 drivers/staging/rdma/hfi1/driver.c
 create mode 100644 drivers/staging/rdma/hfi1/eprom.c
 create mode 100644 drivers/staging/rdma/hfi1/eprom.h
 create mode 100644 drivers/staging/rdma/hfi1/file_ops.c
 create mode 100644 drivers/staging/rdma/hfi1/firmware.c
 create mode 100644 drivers/staging/rdma/hfi1/hfi.h
 create mode 100644 drivers/staging/rdma/hfi1/init.c
 create mode 100644 drivers/staging/rdma/hfi1/intr.c
 create mode 100644 drivers/staging/rdma/hfi1/iowait.h
 create mode 100644 drivers/staging/rdma/hfi1/keys.c
 create mode 100644 drivers/staging/rdma/hfi1/mad.c
 create mode 100644 drivers/staging/rdma/hfi1/mad.h
 create mode 100644 drivers/staging/rdma/hfi1/mmap.c
 create mode 100644 drivers/staging/rdma/hfi1/mr.c
 create mode 100644 drivers/staging/rdma/hfi1/opa_compat.h
 create mode 100644 drivers/staging/rdma/hfi1/pcie.c
 create mode 100644 drivers/staging/rdma/hfi1/pio.c
 create mode 100644 drivers/staging/rdma/hfi1/pio.h
 create mode 100644 drivers/staging/rdma/hfi1/pio_copy.c
 create mode 100644 drivers/staging/rdma/hfi1/platform_config.h
 create mode 100644 drivers/staging/rdma/hfi1/qp.c
 create mode 100644 drivers/staging/rdma/hfi1/qp.h
 create mode 100644 drivers/staging/rdma/hfi1/qsfp.c
 create mode 100644 drivers/staging/rdma/hfi1/qsfp.h
 create mode 100644 drivers/staging/rdma/hfi1/rc.c
 create mode 100644 drivers/staging/rdma/hfi1/ruc.c
 create mode 100644 drivers/staging/rdma/hfi1/sdma.c
 create mode 100644 drivers/staging/rdma/hfi1/sdma.h
 create mode 100644 drivers/staging/rdma/hfi1/srq.c
 create mode 100644 drivers/staging/rdma/hfi1/sysfs.c
 create mode 100644 drivers/staging/rdma/hfi1/trace.c
 create mode 100644 drivers/staging/rdma/hfi1/trace.h
 create mode 100644 drivers/staging/rdma/hfi1/twsi.c
 create mode 100644 drivers/staging/rdma/hfi1/twsi.h
 create mode 100644 drivers/staging/rdma/hfi1/uc.c
 create mode 100644 drivers/staging/rdma/hfi1/ud.c
 create mode 100644 drivers/staging/rdma/hfi1/user_pages.c
 create mode 100644 drivers/staging/rdma/hfi1/user_sdma.c
 create mode 100644 drivers/staging/rdma/hfi1/user_sdma.h
 create mode 100644 drivers/staging/rdma/hfi1/verbs.c
 create mode 100644 drivers/staging/rdma/hfi1/verbs.h
 create mode 100644 drivers/staging/rdma/hfi1/verbs_mcast.c
 rename drivers/{infiniband/hw => staging/rdma}/ipath/Kconfig (81%)
 rename drivers/{infiniband/hw => staging/rdma}/ipath/Makefile (100%)
 create mode 100644 drivers/staging/rdma/ipath/TODO
 rename drivers/{infiniband/hw => staging/rdma}/ipath/ipath_common.h (100%)
 rename drivers/{infiniband/hw => staging/rdma}/ipath/ipath_cq.c (100%)
 rename drivers/{infiniband/hw => staging/rdma}/ipath/ipath_debug.h (100%)
 rename drivers/{infiniband/hw => staging/rdma}/ipath/ipath_diag.c (100%)
 rename drivers/{infiniband/hw => staging/rdma}/ipath/ipath_dma.c (100%)
 rename drivers/{infiniband/hw => staging/rdma}/ipath/ipath_driver.c (100%)
 rename drivers/{infiniband/hw => staging/rdma}/ipath/ipath_eeprom.c (100%)
 rename drivers/{infiniband/hw => staging/rdma}/ipath/ipath_file_ops.c (100%)
 rename drivers/{infiniband/hw => staging/rdma}/ipath/ipath_fs.c (100%)
 rename drivers/{infiniband/hw => staging/rdma}/ipath/ipath_iba6110.c (100%)
 rename drivers/{infiniband/hw => staging/rdma}/ipath/ipath_init_chip.c (100%)
 rename drivers/{infiniband/hw => staging/rdma}/ipath/ipath_intr.c (100%)
 rename drivers/{infiniband/hw => staging/rdma}/ipath/ipath_kernel.h (100%)
 rename drivers/{infiniband/hw => staging/rdma}/ipath/ipath_keys.c (100%)
 rename drivers/{infiniband/hw => staging/rdma}/ipath/ipath_mad.c (100%)
 rename drivers/{infiniband/hw => staging/rdma}/ipath/ipath_mmap.c (100%)
 rename drivers/{infiniband/hw => staging/rdma}/ipath/ipath_mr.c (100%)
 rename drivers/{infiniband/hw => staging/rdma}/ipath/ipath_qp.c (100%)
 rename drivers/{infiniband/hw => staging/rdma}/ipath/ipath_rc.c (100%)
 rename drivers/{infiniband/hw => staging/rdma}/ipath/ipath_registers.h (100%)
 rename drivers/{infiniband/hw => staging/rdma}/ipath/ipath_ruc.c (100%)
 rename drivers/{infiniband/hw => staging/rdma}/ipath/ipath_sdma.c (100%)
 rename drivers/{infiniband/hw => staging/rdma}/ipath/ipath_srq.c (100%)
 rename drivers/{infiniband/hw => staging/rdma}/ipath/ipath_stats.c (100%)
 rename drivers/{infiniband/hw => staging/rdma}/ipath/ipath_sysfs.c (100%)
 rename drivers/{infiniband/hw => staging/rdma}/ipath/ipath_uc.c (100%)
 rename drivers/{infiniband/hw => staging/rdma}/ipath/ipath_ud.c (100%)
 rename drivers/{infiniband/hw => staging/rdma}/ipath/ipath_user_pages.c (100%)
 rename drivers/{infiniband/hw => staging/rdma}/ipath/ipath_user_sdma.c (100%)
 rename drivers/{infiniband/hw => staging/rdma}/ipath/ipath_user_sdma.h (100%)
 rename drivers/{infiniband/hw => staging/rdma}/ipath/ipath_verbs.c (99%)
 rename drivers/{infiniband/hw => staging/rdma}/ipath/ipath_verbs.h (100%)
 rename drivers/{infiniband/hw => staging/rdma}/ipath/ipath_verbs_mcast.c (100%)
 rename drivers/{infiniband/hw => staging/rdma}/ipath/ipath_wc_ppc64.c (100%)
 rename drivers/{infiniband/hw => staging/rdma}/ipath/ipath_wc_x86_64.c (100%)
 create mode 100644 include/rdma/opa_port_info.h
 create mode 100644 include/uapi/rdma/hfi/Kbuild
 create mode 100644 include/uapi/rdma/hfi/hfi1_user.h

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#2 lore raw
In reply to a message not in the archive
Quoted 3 lines · Doug Ledford

Matan Barak (5):
net: Add info for NETDEV_CHANGEUPPER event

Why the hell is this coming in through the infiniband tree? Especially with the networking tree having done the same thing differently?

I see that Stephen Rothwell reported this almost two weeks ago, and informed you.

The commit you send me, though, has been rebased since then, BUT IT STILL EXISTS.

The commit is wrong, and you knew about it. So tell me, why the hell should I pull this shit?

Oh, yes, I can fix it in the merge. This is not a "I can't resolve this pull request" email. Resolving it in favor of the existing networking infrastructure is easy.

This is a "why should I even bother?" email.

The two different commits have very similar logic, somewhat similar names, but the details are different. Both were written by somebody with a "mellanox.com" address.

One huge glaring difference is that one of them went through the networking maintainer, which matters a great deal since this is a networking notifier.

I did the pull, did most of the resolve, but then decided that I don't even want to merge this considering how questionable it was.

This needs a good explanation, because for now this pull request is dead to me.

Linus
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#3 lore raw
Quoted 2 lines · Linus Torvalds

This needs a good explanation, because for now this pull request is dead to me.

Just to clarify: it's really the combination of:

(a) you were told about this

(b) you rebased your commit series after it

(c) you didn't fix it and never even mentioned the issue

that makes me just go "I want to have absolutely nothing to do with this disaster area of a pull request".

The conflict itself? Big deal. Conflicts happen. But that patch shouldn't have gone through your tree in the first place, and it damn well should have had an ack from David or something if it did.

And the *same* company sent two different patches for the same thing to two different submaintainers? WTF guys?

Kernel development isn't a sport where you throw shit on the wall to see what sticks.

This could have been done correctly. You could have cc'd David, and you could also have just said "sorry, there's a conflict due to me taking a different version of a patch that also went through the networking tree". Or you could have tried to synchronize to begin with, and just used the same version of the patch from day one. Or if you had to rebase your patch series (why was that done, anyway?) you could just have fixed it to do what the networking tree already did.

So this could have been done so much better in many ways. But none of that happened.

Cross-subsystem conflicts do happen, and patches that cross said subsystems aren't evil per se. I have lost count of how many conflicts I've resolved in just this merge window. I do it all the time. But this one made me just go "Eww".

The rebase and the complete lack of communication here just makes me angry.

Linus
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#29 lore raw
In reply to Linus Torvalds
Quoted 7 lines · Linus Torvalds
Quoted 3 lines · Doug Ledford

Matan Barak (5):
net: Add info for NETDEV_CHANGEUPPER event

Why the hell is this coming in through the infiniband tree? Especially with the networking tree having done the same thing differently?

Because the tree isn't buildable, let alone testable, without it.

Quoted 2 lines

I see that Stephen Rothwell reported this almost two weeks ago, and informed you.

Yes, and he said he had a merge fixup and that it would carry forward. I'm not real clear on how Stephen's stuff works, but when I'm told "I can carry this going forward, no further action is needed on your part", I took that at face value.

Quoted 2 lines

The commit you send me, though, has been rebased since then, BUT IT STILL EXISTS.

Because I still need to be able to test. Originally you had said you wanted the root of my pull requests to be based on something clean, such as a known stable rc point or some such. But if I have to pull from net-next in order to keep working on what I'm working on, that was a no-no as I understood things. Unfortunately, overlap between the net tree and the rdma tree is an all too common occurrence and so I'm going to need to work out a workflow that satisfies all the various parties in regards to it. Suggestions welcome.

Quoted 2 lines

The commit is wrong, and you knew about it. So tell me, why the hell should I pull this shit?

I expected it to get fixed up properly by the merge commit Stephen was carrying. I haven't seen any good documentation on exactly how his tree works and what actions I might take and whether they will break it or keep it from doing what it was supposed to do, but since the fixup was there and meant to take care of this, I left things as they were. I supposed I could have rebased and replaced that patch with the one in Dave's tree. Would that have been preferable?

Quoted 5 lines

Oh, yes, I can fix it in the merge. This is not a "I can't resolve this pull request" email. Resolving it in favor of the existing networking infrastructure is easy.

This is a "why should I even bother?" email.

Well, I expected it to be handled without much effort on your part and the existing network infrastructure to be the final version.

Quoted 7 lines

The two different commits have very similar logic, somewhat similar names, but the details are different. Both were written by somebody with a "mellanox.com" address.

One huge glaring difference is that one of them went through the networking maintainer, which matters a great deal since this is a networking notifier.

Sure, I agree.

Quoted 4 lines

I did the pull, did most of the resolve, but then decided that I don't even want to merge this considering how questionable it was.

This needs a good explanation, because for now this pull request is dead to me.

Is further explanation necessary, or have I answered your questions?

Signature · 2 lines
Doug Ledford <[email protected]>
              GPG KeyID: 0E572FDD
#5 lore raw
In reply to a message not in the archive
Quoted 8 lines · Linus Torvalds
Quoted 2 lines · Linus Torvalds

This needs a good explanation, because for now this pull request is dead to me.

Just to clarify: it's really the combination of:

(a) you were told about this

With a comment that said "I can carry this merge forward, no further action is necessary on your part". That combined with my lack of deep internal knowledge of what it is that Stephen is doing made me go "Ok, he says don't do anything, so I won't change it."

Quoted 1 line

(b) you rebased your commit series after it

Yes. I rebased my tree a bunch of times. I keep two different git repos. The one on kernel.org and one on github. I rebase the one on github. I don't rebase the one on kernel.org. I had *thought* that Stephen had pointed the for-next setup at my kernel.org stuff, but he evidently has it pointed at my github setup. That's something I need to address with Stephen.

Quoted 1 line

(c) you didn't fix it and never even mentioned the issue

Because I thought it was handled.

Quoted 6 lines

that makes me just go "I want to have absolutely nothing to do with this disaster area of a pull request".

The conflict itself? Big deal. Conflicts happen. But that patch shouldn't have gone through your tree in the first place, and it damn well should have had an ack from David or something if it did.

I agree. The entire patch series that this patch came from went through about v7 during review process. The early versions had the patch mixed in amongst the others and no Cc: to netdev. I specifically requested that all of the netdev related patches be sent to netdev (they were), and I had every intention of making sure that Dave acked the patch. Until Stephen's setup caught the two identical patches, resolved it in favor of Dave's tree's patch, rendering the issue moot.

Quoted 17 lines

And the *same* company sent two different patches for the same thing to two different submaintainers? WTF guys?

Kernel development isn't a sport where you throw shit on the wall to see what sticks.

This could have been done correctly. You could have cc'd David, and you could also have just said "sorry, there's a conflict due to me taking a different version of a patch that also went through the networking tree". Or you could have tried to synchronize to begin with, and just used the same version of the patch from day one. Or if you had to rebase your patch series (why was that done, anyway?) you could just have fixed it to do what the networking tree already did.

So this could have been done so much better in many ways. But none of that happened.

Quoted 6 lines

Cross-subsystem conflicts do happen, and patches that cross said subsystems aren't evil per se. I have lost count of how many conflicts I've resolved in just this merge window. I do it all the time. But this one made me just go "Eww".

The rebase and the complete lack of communication here just makes me angry.

As mentioned in my previous email, the rebase is because Stephen is pointing at my github repo and not my k.o repo. The lack of communication is because I thought it was handled and didn't need to be flagged additionally.

Signature · 2 lines
Doug Ledford <[email protected]>
              GPG KeyID: 0E572FDD
#31 lore raw
In reply to a message not in the archive
Quoted 2 lines · Doug Ledford

Because the tree isn't buildable, let alone testable, without it.

You're missing the ENTIRE POINT.

Quoted 2 lines

Well, I expected it to be handled without much effort on your part and the existing network infrastructure to be the final version.

There is indeed not much effort - I'd be throwing that commit away entirely in favor of the right one.

Quoted 1 line

Is further explanation necessary, or have I answered your questions?

Further explanation is necessary.

Why did you rebase this thing?

And since you *did* rebase it, why did you still take the broken version?

Why did you take a different commit than the networking people did in the first place?

Why did two different people at Mellanox write clearly different versions of the exact same thing? Don't tell me they didn't talk to each other - it's the exact same thing done at around the same time, and for the same reasons, just done with entirely different structure names and structure contents.

Why did you make networking changes without talking to the networking people?

The whole thing is one big mystery. And the problem is not how to merge this, but why this kind of crap happened, and why something as simple as "talk to the networking maintainer" didn't happen.

Linus
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#33 lore raw
In reply to a message not in the archive
Quoted 9 lines · Linus Torvalds
Quoted 2 lines · Doug Ledford

Because the tree isn't buildable, let alone testable, without it.

You're missing the ENTIRE POINT.

Quoted 2 lines

Well, I expected it to be handled without much effort on your part and the existing network infrastructure to be the final version.

Quoted 8 lines

There is indeed not much effort - I'd be throwing that commit away entirely in favor of the right one.

Quoted 1 line

Is further explanation necessary, or have I answered your questions?

Further explanation is necessary.

Why did you rebase this thing?

As mentioned in my other email, Stephen is pointing at my github repo. I had topic branches and a merge branch. There were various fixups that happened during the devel window, and multiple times I rebased the merge branch when topic branches had fixes. I made it very clear to people when I set up the two repos that one was for official use, and one is a WIP development repo that grants people early access but not a picture of the final product. I was not aware that Stephen was pointing at my github repo until this.

Quoted 1 line

And since you *did* rebase it, why did you still take the broken version?

As I mentioned in my other email, I could have replaced it and I didn't.
I didn't think it mattered, so I didn't.

Quoted 2 lines

Why did you take a different commit than the networking people did in the first place?

I wasn't aware of the other one until Stephen notified me.

Quoted 5 lines

Why did two different people at Mellanox write clearly different versions of the exact same thing? Don't tell me they didn't talk to each other - it's the exact same thing done at around the same time, and for the same reasons, just done with entirely different structure names and structure contents.

I can't speak to Mellanox's actions.

Quoted 1 line

Why did you make networking changes without talking to the networking people?

I had no intention of doing so. I had it in my tree, but I wouldn't have pushed it without the networking people's approval. The notification from Stephen rendered that approval moot so I didn't pursue it further.

Quoted 6 lines

The whole thing is one big mystery. And the problem is not how to merge this, but why this kind of crap happened, and why something as simple as "talk to the networking maintainer" didn't happen.

Linus

Signature · 2 lines
Doug Ledford <[email protected]>
              GPG KeyID: 0E572FDD
#7 lore raw
In reply to a message not in the archive
Quoted 5 lines · Doug Ledford

With a comment that said "I can carry this merge forward, no further action is necessary on your part". That combined with my lack of deep internal knowledge of what it is that Stephen is doing made me go "Ok, he says don't do anything, so I won't change it."

So quite frankly, Stephen does a really good job at merging and most of his merges are very on point. He's been doing a lot of them as part of linux-next, and has seen more conflicts than just about anybody else.

But I think to him it's mostly just an issue of "get the right end result". I don't think he goes: "this merge conflict is a result of a breakdown of the development process".

Conversely, to me, one of the main reasons I want to do those merges is exactly because I think conflicts are more about the development process issues than about "just getting the right end result". Yes, obviously I want to get the rigth end result too, but I very much react to how/why the conflict happened in the first place. The end result is _almost_ secondary, although 99% of the time the primary issue doesn't really even raise its head.

So I'm upset not because the conflict is hard to resolve (it isn't), but because I feel this was really badly handled.

Yes, the fact that Mellanox people sent two different patches to two different maintainers that did the same thing in two different ways is odd. Matan and Jiri are cc'd, and I think that whole thing just smells really bad.

But at the same time, I expect more of maintainers, and I don't see any sign that David and the networking people were notified about the _other_ patch to _their_ subsystem.

The fact that you weren't aware of the other patch in the networking subsystem is kind of to be expected. You're not the network maintainer, so why would you? But exactly because you're not the networking maintainer, I would have expected you to check with him when you apply patches to generic networking code.

This time it conflicted, and I noticed, and I went "this is not how kernel development is supposed to go".

But say that the other networking patch hadn't even existed: in that case I *still* shouldn't have gotten a patch to net/core/dev.c from you without any sign that David had ack'ed it (or at the very least been notified, even if he hadn't reacted).

See?

Linus
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#9 lore raw
In reply to a message not in the archive
Quoted 24 lines · Wed, Sep 09, 2015 at 05:33:28AM CEST, torvalds-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b…
Quoted 5 lines · Doug Ledford

With a comment that said "I can carry this merge forward, no further action is necessary on your part". That combined with my lack of deep internal knowledge of what it is that Stephen is doing made me go "Ok, he says don't do anything, so I won't change it."

So quite frankly, Stephen does a really good job at merging and most of his merges are very on point. He's been doing a lot of them as part of linux-next, and has seen more conflicts than just about anybody else.

But I think to him it's mostly just an issue of "get the right end result". I don't think he goes: "this merge conflict is a result of a breakdown of the development process".

Conversely, to me, one of the main reasons I want to do those merges is exactly because I think conflicts are more about the development process issues than about "just getting the right end result". Yes, obviously I want to get the rigth end result too, but I very much react to how/why the conflict happened in the first place. The end result is _almost_ secondary, although 99% of the time the primary issue doesn't really even raise its head.

Quoted 7 lines

So I'm upset not because the conflict is hard to resolve (it isn't), but because I feel this was really badly handled.

Yes, the fact that Mellanox people sent two different patches to two different maintainers that did the same thing in two different ways is odd. Matan and Jiri are cc'd, and I think that whole thing just smells really bad.

It's not that odd. I'm not checking rdma tree. I work with net-next/net tree only when I do net patches. I wasn't aware of Matan's patches, different group.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#11 lore raw
In reply to a message not in the archive
Quoted 28 lines · Jiri Pirko
Quoted 27 lines · Wed, Sep 09, 2015 at 05:33:28AM CEST, torvalds-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b…
Quoted 5 lines · Doug Ledford

With a comment that said "I can carry this merge forward, no further action is necessary on your part". That combined with my lack of deep internal knowledge of what it is that Stephen is doing made me go "Ok, he says don't do anything, so I won't change it."

So quite frankly, Stephen does a really good job at merging and most of his merges are very on point. He's been doing a lot of them as part of linux-next, and has seen more conflicts than just about anybody else.

But I think to him it's mostly just an issue of "get the right end result". I don't think he goes: "this merge conflict is a result of a breakdown of the development process".

Conversely, to me, one of the main reasons I want to do those merges is exactly because I think conflicts are more about the development process issues than about "just getting the right end result". Yes, obviously I want to get the rigth end result too, but I very much react to how/why the conflict happened in the first place. The end result is _almost_ secondary, although 99% of the time the primary issue doesn't really even raise its head.

So I'm upset not because the conflict is hard to resolve (it isn't), but because I feel this was really badly handled.

Quoted 9 lines
Quoted 4 lines

Yes, the fact that Mellanox people sent two different patches to two different maintainers that did the same thing in two different ways is odd. Matan and Jiri are cc'd, and I think that whole thing just smells really bad.

It's not that odd. I'm not checking rdma tree. I work with net-next/net tree only when I do net patches. I wasn't aware of Matan's patches, different group.

Indeed, two different groups working on two different product lines.
That's why I wasn't aware of Jiri's work. This patch (ccing netdev) was posted around June. Anyway, Stephen did a really good job merging the two versions.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#13 lore raw
In reply to a message not in the archive
Quoted 35 lines · Matan Barak
Quoted 33 lines · Jiri Pirko

Wed, Sep 09, 2015 at 05:33:28AM CEST, torvalds-de/[email protected]:

Quoted 31 lines · Doug Ledford
Quoted 5 lines

With a comment that said "I can carry this merge forward, no further action is necessary on your part". That combined with my lack of deep internal knowledge of what it is that Stephen is doing made me go "Ok, he says don't do anything, so I won't change it."

So quite frankly, Stephen does a really good job at merging and most of his merges are very on point. He's been doing a lot of them as part of linux-next, and has seen more conflicts than just about anybody else.

But I think to him it's mostly just an issue of "get the right end result". I don't think he goes: "this merge conflict is a result of a breakdown of the development process".

Conversely, to me, one of the main reasons I want to do those merges is exactly because I think conflicts are more about the development process issues than about "just getting the right end result". Yes, obviously I want to get the rigth end result too, but I very much react to how/why the conflict happened in the first place. The end result is _almost_secondary, although 99% of the time the primary issue doesn't really even raise its head.

So I'm upset not because the conflict is hard to resolve (it isn't), but because I feel this was really badly handled.

Yes, the fact that Mellanox people sent two different patches to two different maintainers that did the same thing in two different ways is odd. Matan and Jiri are cc'd, and I think that whole thing just smells really bad.

Quoted 7 lines
Quoted 4 lines

It's not that odd. I'm not checking rdma tree. I work with net-next/net tree only when I do net patches. I wasn't aware of Matan's patches, different group.

Indeed, two different groups working on two different product lines.
That's why I wasn't aware of Jiri's work. This patch (ccing netdev) was posted around June. Anyway, Stephen did a really good job merging the two versions.

Yep, Stephen reported on the conflict and Jiri acked the way he fixed that, we were aware of things and didn't think any further action is needed from our side. Both the mlx4 and mlx5 are stacked driver suites that have a core and Ethernet drivers developed trough netdev and RDMA driver that goes through the rdma tree, it's been working like this for almost ten years, with net-next : rdma-next conflicts happening from time to time and being solved successfully with Stephen & CO and the subsystem maintainers. We're happily having now also our switch drivers joining the party, and things should be OK, as long as the maintainer -next tree is fully subscribed to linux-next merge tests.

Or.

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#14 lore raw
In reply to a message not in the archive

Side note: it's very annoying to have Time Warner Cable decide to take your internet down in the middle of writing a reply :-/

Quoted 27 lines · Linus Torvalds
Quoted 5 lines · Doug Ledford

With a comment that said "I can carry this merge forward, no further action is necessary on your part". That combined with my lack of deep internal knowledge of what it is that Stephen is doing made me go "Ok, he says don't do anything, so I won't change it."

So quite frankly, Stephen does a really good job at merging and most of his merges are very on point. He's been doing a lot of them as part of linux-next, and has seen more conflicts than just about anybody else.

But I think to him it's mostly just an issue of "get the right end result". I don't think he goes: "this merge conflict is a result of a breakdown of the development process".

Conversely, to me, one of the main reasons I want to do those merges is exactly because I think conflicts are more about the development process issues than about "just getting the right end result". Yes, obviously I want to get the rigth end result too, but I very much react to how/why the conflict happened in the first place. The end result is _almost_ secondary, although 99% of the time the primary issue doesn't really even raise its head.

So I'm upset not because the conflict is hard to resolve (it isn't), but because I feel this was really badly handled.

Quoted 8 lines

Yes, the fact that Mellanox people sent two different patches to two different maintainers that did the same thing in two different ways is odd. Matan and Jiri are cc'd, and I think that whole thing just smells really bad.

But at the same time, I expect more of maintainers, and I don't see any sign that David and the networking people were notified about the _other_ patch to _their_ subsystem.

Me telling Matan to Cc: netdev on patches related to their subsystem:
http://marc.info/?l=linux-rdma&m=143398479529819&w=4

Above was v5 of the patchset. Both the v6 and v7 of the patchset had netdev Cc:ed on the cover letter and at least the first three patches.

Here's the v7 cover and the first three patches in the netdev archives:
http://marc.info/?l=linux-netdev&m=143827046913908&w=4
http://marc.info/?l=linux-netdev&m=143827047413915&w=4
http://marc.info/?l=linux-netdev&m=143827052913936&w=4
http://marc.info/?l=linux-netdev&m=143827055013953&w=4

Here I am saying I've pulled the patchset in in the netdev archives:
http://marc.info/?l=linux-netdev&m=143834704701705&w=4

Here Jason Gunthorpe is asking me if I was going to take netdev stuff without an ack from netdev in the netdev archives:
http://marc.info/?l=linux-netdev&m=143836033706501&w=4

And here is my response to Jason, again, in the netdev archives:
http://marc.info/?l=linux-netdev&m=143836450808174&w=4

Here is the initial notification from Stephen on the merge conflict:
http://marc.info/?l=linux-next&m=144072523831647&w=4

Here's is Jiri's response (on linux-netdev, but according to my records also direct Cc: Dave Miller):
http://marc.info/?l=linux-netdev&m=144074372902869&w=4

Quoted 5 lines

The fact that you weren't aware of the other patch in the networking subsystem is kind of to be expected. You're not the network maintainer, so why would you? But exactly because you're not the networking maintainer, I would have expected you to check with him when you apply patches to generic networking code.

See above. This was done.

Quoted 2 lines

This time it conflicted, and I noticed, and I went "this is not how kernel development is supposed to go".

I didn't switch up for the newer patch, that didn't help. But otherwise, I did what was needed.

Quoted 4 lines

But say that the other networking patch hadn't even existed: in that case I *still* shouldn't have gotten a patch to net/core/dev.c from you without any sign that David had ack'ed it (or at the very least been notified, even if he hadn't reacted).

And such a thing wouldn't have happened.

Quoted 1 line

See?

I see perfectly well Linus. I am not new to engineering. You have stated several times that I'm missing the point, or do I see your point, please understand mine: I *did* the things you are assuming I didn't do.
The record is in the public archives. I didn't make a big deal about
it because it *isn't* a big deal unless you assume that I'm running around nilly-willy throwing shit at the wall and hoping to make a painting. As I knew very well that's not what I'm doing, *I* didn't have those assumptions, and therefore I didn't think this merge fixup was a big deal. As the efforts to bring this to the network maintainer's attention is in the record above, you will likewise find if you talk to Greg K-H that I worked with him both publicly and privately on the changes I made in the drivers/staging area. I do now how to keep responsible parties informed when I'm working in their domain.

Signature · 2 lines
Doug Ledford <[email protected]>
              GPG KeyID: 0E572FDD
#16 lore raw
In reply to a message not in the archive
Quoted 6 lines · Doug Ledford

Me telling Matan to Cc: netdev on patches related to their subsystem:
http://marc.info/?l=linux-rdma&m=143398479529819&w=4

Above was v5 of the patchset. Both the v6 and v7 of the patchset had netdev Cc:ed on the cover letter and at least the first three patches.

Ok, good. That's the kind of information I was missing.

Quoted 2 lines

Here's the v7 cover and the first three patches in the netdev archives:
http://marc.info/?l=linux-netdev&m=143827052913936&w=4

.. and this is the one I will effectively have to revert because of the conflict.

Quoted 6 lines

Here Jason Gunthorpe is asking me if I was going to take netdev stuff without an ack from netdev in the netdev archives:
http://marc.info/?l=linux-netdev&m=143836033706501&w=4

And here is my response to Jason, again, in the netdev archives:
http://marc.info/?l=linux-netdev&m=143836450808174&w=4

Good. So this was all done right, it just wasn't visible in the commit history.

Quoted 1 line

See above. This was done.

Ok. I've merged it in my tree now, it's just waiting for the usual compile-test.

Note that a correct merge (which looking at it, Stephen didn't actually do after all) also involves getting rid of the "struct netdev_changeupper_info" type that _isn't_ actually getting filled at all, and converting your one user of it in drivers/infiniband/core/roce_gid_mgmt.c to what the networking layer actually does.

Quoted 3 lines

I see perfectly well Linus. I am not new to engineering. You have stated several times that I'm missing the point, or do I see your point, please understand mine: I *did* the things you are assuming I didn't do.

Yes, I see them, thanks for the links.

It would have helped if the commit logs had had a record of this somehow (ie a "Cc: netdev" etc so that I could tell during the merge that this was actually something the networking people knew about).

That would have avoided a lot of my angst. Sorry,

Linus
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#18 lore raw
In reply to a message not in the archive
Quoted 5 lines · Linus Torvalds

Yes, I see them, thanks for the links.

It would have helped if the commit logs had had a record of this somehow (ie a "Cc: netdev" etc so that I could tell during the merge that this was actually something the networking people knew about).

I'll make sure I include that in the future.

Quoted 1 line

That would have avoided a lot of my angst. Sorry,

No worries. And since I didn't spell it out in the commit logs, I coordinated with Greg K-H on the staging changes and with Anna Schumaker on the NFS client changes too.

Signature · 2 lines
Doug Ledford <[email protected]>
              GPG KeyID: 0E572FDD
#19 lore raw
In reply to a message not in the archive
Quoted 2 lines · Linus Torvalds

Ok. I've merged it in my tree now, it's just waiting for the usual compile-test.

Compile-test finished, and pushed out.

Can somebody check that my conversion of roce_gid_mgmt.c actually _works_ though? It compiles, but that's all I'm testing.

Linus
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#21 lore raw
In reply to a message not in the archive
Quoted 9 lines · Linus Torvalds
Quoted 2 lines · Linus Torvalds

Ok. I've merged it in my tree now, it's just waiting for the usual compile-test.

Compile-test finished, and pushed out.

Can somebody check that my conversion of roce_gid_mgmt.c actually _works_ though? It compiles, but that's all I'm testing.

Sure. Thanks!

Signature · 2 lines
Doug Ledford <[email protected]>
              GPG KeyID: 0E572FDD
#24 lore raw
In reply to a message not in the archive

Hi Doug,

Quoted 11 lines · On Tue, 8 Sep 2015 23:08:47 -0400 Doug Ledford…
Quoted 1 line · Linus Torvalds

(b) you rebased your commit series after it

Yes. I rebased my tree a bunch of times. I keep two different git repos. The one on kernel.org and one on github. I rebase the one on github. I don't rebase the one on kernel.org. I had *thought* that Stephen had pointed the for-next setup at my kernel.org stuff, but he evidently has it pointed at my github setup. That's something I need to address with Stephen.

The only branch of yours that I have ever fetched is
git://git.kernel.org/pub/scm/linux/kernel/git/dledford/rdma.git#for-next

Signature · 6 lines
Cheers,
Stephen Rothwell                    [email protected]
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#26 lore raw
In reply to a message not in the archive
Quoted 15 lines · Stephen Rothwell

Hi Doug,

Quoted 11 lines · On Tue, 8 Sep 2015 23:08:47 -0400 Doug Ledford…
Quoted 1 line · Linus Torvalds

(b) you rebased your commit series after it

Yes. I rebased my tree a bunch of times. I keep two different git repos. The one on kernel.org and one on github. I rebase the one on github. I don't rebase the one on kernel.org. I had *thought* that Stephen had pointed the for-next setup at my kernel.org stuff, but he evidently has it pointed at my github setup. That's something I need to address with Stephen.

Quoted 3 lines

The only branch of yours that I have ever fetched is
git://git.kernel.org/pub/scm/linux/kernel/git/dledford/rdma.git#for-next

Hmmm...I could have sworn I hadn't pushed that branch to k.o by the time you sent the merge request. If that's not the case, then I will have to figure out how I confused myself on that issue.

Signature · 2 lines
Doug Ledford <[email protected]>
              GPG KeyID: 0E572FDD
#28 lore raw
In reply to a message not in the archive

Hi Doug,

Quoted 5 lines · On Wed, 9 Sep 2015 18:32:17 -0400 Doug Ledford…
Quoted 3 lines · Stephen Rothwell

The only branch of yours that I have ever fetched is
git://git.kernel.org/pub/scm/linux/kernel/git/dledford/rdma.git#for-next

Turns out that that "branch", is actually a tag (the only one I fetch, but it doesn't cause any hassle).

Quoted 3 lines

Hmmm...I could have sworn I hadn't pushed that branch to k.o by the time you sent the merge request. If that's not the case, then I will have to figure out how I confused myself on that issue.

In case it helps, next-20150817 contained this as the for-next tag:

Initial roundup of 4.3 merge window candidates

# gpg: Signature made Sun 02 Aug 2015 07:21:56 AEST using RSA key ID 0E572FDD
# gpg: Oops: keyid_from_fingerprint: no pubkey
# gpg: Good signature from "Doug Ledford <[email protected]>" [undefined]
# gpg: aka "Doug Ledford (Personal email) <dledford-HHGe/[email protected]>" [unknown]
# gpg: aka "[jpeg image of size 3057]" [unknown]
# gpg: WARNING: This key is not certified with a trusted signature!
# gpg: There is no indication that the signature belongs to the owner.
# Primary key fingerprint: AE6B 1BDA 122B 23B4 265B 1274 B826 A333 0E57 2FDD

And the associated commit was:

153b7306b7c6 ("Merge branch 'hfi1-v4' into to-be-rebased/for-4.3")

Quoted 1 line

From next-20150903, the for-next tag pointed back into Linus' tree

("Linux 4.2").

Signature · 6 lines
Cheers,
Stephen Rothwell                    [email protected]
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#23 lore raw
In reply to a message not in the archive
Quoted 4 lines · Doug Ledford
Quoted 3 lines · Linus Torvalds
Quoted 1 line · Linus Torvalds
Quoted 10 lines
Quoted 6 lines
Quoted 1 line

Ok. I've merged it in my tree now, it's just waiting for the usual compile-test.

Compile-test finished, and pushed out.

Can somebody check that my conversion of roce_gid_mgmt.c actually _works_ though? It compiles, but that's all I'm testing.

Sure. Thanks!

I currently don't have a bonded setup available.
I have tested the tree by setting up an active-backup bond device,
selecting each slave as an active slave and made sure the bond's GID
was applied on the correct port.
Afterwards, I've made sure that when using the bond's IP device, RoCE traffic was successfully sent and received (on the active port). I think it verifies the conflicting parts of roce_gid_mgmt pretty well.

I'm adding Moni, whom I believe have such a bonded setup.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html