{"push_id":2643862510,"size":10,"distinct_size":10,"ref":"refs/heads/for-upstream","head":"bf02c4adb7985fd026484e3ec0540aa1003ecf00","before":"cbc1905f64d3a9a76d338621c784cfa3be3959f6","commits":[{"sha":"41b53654f5d310e3c0aa20028f03497689e247d6","author":{"name":"Jason Gunthorpe","email":"eccb403c258866b12abca28dd15483e8ad9be7ff@mellanox.com"},"message":"IB/core: Add a sgid_attr pointer to struct rdma_ah_attr\n\nThe sgid_attr will ultimately replace the sgid_index in the ah_attr.\nThis will allow for all layers to have a consistent view of what\ngid table entry was selected as processing runs through all stages of the\nstack.\n\nThis commit introduces the pointer and ensures it is set before calling\nany driver callback that includes a struct ah_attr callback, allowing\nfuture patches to adjust both the drivers and the callers to use\nsgid_attr instead of sgid_index.\n\nSigned-off-by: Jason Gunthorpe <jgg@mellanox.com>\nSigned-off-by: Parav Pandit <parav@mellanox.com>\nSigned-off-by: Leon Romanovsky <leonro@mellanox.com>","distinct":true,"url":"https://api.github.com/repos/alaahl/linux/commits/41b53654f5d310e3c0aa20028f03497689e247d6"},{"sha":"9a17df272f895f0255ae9be59ce98e97ca777c4f","author":{"name":"Parav Pandit","email":"5839827a45befbc8b32032919128528a3baebb0e@mellanox.com"},"message":"IB/core: Tidy ib_resolve_eth_dmac\n\nNo reason to call rdma_ah_retrieve_grh, tidy whitespace, and add a\nfunction comment block.\n\nSigned-off-by: Parav Pandit <parav@mellanox.com>\nSigned-off-by: Jason Gunthorpe <jgg@mellanox.com>\nSigned-off-by: Leon Romanovsky <leonro@mellanox.com>","distinct":true,"url":"https://api.github.com/repos/alaahl/linux/commits/9a17df272f895f0255ae9be59ce98e97ca777c4f"},{"sha":"4bc0a012eebf3ef5565b6616eb2b209828359014","author":{"name":"Jason Gunthorpe","email":"eccb403c258866b12abca28dd15483e8ad9be7ff@mellanox.com"},"message":"IB{cm, core}: Introduce and use ah_attr copy, move, replace APIs\n\nIntroduce AH attribute copy, move and replace APIs to be used by core and\nprovider drivers.\n\nIn CM code flow when ah attribute might be re-initialized twice while\nprocessing incoming request, or initialized once while from path record\nwhile sending out CM requests. Therefore use rdma_move_ah_attr API to\nhandle such scenarios instead of memcpy().\n\nProvider drivers keeps a copy ah_attr during the lifetime of the ah.\nTherefore, use rdma_replace_ah_attr() which conditionally release\nreference to old ah_attr and holds reference to new attribute whose\nreferrence is released when the AH is freed.\n\nSigned-off-by: Parav Pandit <parav@mellanox.com>\nSigned-off-by: Jason Gunthorpe <jgg@mellanox.com>\nSigned-off-by: Leon Romanovsky <leonro@mellanox.com>","distinct":true,"url":"https://api.github.com/repos/alaahl/linux/commits/4bc0a012eebf3ef5565b6616eb2b209828359014"},{"sha":"28afbb0db7a3b9d86543c6c7c43558c81f07ee56","author":{"name":"Parav Pandit","email":"5839827a45befbc8b32032919128528a3baebb0e@mellanox.com"},"message":"RDMA: Convert drivers to use sgid_attr instead of sgid_index\n\nThe core code now ensures that all driver callbacks that receive an\nrdma_ah_attrs will have a sgid_attr's pointer if there is a GRH present.\n\nDrivers can use this pointer instead of calling a query function with\nsgid_index. This simplifies the drivers and also avoids races where a\ngid_index lookup may return different data if it is changed.\n\nSigned-off-by: Parav Pandit <parav@mellanox.com>\nSigned-off-by: Jason Gunthorpe <jgg@mellanox.com>\nSigned-off-by: Leon Romanovsky <leonro@mellanox.com>","distinct":true,"url":"https://api.github.com/repos/alaahl/linux/commits/28afbb0db7a3b9d86543c6c7c43558c81f07ee56"},{"sha":"bba5724047461611d4830a7ff3759890967dc22b","author":{"name":"Parav Pandit","email":"5839827a45befbc8b32032919128528a3baebb0e@mellanox.com"},"message":"IB/mlx4: Use GID attribute from ah attribute\n\nWhile converting GID index from attribute to that of the HCA, GID\nattribute is available from the ah_attr. Make use of GID attribute\nto simplify the code and also avoid avoid GID query.\n\nSigned-off-by: Parav Pandit <parav@mellanox.com>\nSigned-off-by: Jason Gunthorpe <jgg@mellanox.com>\nSigned-off-by: Leon Romanovsky <leonro@mellanox.com>","distinct":true,"url":"https://api.github.com/repos/alaahl/linux/commits/bba5724047461611d4830a7ff3759890967dc22b"},{"sha":"fe9569564ef18d740c98b298845b7acd3f577e28","author":{"name":"Jason Gunthorpe","email":"eccb403c258866b12abca28dd15483e8ad9be7ff@mellanox.com"},"message":"RDMA: Hold the sgid_attr inside the struct ib_ah/qp\n\nIf the AH has a GRH then hold a reference to the sgid_attr inside the\ncommon struct.\n\nIf the QP is modified with an AV that includes a GRH then also hold a\nreference to the sgid_attr inside the common struct.\n\nThis informs the cache that the sgid_index is in-use so long as the AH or\nQP using it exists.\n\nThis also means that all drivers can access the sgid_attr directly from\nthe ah_attr instead of querying the cache during their UD post-send paths.\n\nSigned-off-by: Jason Gunthorpe <jgg@mellanox.com>\nSigned-off-by: Leon Romanovsky <leonro@mellanox.com>","distinct":true,"url":"https://api.github.com/repos/alaahl/linux/commits/fe9569564ef18d740c98b298845b7acd3f577e28"},{"sha":"feaeb9abc36f97a2edee62610e3e5867d34b17f1","author":{"name":"Parav Pandit","email":"5839827a45befbc8b32032919128528a3baebb0e@mellanox.com"},"message":"RDMA: Convert drivers to use the AH's sgid_attr in post_wr paths\n\nFor UD the drivers were doing a sgid_index lookup into the cache to get\nthe attrs, however we can now directly access the same attrs stores in\nthe ib_ah instead and remove the lookup.\n\nSigned-off-by: Parav Pandit <parav@mellanox.com>\nSigned-off-by: Jason Gunthorpe <jgg@mellanox.com>\nSigned-off-by: Leon Romanovsky <leonro@mellanox.com>","distinct":true,"url":"https://api.github.com/repos/alaahl/linux/commits/feaeb9abc36f97a2edee62610e3e5867d34b17f1"},{"sha":"a12a3e3db0f2d80ce8cee2d41ac3448d7102d72b","author":{"name":"Parav Pandit","email":"5839827a45befbc8b32032919128528a3baebb0e@mellanox.com"},"message":"IB/core: Do not attempt to free GID entry which has unbalanced get/put\n\nWhen releasing GID table in release_gid_table(), there must not be\nany stale reference to a GID table entry.\nAll GID entries must be freed when ib_cache_cleanup_one() completes.\nIf a GID table entry has reference leak (unbalanced get/put), do not\nattempt to free such GID table entry.\n\nFixes: 5198d83df9f6 (\"IB/core: Introduce GID entry reference counts\")\nSigned-off-by: Parav Pandit <parav@mellanox.com>\nSigned-off-by: Leon Romanovsky <leonro@mellanox.com>","distinct":true,"url":"https://api.github.com/repos/alaahl/linux/commits/a12a3e3db0f2d80ce8cee2d41ac3448d7102d72b"},{"sha":"b32a556dc8f5e227e7f52c186961e7c2da3f38a6","author":{"name":"Leon Romanovsky","email":"3a465310c772508bcc75a45f7a1a5f22c8be234b@mellanox.com"},"message":"Merge branch 'rdma-next' into testing/rdma-next\n\n* rdma-next: (49 commits)\n  IB/core: Do not attempt to free GID entry which has unbalanced get/put\n  RDMA: Convert drivers to use the AH's sgid_attr in post_wr paths\n  RDMA: Hold the sgid_attr inside the struct ib_ah/qp\n  IB/mlx4: Use GID attribute from ah attribute\n  RDMA: Convert drivers to use sgid_attr instead of sgid_index\n  IB{cm, core}: Introduce and use ah_attr copy, move, replace APIs\n  IB/core: Tidy ib_resolve_eth_dmac\n  IB/core: Add a sgid_attr pointer to struct rdma_ah_attr\n  IB: Ensure that all rdma_ah_attr's are zero initialized\n  IB/mlx4: Add support for drain SQ & RQ\n  IB/mlx5: Add support for drain SQ & RQ\n  RDMA/mlx5: Refactor transport domain checks\n  IB/mlx5: Expose dump and fill memory key\n  net/mlx5: Add hardware definitions for dump_fill_mkey\n  net/mlx5: Limit scope of dump_fill_mkey function\n  IB/uverbs: Don't use the address vector's port number during modify_qp\n  IB/rxe: Use rdma GID API\n  IB: Replace ib_query_gid/ib_get_cached_gid with rdma_query_gid\n  IB/core: Make rdma_find_gid_by_filter support all protocols\n  IB/core: Provide rdma_ versions of the gid cache API\n  ...","distinct":true,"url":"https://api.github.com/repos/alaahl/linux/commits/b32a556dc8f5e227e7f52c186961e7c2da3f38a6"},{"sha":"bf02c4adb7985fd026484e3ec0540aa1003ecf00","author":{"name":"Leon Romanovsky","email":"3a465310c772508bcc75a45f7a1a5f22c8be234b@mellanox.com"},"message":"Merge branch 'testing/rdma-next' into queue-next\n\n* testing/rdma-next: (53 commits)\n  IB/core: Do not attempt to free GID entry which has unbalanced get/put\n  RDMA: Convert drivers to use the AH's sgid_attr in post_wr paths\n  RDMA: Hold the sgid_attr inside the struct ib_ah/qp\n  IB/mlx4: Use GID attribute from ah attribute\n  RDMA: Convert drivers to use sgid_attr instead of sgid_index\n  IB{cm, core}: Introduce and use ah_attr copy, move, replace APIs\n  IB/core: Tidy ib_resolve_eth_dmac\n  IB/core: Add a sgid_attr pointer to struct rdma_ah_attr\n  IB: Ensure that all rdma_ah_attr's are zero initialized\n  IB/mlx4: Add support for drain SQ & RQ\n  IB/mlx5: Add support for drain SQ & RQ\n  RDMA/mlx5: Refactor transport domain checks\n  IB/mlx5: Expose dump and fill memory key\n  net/mlx5: Add hardware definitions for dump_fill_mkey\n  net/mlx5: Limit scope of dump_fill_mkey function\n  IB/uverbs: Don't use the address vector's port number during modify_qp\n  IB/rxe: Use rdma GID API\n  IB: Replace ib_query_gid/ib_get_cached_gid with rdma_query_gid\n  IB/core: Make rdma_find_gid_by_filter support all protocols\n  IB/core: Provide rdma_ versions of the gid cache API\n  ...","distinct":true,"url":"https://api.github.com/repos/alaahl/linux/commits/bf02c4adb7985fd026484e3ec0540aa1003ecf00"}]}
{"actor":{"display_login":"alaahl"}}