aboutsummaryrefslogtreecommitdiffstats
path: root/net/smc/smc_core.c
AgeCommit message (Expand)AuthorFilesLines
2024-04-30net/smc: {at|de}tach sndbuf to peer DMB if supportedWen Gu1-1/+60
2024-02-07net/smc: change the term virtual ISM to Emulated-ISMWen Gu1-2/+2
2024-01-26net/smc: fix incorrect SMC-D link group matching logicWen Gu1-3/+9
2023-12-26net/smc: support extended GID in SMC-D lgr netlink attributeWen Gu1-0/+6
2023-12-26net/smc: compatible with 128-bits extended GID of virtual ISM deviceWen Gu1-10/+21
2023-09-10net/smc: use smc_lgr_list.lock to protect smc_lgr_list.list iterate in smcr_p...Guangguan Wang1-0/+2
2023-08-19net/smc: Extend SMCR v2 linkgroup netlink attributeGuangguan Wang1-0/+4
2023-08-19net/smc: support max links per lgr negotiation in clc handshakeGuangguan Wang1-0/+5
2023-08-19net/smc: support max connections per lgr negotiationGuangguan Wang1-1/+3
2023-08-09net/smc: Fix setsockopt and sysctl to specify same buffer size againGerd Bayer1-13/+12
2023-05-19net/smc: Reset connection when trying to use SMCRv2 fails.Wen Gu1-0/+1
2023-03-15net/smc: fix deadlock triggered by cancel_delayed_work_syn()Wenjia Zhang1-1/+1
2023-02-21Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-9/+8
2023-02-20net/smc: fix application data exceptionD. Wythe1-9/+8
2023-02-04net/smc: replace mutex rmbs_lock and sndbufs_lock with rw_semaphoreD. Wythe1-27/+28
2023-02-04net/smc: use read semaphores to reduce unnecessary blocking in smc_buf_create...D. Wythe1-4/+4
2023-02-04net/smc: llc_conf_mutex refactor, replace it with rw_semaphoreD. Wythe1-10/+10
2023-01-25net/smc: De-tangle ism and smc device initializationStefan Raspl1-2/+4
2023-01-25net/smc: Separate SMC-D and ISM APIsStefan Raspl1-2/+4
2023-01-25net/smc: Register SMC-D as ISM clientStefan Raspl1-0/+1
2022-10-15net/smc: Fix an error code in smc_lgr_create()Dan Carpenter1-1/+2
2022-09-22Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+4
2022-09-22net/smc: Unbind r/w buffer size from clcsock and make them tunableTony Lu1-4/+4
2022-09-22net/smc: Stop the CLC flow if no link to map buffers onWen Gu1-1/+4
2022-09-07net/smc: Fix possible access to freed memory in link clearYacan Liu1-0/+1
2022-07-18net/smc: Extend SMC-R link group netlink attributeWen Gu1-0/+2
2022-07-18net/smc: Allow virtually contiguous sndbufs or RMBs for SMC-RWen Gu1-64/+149
2022-07-18net/smc: Use sysctl-specified types of buffers in new link groupWen Gu1-0/+1
2022-07-18net/smc: optimize for smc_sndbuf_sync_sg_for_device and smc_rmb_sync_sg_for_cpuGuangguan Wang1-0/+8
2022-07-18net/smc: remove redundant dma sync opsGuangguan Wang1-22/+0
2022-03-03Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+3
2022-03-03net/smc: fix unexpected SMC_CLC_DECL_ERR_REGRMB error cause by serverD. Wythe1-1/+2
2022-03-03net/smc: fix unexpected SMC_CLC_DECL_ERR_REGRMB error generated by clientD. Wythe1-1/+1
2022-03-01net/smc: correct settings of RMB window update limitDust Li1-1/+1
2022-01-16net/smc: Fix hung_task when removing SMC-R devicesWen Gu1-16/+1
2022-01-13net/smc: Resolve the race between SMC-R link access and clearWen Gu1-12/+40
2022-01-13net/smc: Introduce a new conn->lgr validity check helperWen Gu1-6/+8
2022-01-13net/smc: Resolve the race between link group access and terminationWen Gu1-11/+49
2022-01-09Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-5/+7
2022-01-06net/smc: Reset conn->lgr when link group registration failsWen Gu1-5/+7
2022-01-02net/smc: Print net namespace in logTony Lu1-2/+2
2022-01-02net/smc: Add netlink net namespace supportTony Lu1-0/+3
2022-01-02net/smc: Introduce net namespace support for linkgroupTony Lu1-7/+17
2021-12-30Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-6/+21
2021-12-28net/smc: fix kernel panic caused by race of smc_sockDust Li1-5/+20
2021-12-28net/smc: don't send CDC/LLC message if link not readyDust Li1-1/+1
2021-12-06net/smc: Clear memory when release and reuse bufferTony Lu1-4/+9
2021-12-02net/smc: fix wrong list_del in smc_lgr_cleanup_earlyDust Li1-4/+3
2021-11-24net/smc: Fix NULL pointer dereferencing in smc_vlan_by_tcpsk()Karsten Graul1-17/+18
2021-11-15net/smc: Make sure the link_id is uniqueWen Gu1-1/+2
2021-11-01net/smc: Introduce tracepoint for smcr link downTony Lu1-2/+7
2021-10-16net/smc: add netlink support for SMC-Rv2Karsten Graul1-25/+73
2021-10-16net/smc: add v2 support to the work request layerKarsten Graul1-1/+6
2021-10-16net/smc: retrieve v2 gid from IB deviceKarsten Graul1-1/+3
2021-10-16net/smc: add listen processing for SMC-Rv2Karsten Graul1-18/+46
2021-10-14Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-9/+11
2021-10-08net/smc: improved fix wait on already cleared linkKarsten Graul1-9/+11
2021-09-23Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+2
2021-09-21net/smc: fix 'workqueue leaked lock' in smc_conn_abort_workKarsten Graul1-0/+2
2021-09-14net/smc: keep static copy of system EIDKarsten Graul1-8/+2
2021-08-13Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+2
2021-08-09net/smc: Allow SMC-D 1MB DMB allocationsStefan Raspl1-15/+16
2021-08-09net/smc: Correct smc link connection counter in case of smc clientGuvenc Gulce1-2/+2
2021-06-16net/smc: Make SMC statistics network namespace awareGuvenc Gulce1-5/+5
2021-06-16net/smc: Add SMC statistics supportGuvenc Gulce1-1/+12
2021-06-03net/smc: avoid possible duplicate dmb unregistrationKarsten Graul1-15/+0
2021-01-12net/smc: use memcpy instead of snprintf to avoid out of bounds readGuvenc Gulce1-6/+11
2021-01-12smc: fix out of bound access in smc_nl_get_sys_info()Jakub Kicinski1-1/+2
2020-12-01net/smc: Add support for obtaining SMCR device listGuvenc Gulce1-1/+1
2020-12-01net/smc: Add SMC-D Linkgroup diagnostic supportGuvenc Gulce1-0/+130
2020-12-01net/smc: Introduce SMCR get link commandGuvenc Gulce1-4/+87
2020-12-01net/smc: Introduce SMCR get linkgroup commandGuvenc Gulce1-0/+85
2020-12-01net/smc: Add support for obtaining system informationGuvenc Gulce1-0/+60
2020-12-01net/smc: Add diagnostic information to link structureGuvenc Gulce1-0/+10
2020-12-01net/smc: Add link counters for IB device portsGuvenc Gulce1-0/+13
2020-12-01net/smc: Add connection counters for linksGuvenc Gulce1-2/+14
2020-11-19net/smc: fix matching of existing link groupsKarsten Graul1-1/+2
2020-10-26net/smc: fix suppressed return codeKarsten Graul1-2/+5
2020-10-15Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+3
2020-10-15net/smc: fix invalid return code in smcd_new_buf_create()Karsten Graul1-1/+2
2020-10-15net/smc: fix valid DMBE buffer sizesKarsten Graul1-1/+1
2020-09-28net/smc: introduce CLC first contact extensionUrsula Braun1-0/+1
2020-09-28net/smc: determine accepted ISM devicesUrsula Braun1-11/+12
2020-09-28net/smc: prepare for more proposed ISM devicesUrsula Braun1-10/+13
2020-09-10net/smc: use separate work queues for different worker typesKarsten Graul1-2/+11
2020-09-10net/smc: immediate freeing in smc_lgr_cleanup_early()Ursula Braun1-19/+4
2020-09-10net/smc: common routine for CLC accept and confirmUrsula Braun1-2/+2
2020-09-10net/smc: introduce better field namesUrsula Braun1-8/+8
2020-09-03net/smc: reset sndbuf_desc if freedUrsula Braun1-0/+1
2020-09-03net/smc: set rx_off for SMCR explicitlyUrsula Braun1-0/+2
2020-07-27net/smc: unique reason code for exceeded max dmb countKarsten Graul1-2/+2
2020-07-20net/smc: fix dmb buffer shortageKarsten Graul1-2/+2
2020-07-19net/smc: remove freed buffer from listKarsten Graul1-1/+5
2020-07-19net/smc: do not call dma sync for unmapped memoryKarsten Graul1-8/+7
2020-07-19net/smc: move add link processing for new device into llc layerKarsten Graul1-73/+7
2020-07-19net/smc: clear link during SMC client link down processingKarsten Graul1-1/+3
2020-07-08net/smc: switch smcd_dev_list spinlock to mutexUrsula Braun1-4/+4
2020-07-08net/smc: fix sleep bug in smc_pnet_find_roce_resource()Ursula Braun1-2/+3
2020-07-08net/smc: separate LLC wait queues for flow and messagesKarsten Graul1-16/+22
2020-05-30net/smc: pre-fetch send buffer outside of send_lockKarsten Graul1-3/+15
2020-05-05net/smc: log important pnetid and state change eventsKarsten Graul1-5/+29
2020-05-04net/smc: create improved SMC-R link_uidKarsten Graul1-0/+1
2020-05-04net/smc: improve termination processingKarsten Graul1-30/+31
2020-05-04net/smc: add termination reason and handle LLC protocol violationKarsten Graul1-2/+6
2020-05-04net/smc: asymmetric link taggingKarsten Graul1-3/+23
2020-05-04net/smc: assign link to a new connectionKarsten Graul1-19/+46
2020-05-04net/smc: send DELETE_LINK, ALL message and wait for send to completeKarsten Graul1-0/+5
2020-05-04net/smc: handle incoming CDC validation messageKarsten Graul1-0/+15
2020-05-04net/smc: send failover validation messageKarsten Graul1-1/+1
2020-05-04net/smc: switch connections to alternate linkKarsten Graul1-2/+130
2020-05-03net/smc: enqueue local LLC messagesKarsten Graul1-1/+2
2020-05-03net/smc: llc_del_link_work and use the LLC flow for delete linkKarsten Graul1-14/+8
2020-05-03net/smc: first part of add link processing as SMC clientKarsten Graul1-2/+2
2020-05-01net/smc: remove DELETE LINK processing from smc_core.cKarsten Graul1-33/+0
2020-05-01net/smc: take link down instead of terminating the link groupKarsten Graul1-5/+2
2020-05-01net/smc: add smcr_port_err() and smcr_link_down() processingKarsten Graul1-30/+89
2020-05-01net/smc: add smcr_port_add() and smcr_link_up() processingKarsten Graul1-0/+86
2020-05-01net/smc: remember PNETID of IB device for later device matchingKarsten Graul1-0/+2
2020-05-01net/smc: mutex to protect the lgr against parallel reconfigurationsKarsten Graul1-4/+22
2020-05-01net/smc: extend smc_llc_send_add_link() and smc_llc_send_delete_link()Karsten Graul1-1/+2
2020-05-01net/smc: map and register buffers for a new linkKarsten Graul1-0/+60
2020-05-01net/smc: unmapping of buffers to support multiple linksKarsten Graul1-17/+59
2020-05-01net/smc: multiple link support for rmb buffer registrationKarsten Graul1-0/+16
2020-04-30net/smc: remove obsolete link state DELETINGKarsten Graul1-3/+1
2020-04-30net/smc: new smc_rtoken_set functions for multiple link supportKarsten Graul1-0/+47
2020-04-30net/smc: multiple link support and LLC flow for smc_llc_do_delete_rkeyKarsten Graul1-6/+4
2020-04-30net/smc: add event-based llc_flow frameworkKarsten Graul1-0/+2
2020-04-29net/smc: move llc layer related init and clear into smc_llc.cKarsten Graul1-3/+3
2020-04-29net/smc: use mutex instead of rwlock_t to protect buffersKarsten Graul1-11/+11
2020-04-29net/smc: use worker to process incoming llc messagesKarsten Graul1-1/+3
2020-04-29net/smc: simplify link deactivationKarsten Graul1-6/+2
2020-04-29net/smc: add new link state and related helpersKarsten Graul1-17/+19
2020-04-29net/smc: multi-link support for smc_rmb_rtoken_handling()Karsten Graul1-6/+8
2020-04-29net/smc: convert static link ID instances to support multiple linksKarsten Graul1-103/+229
2020-04-29net/smc: convert static link ID to dynamic referencesKarsten Graul1-33/+33
2020-04-29net/smc: introduce link_idx for link group arrayKarsten Graul1-5/+29
2020-04-29net/smc: separate function for link initializationKarsten Graul1-48/+66
2020-02-27Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-0/+12
2020-02-26net/smc: fix cleanup for linkgroup setup failuresUrsula Braun1-0/+12
2020-02-17net/smc: simplify normal link terminationKarsten Graul1-4/+5
2020-02-17net/smc: remove unused parameter of smc_lgr_terminate()Karsten Graul1-10/+8
2020-02-17net/smc: do not delete lgr from list twiceKarsten Graul1-1/+1
2020-02-17net/smc: improve smc_lgr_cleanup()Karsten Graul1-4/+1
2019-12-22Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-1/+1
2019-12-20net/smc: unregister ib devices in reboot_eventKarsten Graul1-1/+1
2019-12-15net/smc: shorten lgr_cnt initializationUrsula Braun1-2/+1
2019-11-16net/smc: guarantee removal of link groups in rebootUrsula Braun1-1/+15
2019-11-16net/smc: introduce bookkeeping of SMCR link groupsUrsula Braun1-0/+25
2019-11-15net/smc: immediate termination for SMCR link groupsUrsula Braun1-19/+39
2019-11-15net/smc: wait for tx completions before link freeingUrsula Braun1-0/+2
2019-11-15net/smc: abnormal termination without orderly flagUrsula Braun1-6/+4
2019-11-15net/smc: introduce bookkeeping of SMCD link groupsUrsula Braun1-0/+6
2019-11-15net/smc: abnormal termination of SMCD link groupsUrsula Braun1-16/+51
2019-11-15net/smc: immediate termination for SMCD link groupsUrsula Braun1-7/+39
2019-11-15net/smc: fix final cleanup sequence for SMCD devicesUrsula Braun1-7/+11
2019-11-02Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-1/+1
2019-10-24net: remove unnecessary variables and callbackTaehee Yoo1-1/+1
2019-10-22net/smc: remove close abort workerUrsula Braun1-3/+3
2019-10-22net/smc: introduce link group termination workerUrsula Braun1-0/+9
2019-10-22net/smc: improve abnormal termination of link groupsUrsula Braun1-11/+29
2019-10-22net/smc: tell peers about abnormal link group terminationUrsula Braun1-1/+1
2019-10-22net/smc: improve link group freeingUrsula Braun1-17/+30
2019-10-22net/smc: improve abnormal termination lockingUrsula Braun1-5/+8
2019-10-22net/smc: terminate link group without holding lgr lockUrsula Braun1-8/+17
2019-10-22net/smc: cancel send and receive for terminated socketUrsula Braun1-0/+1
2019-10-20Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-1/+4
2019-10-10net/smc: fix SMCD link group creation with VLAN idUrsula Braun1-1/+4
2019-10-09net/smc: no new connections on disappearing devicesUrsula Braun1-0/+23
2019-10-09net/smc: increase device refcount for added link groupUrsula Braun1-2/+7
2019-10-09net/smc: separate locks for SMCD and SMCR link group listsUrsula Braun1-15/+42
2019-10-09net/smc: separate SMCD and SMCR link group listsUrsula Braun1-7/+17
2019-06-26net/smc: hold conns_lock before calling smc_lgr_register_conn()Huaping Zhou1-0/+3
2019-04-12net/smc: improve smc_conn_create reason codesKarsten Graul1-9/+16
2019-04-12net/smc: cleanup of get vlan idKarsten Graul1-4/+0
2019-04-12net/smc: consolidate function parametersKarsten Graul1-37/+33
2019-02-12net/smc: check connections in smc_lgr_free_workKarsten Graul1-4/+2
2019-02-08Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+5
2019-02-07net/smc: move code to clear the conn->lgr fieldKarsten Graul1-2/+3
2019-02-04net/smc: delete rkey first before switching to unusedUrsula Braun1-1/+1
2019-02-01net/smc: prevent races between smc_lgr_terminate() and smc_conn_free()Karsten Graul1-0/+4
2018-11-24Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-6/+14
2018-11-23net/smc: unregister rkeys of unused bufferKarsten Graul1-1/+6
2018-11-23net/smc: no link delete for a never active linkUrsula Braun1-1/+4
2018-11-23net/smc: make smc_lgr_free() staticUrsula Braun1-1/+3
2018-11-21net/smc: add SMC-D shutdown signalHans Wippel1-2/+8
2018-11-21net/smc: use queue pair number when matching link groupKarsten Graul1-4/+6
2018-10-26net/smc: fix smc_buf_unuse to use the lgr pointerKarsten Graul1-13/+12
2018-08-16Merge branch 'linus/master' into rdma.git for-nextJason Gunthorpe1-96/+253
2018-08-16Revert "net/smc: Replace ib_query_gid with rdma_get_gid_attr"Jason Gunthorpe1-9/+10
2018-07-25net/smc: improve delete link processingKarsten Graul1-5/+42
2018-07-25net/smc: use correct vlan gid of RoCE deviceUrsula Braun1-33/+4
2018-06-30net/smc: add SMC-D support in af_smcHans Wippel1-1/+1
2018-06-30net/smc: add SMC-D support in data transferHans Wippel1-7/+18
2018-06-30net/smc: add base infrastructure for SMC-D and ISMHans Wippel1-66/+204
2018-06-18net/smc: Replace ib_query_gid with rdma_get_gid_attrParav Pandit1-10/+10
2018-05-23net/smc: longer delay when freeing client link groupsUrsula Braun1-1/+1
2018-05-23net/smc: urgent data supportStefan Raspl1-0/+1
2018-05-23net/smc: lock smc_lgr_list in port_terminate()Hans Wippel1-3/+13
2018-05-18net/smc: change smc_buf_free function parametersHans Wippel1-14/+12
2018-05-18net/smc: do a few smc_core.c cleanupsHans Wippel1-8/+6