aboutsummaryrefslogtreecommitdiffstats
path: root/io_uring/net.c
AgeCommit message (Expand)AuthorFilesLines
2025-10-22io_uring: Fix code indentation errorRanganath V N1-1/+1
2025-09-08io_uring: don't include filetable.h in io_uring.hCaleb Sander Mateos1-0/+1
2025-09-02io_uring/net: correct type for min_not_zero() castJens Axboe1-1/+1
2025-08-27io_uring: add async data clear/free helpersJens Axboe1-4/+2
2025-08-24io_uring/kbuf: switch to storing struct io_buffer_list locallyJens Axboe1-29/+17
2025-08-24io_uring/net: use struct io_br_sel->val as the send finish valueJens Axboe1-10/+12
2025-08-24io_uring/net: use struct io_br_sel->val as the recv finish valueJens Axboe1-16/+19
2025-08-24io_uring/kbuf: use struct io_br_sel for multiple buffers pickingJens Axboe1-19/+19
2025-08-24io_uring/kbuf: introduce struct io_br_selJens Axboe1-9/+9
2025-08-24io_uring/kbuf: pass in struct io_buffer_list to commit/recycle helpersJens Axboe1-14/+14
2025-08-24io_uring/net: clarify io_recv_buf_select() return valueJens Axboe1-1/+1
2025-08-24io_uring/net: don't use io_net_kbuf_recyle() for non-provided casesJens Axboe1-3/+3
2025-08-24io_uring/kbuf: drop 'issue_flags' from io_put_kbuf(s)() argumentsJens Axboe1-8/+6
2025-08-12io_uring/net: commit partial buffers on retryJens Axboe1-12/+15
2025-07-30io_uring/net: Allow to do vectorized sendNorman Maurer1-2/+7
2025-07-28Merge tag 'for-6.17/io_uring-20250728' of git://git.kernel.dk/linuxLinus Torvalds1-17/+62
2025-07-16io_uring/poll: fix POLLERR handlingPavel Begunkov1-4/+8
2025-07-16io_uring/net: Support multishot receive len capNorman Maurer1-4/+34
2025-07-14io_uring/net: cast min_not_zero() typeJens Axboe1-1/+1
2025-07-10io_uring/net: allow multishot receive per-invocation capJens Axboe1-6/+17
2025-07-10io_uring/net: move io_sr_msg->retry_flags to io_sr_msg->flagsJens Axboe1-11/+15
2025-07-10io_uring/net: use passed in 'len' in io_recv_buf_select()Jens Axboe1-1/+1
2025-06-26io_uring/kbuf: flag partial buffer mappingsJens Axboe1-8/+15
2025-06-25io_uring/net: mark iov as dynamically allocated even for single segmentsJens Axboe1-5/+6
2025-06-20io_uring/net: always use current transfer count for buffer putJens Axboe1-1/+1
2025-05-28io_uring/net: only consider msg_inq if larger than 1Jens Axboe1-2/+2
2025-05-26Merge tag 'for-6.16/io_uring-20250523' of git://git.kernel.dk/linuxLinus Torvalds1-37/+25
2025-05-21io_uring/net: only retry recv bundle for a full transferJens Axboe1-4/+10
2025-05-21io_uring: finish IOU_OK -> IOU_COMPLETE transitionJens Axboe1-7/+7
2025-05-09io_uring/net: move CONFIG_NET guards to MakefilePavel Begunkov1-2/+0
2025-04-23io_uring/zcrx: add support for multiple ifqsPavel Begunkov1-3/+2
2025-04-21io_uring/zcrx: remove sqe->file_index checkPavel Begunkov1-2/+1
2025-04-21io_uring: don't store bgid in req->buf_indexPavel Begunkov1-1/+2
2025-04-21io_uring/kbuf: pass bgid to io_buffer_select()Pavel Begunkov1-5/+4
2025-04-21io_uring: set IMPORT_BUFFER in generic send setupPavel Begunkov1-3/+3
2025-04-21io_uring/net: don't use io_do_buffer_select at prepPavel Begunkov1-15/+7
2025-03-31io_uring/net: avoid import_ubuf for regvec sendPavel Begunkov1-0/+2
2025-03-28io_uring/net: import zc ubuf earlierPavel Begunkov1-28/+16
2025-03-28io_uring/net: set sg_from_iter in advancePavel Begunkov1-10/+15
2025-03-28io_uring/net: clusterise send vs msghdr branchesPavel Begunkov1-11/+4
2025-03-28io_uring/net: unify sendmsg setup with zcPavel Begunkov1-22/+6
2025-03-28io_uring/net: combine sendzc flags writesPavel Begunkov1-2/+1
2025-03-28io_uring/net: open code io_net_vec_assign()Pavel Begunkov1-11/+5
2025-03-28io_uring/net: open code io_sendmsg_copy_hdr()Pavel Begunkov1-20/+10
2025-03-28io_uring/net: account memory for zc sendmsgPavel Begunkov1-1/+11
2025-03-28Merge tag 'for-6.15/io_uring-reg-vec-20250327' of git://git.kernel.dk/linuxLinus Torvalds1-117/+118
2025-03-28Merge tag 'for-6.15/io_uring-rx-zc-20250325' of git://git.kernel.dk/linuxLinus Torvalds1-0/+84
2025-03-27io_uring/net: fix io_req_post_cqe abuse by send bundlePavel Begunkov1-0/+1
2025-03-26Merge tag 'for-6.15/io_uring-20250322' of git://git.kernel.dk/linuxLinus Torvalds1-143/+114
2025-03-26io_uring/net: use REQ_F_IMPORT_BUFFER for send_zcCaleb Sander Mateos1-5/+5
2025-03-22io_uring/net: fix sendzc double notif flushPavel Begunkov1-0/+2
2025-03-21io_uring/net: only import send_zc buffer onceCaleb Sander Mateos1-1/+4
2025-03-20io_uring/net: don't clear REQ_F_NEED_CLEANUP unconditionallyJens Axboe1-2/+1
2025-03-10io_uring: rely on io_prep_reg_vec for iovec placementPavel Begunkov1-3/+1
2025-03-10io_uring: introduce io_prep_reg_iovec()Pavel Begunkov1-20/+3
2025-03-10io_uring: unify STOP_MULTISHOT with IOU_OKPavel Begunkov1-15/+4
2025-03-10io_uring: return -EAGAIN to continue multishotPavel Begunkov1-33/+14
2025-03-07io_uring: cap cached iovec/bvec sizePavel Begunkov1-0/+3
2025-03-07io_uring/net: implement vectored reg bufs for zctxPavel Begunkov1-4/+55
2025-03-07io_uring/net: convert to struct iou_vecPavel Begunkov1-29/+22
2025-03-07io_uring/net: pull vec alloc out of msghdr importPavel Begunkov1-8/+15
2025-03-07io_uring/net: combine msghdr copyPavel Begunkov1-27/+19
2025-03-07Merge branch 'for-6.15/io_uring-rx-zc' into for-6.15/io_uring-reg-vecJens Axboe1-0/+84
2025-02-27io_uring/net: fix build warning for !CONFIG_COMPATArnd Bergmann1-6/+0
2025-02-27io_uring/net: extract iovec import into a helperPavel Begunkov1-34/+28
2025-02-27io_uring/net: unify *mshot_prep calls with compatPavel Begunkov1-7/+7
2025-02-27io_uring/net: derive iovec storage laterPavel Begunkov1-22/+21
2025-02-27io_uring/net: verify msghdr before copying iovecPavel Begunkov1-25/+18
2025-02-27io_uring/net: isolate msghdr copying codePavel Begunkov1-20/+25
2025-02-27io_uring/net: simplify compat selbuf iov parsingPavel Begunkov1-8/+4
2025-02-27io_uring/net: remove unnecessary REQ_F_NEED_CLEANUPPavel Begunkov1-9/+2
2025-02-27Merge branch 'io_uring-6.14' into for-6.15/io_uringJens Axboe1-1/+3
2025-02-27io_uring: combine buffer lookup and importPavel Begunkov1-18/+4
2025-02-27io_uring/net: reuse req->buf_index for sendzcPavel Begunkov1-3/+2
2025-02-25io_uring/net: save msg_control for compatPavel Begunkov1-1/+3
2025-02-24io_uring/zcrx: add a read limit to recvzc requestsDavid Wei1-3/+13
2025-02-24io_uring/net: canonise accept mshot handlingPavel Begunkov1-9/+4
2025-02-24io_uring/net: fix accept multishot handlingPavel Begunkov1-0/+2
2025-02-24io_uring/net: use io_is_compat()Pavel Begunkov1-11/+8
2025-02-17io_uring/zcrx: throttle receive requestsPavel Begunkov1-0/+2
2025-02-17io_uring/zcrx: add io_recvzc requestDavid Wei1-0/+72
2025-02-17io_uring/net: improve recv bundlesJens Axboe1-0/+18
2025-01-30io_uring/net: don't retry connect operation on EPOLLERRJens Axboe1-0/+5
2025-01-28io_uring: remove !KASAN guards from cache freePavel Begunkov1-2/+0
2025-01-28io_uring/net: extract io_send_select_buffer()Pavel Begunkov1-37/+50
2025-01-28io_uring/net: clean io_msg_copy_hdr()Pavel Begunkov1-3/+4
2025-01-28io_uring/net: make io_net_vec_assign() return voidPavel Begunkov1-4/+5
2025-01-23io_uring: get rid of alloc cache init_once handlingJens Axboe1-22/+6
2025-01-20Merge tag 'for-6.14/io_uring-20250119' of git://git.kernel.dk/linuxLinus Torvalds1-17/+18
2025-01-02io_uring/net: always initialize kmsg->msg.msg_inq upfrontJens Axboe1-0/+1
2024-12-27io_uring/net: Allocate msghdr async data through helperGabriel Krisman Bertazi1-17/+18
2024-11-07io_uring/rsrc: add & apply io_req_assign_buf_node()Ming Lei1-2/+1
2024-11-06io_uring/rsrc: split io_kiocb node type assignmentsJens Axboe1-1/+2
2024-11-02io_uring/rsrc: add io_rsrc_node_lookup() helperJens Axboe1-4/+2
2024-11-02io_uring/rsrc: unify file and buffer resource tablesJens Axboe1-3/+3
2024-11-02io_uring/rsrc: get rid of per-ring io_rsrc_node listJens Axboe1-5/+6
2024-10-29io_uring/net: clean up io_msg_copy_hdrPavel Begunkov1-7/+8
2024-10-29io_uring/net: don't alias send user pointer readsPavel Begunkov1-5/+8
2024-10-29io_uring/net: don't store send address ptrPavel Begunkov1-20/+16
2024-10-29io_uring/net: split send and sendmsg prep helpersPavel Begunkov1-9/+12
2024-10-29io_uring/net: move send zc fixed buffer import to issue pathJens Axboe1-13/+23
2024-10-29io_uring: remove 'issue_flags' argument for io_req_set_rsrc_node()Jens Axboe1-1/+1
2024-09-30io_uring/net: harden multishot termination case for recvJens Axboe1-1/+3
2024-08-29io_uring/kbuf: pass in 'len' argument for buffer commitJens Axboe1-4/+4
2024-08-29Revert "io_uring: Require zeroed sqe->len on provided-buffers send"Jens Axboe1-3/+1
2024-08-25io_uring/net: use ITER_UBUF for single segment send mapsJens Axboe1-3/+12
2024-08-07io_uring/net: don't pick multiple buffers for non-bundle sendJens Axboe1-2/+3
2024-08-07io_uring/net: ensure expanded bundle send gets marked for cleanupJens Axboe1-0/+1
2024-08-07io_uring/net: ensure expanded bundle recv gets marked for cleanupJens Axboe1-0/+1
2024-07-16Merge tag 'net-next-6.11' of git://git.kernel.org/pub/scm/linux/kernel/git/ne...Linus Torvalds1-12/+4
2024-07-15Merge tag 'for-6.11/io_uring-20240714' of git://git.kernel.dk/linuxLinus Torvalds1-10/+84
2024-07-13io_uring/net: check socket is valid in io_bind()/io_listen()Tetsuo Handa1-2/+12
2024-07-04Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-4/+6
2024-07-02io_uring/net: cleanup io_recv_finish() bundle handlingJens Axboe1-10/+10
2024-07-02io_uring/net: don't clear msg_inq before io_recv_buf_select() needs itJens Axboe1-4/+6
2024-07-02io_uring/net: move charging socket out of zc io_uringPavel Begunkov1-12/+4
2024-06-19io_uring: Introduce IORING_OP_LISTENGabriel Krisman Bertazi1-0/+28
2024-06-19io_uring: Introduce IORING_OP_BINDGabriel Krisman Bertazi1-0/+36
2024-05-30io_uring/net: assign kmsg inq/flags before buffer selectionJens Axboe1-3/+3
2024-05-13io_uring/net: wire up IORING_CQE_F_SOCK_NONEMPTY for acceptJens Axboe1-4/+16
2024-05-13net: have do_accept() take a struct proto_accept_arg argumentJens Axboe1-2/+4
2024-05-09io_uring/net: add IORING_ACCEPT_POLL_FIRST flagJens Axboe1-1/+8
2024-05-09io_uring/net: add IORING_ACCEPT_DONTWAIT flagJens Axboe1-6/+9
2024-05-01io_uring: Require zeroed sqe->len on provided-buffers sendGabriel Krisman Bertazi1-1/+3
2024-04-30io_uring/net: fix sendzc lazy wake pollingPavel Begunkov1-0/+1
2024-04-22io_uring/net: support bundles for recvJens Axboe1-21/+95
2024-04-22io_uring/net: support bundles for sendJens Axboe1-17/+128
2024-04-22io_uring/net: add provided buffer support for IORING_OP_SENDJens Axboe1-5/+20
2024-04-22io_uring/net: add generic multishot retry helperJens Axboe1-12/+12
2024-04-15io_uring/net: set MSG_ZEROCOPY for sendzc in advancePavel Begunkov1-3/+3
2024-04-15io_uring/net: get rid of io_notif_complete_tw_extPavel Begunkov1-5/+5
2024-04-15io_uring/alloc_cache: switch to array based cachingJens Axboe1-8/+5
2024-04-15io_uring/net: move connect to always using async dataJens Axboe1-30/+11
2024-04-15io_uring/net: drop 'kmsg' parameter from io_req_msg_cleanup()Jens Axboe1-6/+5
2024-04-15io_uring/net: add iovec recyclingJens Axboe1-47/+84
2024-04-15io_uring/net: remove (now) dead code in io_netmsg_recycle()Jens Axboe1-1/+1
2024-04-15io_uring: kill io_msg_alloc_async_prep()Jens Axboe1-21/+10
2024-04-15io_uring/net: get rid of ->prep_async() for send sideJens Axboe1-108/+46
2024-04-15io_uring/net: get rid of ->prep_async() for receive sideJens Axboe1-43/+28
2024-04-15io_uring/net: always set kmsg->msg.msg_control_user before issueJens Axboe1-2/+3
2024-04-15io_uring/net: always setup an io_async_msghdrJens Axboe1-70/+47
2024-04-15io_uring/net: unify cleanup handlingJens Axboe1-15/+11
2024-04-15io_uring/net: switch io_recv() to using io_async_msghdrJens Axboe1-28/+47
2024-04-15io_uring/net: switch io_send() and io_send_zc() to using io_async_msghdrJens Axboe1-94/+100
2024-04-15io_uring: refactor io_fill_cqe_req_auxPavel Begunkov1-4/+2
2024-04-08io_uring/net: restore msg_control on sendzc retryPavel Begunkov1-0/+1
2024-03-16io_uring/net: ensure async prep handlers always initialize ->done_ioJens Axboe1-1/+8
2024-03-11Merge tag 'for-6.9/io_uring-20240310' of git://git.kernel.dk/linuxLinus Torvalds1-177/+205
2024-03-08io_uring/net: dedup io_recv_finish req completionPavel Begunkov1-12/+4
2024-03-08io_uring: refactor DEFER_TASKRUN multishot checksPavel Begunkov1-21/+0
2024-03-08io_uring: fix mshot io-wq checksPavel Begunkov1-1/+1
2024-03-08io_uring/net: add io_req_msg_cleanup() helperJens Axboe1-12/+15
2024-03-08io_uring/net: simplify msghd->msg_inq checkingJens Axboe1-2/+2
2024-03-08io_uring/kbuf: rename REQ_F_PARTIAL_IO to REQ_F_BL_NO_RECYCLEJens Axboe1-6/+6
2024-03-08io_uring/net: remove dependency on REQ_F_PARTIAL_IO for sr->done_ioJens Axboe1-5/+7
2024-03-07io_uring/net: correctly handle multishot recvmsg retry setupJens Axboe1-1/+2
2024-03-07io_uring/net: clear REQ_F_BL_EMPTY in the multishot retry handlerJens Axboe1-0/+1
2024-03-04io_uring/net: fix overflow check in io_recvmsg_mshot_prep()Dan Carpenter1-2/+2
2024-03-04io_uring/net: correct the type of variableMuhammad Usama Anjum1-1/+1
2024-03-01io_uring/net: move recv/recvmsg flags out of retry loopJens Axboe1-7/+8
2024-02-27io_uring/net: improve the usercopy for sendmsg/recvmsgJens Axboe1-7/+22
2024-02-27io_uring/net: move receive multishot out of the generic msghdr pathJens Axboe1-70/+91
2024-02-27io_uring/net: unify how recvmsg and sendmsg copy in the msghdrJens Axboe1-129/+142
2024-02-14io_uring/net: fix multishot accept overflow handlingJens Axboe1-2/+3
2024-02-01io_uring/net: fix sr->len for IORING_OP_RECV with MSG_WAITALL and buffersJens Axboe1-0/+1
2024-01-29io_uring/net: limit inline multishot retriesJens Axboe1-3/+20
2024-01-29io_uring/net: un-indent mshot retry path in io_recv_finish()Jens Axboe1-16/+20
2023-11-03io_uring/net: ensure socket is marked connected on connect retryJens Axboe1-13/+11
2023-09-14io_uring/net: fix iter retargeting for selected bufPavel Begunkov1-0/+5
2023-08-11io_uring: never overflow io_aux_cqePavel Begunkov1-4/+4
2023-08-11io_uring/net: don't overflow multishot recvPavel Begunkov1-1/+1
2023-08-11io_uring/net: don't overflow multishot acceptPavel Begunkov1-1/+1
2023-07-03Merge tag 'io_uring-6.5-2023-07-03' of git://git.kernel.dk/linuxLinus Torvalds1-4/+4
2023-06-28Merge tag 'net-next-6.5' of git://git.kernel.org/pub/scm/linux/kernel/git/net...Linus Torvalds1-0/+2
2023-06-27io_uring/net: use proper value for msg_inqJens Axboe1-4/+4
2023-06-26Merge tag 'for-6.5/io_uring-2023-06-23' of git://git.kernel.dk/linuxLinus Torvalds1-26/+32
2023-06-22Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-5/+16
2023-06-21io_uring/net: use the correct msghdr union member in io_sendmsg_copy_hdrJens Axboe1-2/+2
2023-06-21io_uring/net: disable partial retries for recvmsg with cmsgJens Axboe1-4/+7
2023-06-21io_uring/net: clear msg_controllen on partial sendmsg retryJens Axboe1-0/+2
2023-06-13io_uring/net: save msghdr->msg_control for retriesJens Axboe1-1/+7
2023-06-07io_uring: cleanup io_aux_cqe() APIJens Axboe1-5/+4
2023-05-23net: Declare MSG_SPLICE_PAGES internal sendmsg() flagDavid Howells1-0/+2
2023-05-17io_uring/net: don't retry recvmsg() unnecessarilyJens Axboe1-1/+9
2023-05-17io_uring/net: push IORING_CQE_F_SOCK_NONEMPTY into io_recv_finish()Jens Axboe1-13/+9
2023-05-17io_uring/net: initalize msghdr->msg_inq to known valueJens Axboe1-2/+4
2023-05-17io_uring/net: initialize struct msghdr more sanely for io_recv()Jens Axboe1-7/+8
2023-03-30iov_iter: add iter_iovec() helperJens Axboe1-2/+2
2023-03-20io_uring/net: avoid sending -ECONNABORTED on repeated connection requestsJens Axboe1-9/+16
2023-02-24io_uring: remove MSG_NOSIGNAL from recvmsgDavid Lamparter1-1/+1
2023-02-20Merge tag 'for-6.3/iter-ubuf-2023-02-16' of git://git.kernel.dk/linuxLinus Torvalds1-12/+5
2023-01-29io_uring: for requests that require async, force itDylan Yudaken1-2/+2
2023-01-23io_uring/net: cache provided buffer group value for multishot receivesJens Axboe1-0/+11
2023-01-08io_uring: switch network send/recv to ITER_UBUFJens Axboe1-12/+5
2022-12-19io_uring/net: fix cleanup after recyclePavel Begunkov1-1/+1
2022-12-19io_uring/net: ensure compat import handlers clear free_iovJens Axboe1-0/+1
2022-12-13Merge tag 'for-6.2/io_uring-next-2022-12-08' of git://git.kernel.dk/linuxLinus Torvalds1-0/+21
2022-12-13Merge tag 'for-6.2/io_uring-2022-12-08' of git://git.kernel.dk/linuxLinus Torvalds1-22/+34
2022-12-07io_uring: force multishot CQEs into task contextPavel Begunkov1-0/+21
2022-11-25use less confusing names for iov_iter direction initializersAl Viro1-7/+7