aboutsummaryrefslogtreecommitdiffstats
path: root/net/xdp
AgeCommit message (Expand)AuthorFilesLines
2024-04-05xsk: validate user input for XDP_{UMEM|COMPLETION}_FILL_RINGEric Dumazet1-0/+2
2024-03-02Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf...Jakub Kicinski1-1/+4
2024-02-22Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+2
2024-02-13xsk: Add truesize to skb_add_rx_frag().Sebastian Andrzej Siewior1-1/+2
2024-02-05xsk: support redirect to any socket bound to the same umemMagnus Karlsson1-1/+4
2024-01-25Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski2-4/+9
2024-01-24xsk: make xsk_buff_pool responsible for clearing xdp_buff::flagsMaciej Fijalkowski1-0/+1
2024-01-24xsk: recycle buffer in case Rx queue was fullMaciej Fijalkowski1-4/+8
2024-01-23sock_diag: add module pointer to "struct sock_diag_handler"Eric Dumazet1-0/+1
2023-12-18Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf...Jakub Kicinski1-0/+12
2023-12-13xsk: add functions to fill control bufferMaciej Fijalkowski1-0/+12
2023-12-07Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-3/+2
2023-12-05xsk: Skip polling event check for unbound socketYewon Choi1-3/+2
2023-11-29xsk: Add option to calculate TX checksum in SWStanislav Fomichev3-1/+13
2023-11-29xsk: Validate xsk_tx_metadata flagsStanislav Fomichev1-0/+4
2023-11-29xsk: Add TX timestamp and TX checksum offload supportStanislav Fomichev2-1/+35
2023-11-29xsk: Support tx_metadata_lenStanislav Fomichev4-8/+26
2023-11-19net: fill in MODULE_DESCRIPTION()s for SOCK_DIAG modulesJakub Kicinski1-0/+1
2023-10-24xsk: Avoid starving the xsk further down the listAlbert Huang1-0/+18
2023-10-17net, bpf: Add a warning if NAPI cb missed xdp_do_flush().Sebastian Andrzej Siewior1-0/+10
2023-10-12Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+10
2023-10-09xdp: Fix zero-size allocation warning in xskq_create()Andrew Kanner1-0/+10
2023-10-01net: implement lockless SO_PRIORITYEric Dumazet1-1/+1
2023-09-15xsk: add multi-buffer support for sockets sharing umemTirthendu Sarkar2-1/+4
2023-08-31xsk: Fix xsk_diag use-after-free error during socket cleanupMagnus Karlsson1-0/+3
2023-08-30xsk: Fix xsk_build_skb() error: 'skb' dereferencing possible ERR_PTR()Tirthendu Sarkar1-9/+13
2023-08-10Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+1
2023-08-09xsk: fix refcount underflow in error pathMagnus Karlsson1-0/+1
2023-08-03Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf...Jakub Kicinski1-0/+1
2023-08-03Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+1
2023-08-03net: move struct netdev_rx_queue out of netdevice.hJakub Kicinski1-0/+1
2023-07-29net: annotate data-races around sk->sk_markEric Dumazet1-1/+1
2023-07-19xsk: support ZC Tx multi-buffer in batch APIMaciej Fijalkowski1-9/+36
2023-07-19xsk: support mbuf on ZC RXMaciej Fijalkowski2-1/+32
2023-07-19xsk: discard zero length descriptors in Tx pathTirthendu Sarkar1-0/+6
2023-07-19xsk: add support for AF_XDP multi-buffer on Tx pathTirthendu Sarkar2-33/+100
2023-07-19xsk: introduce wrappers and helpers for supporting multi-buffer in Tx pathTirthendu Sarkar2-32/+61
2023-07-19xsk: add support for AF_XDP multi-buffer on Rx pathTirthendu Sarkar1-23/+87
2023-07-19xsk: move xdp_buff's data length check to xsk_rcv_checkTirthendu Sarkar1-14/+13
2023-07-19xsk: prepare both copy and zero-copy modes to co-existMaciej Fijalkowski1-4/+13
2023-07-19xsk: introduce XSK_USE_SG bind flag for xsk socketTirthendu Sarkar1-2/+3
2023-07-19xsk: prepare 'options' in xdp_desc for multi-buffer useTirthendu Sarkar2-7/+13
2023-07-04xsk: Honor SO_BINDTODEVICE on bindIlya Maximets1-0/+5
2023-06-28Merge tag 'net-next-6.5' of git://git.kernel.org/pub/scm/linux/kernel/git/net...Linus Torvalds3-8/+4
2023-06-24sock: Remove ->sendpage*() in favour of sendmsg(MSG_SPLICE_PAGES)David Howells1-1/+0
2023-06-19bpf: Centralize permissions checks for all BPF map typesAndrii Nakryiko1-4/+0
2023-06-09mm/gup: remove vmas parameter from pin_user_pages()Lorenzo Stoakes1-1/+1
2023-04-27xsk: Use pool->dma_pages to check for DMAKal Conley1-3/+4
2023-04-13Daniel Borkmann says:Jakub Kicinski3-20/+16
2023-04-13xsk: Elide base_addr comparison in xp_unaligned_validate_descKal Conley1-6/+2
2023-04-13xsk: Simplify xp_aligned_validate_desc implementationKal Conley1-8/+4
2023-04-06xsk: Fix unaligned descriptor validationKal Conley1-0/+1
2023-03-25xsk: allow remap of fill and/or completion ringsNuno Gonçalves1-3/+6
2023-03-24Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-6/+7
2023-03-22bpf: return long from bpf_map_ops funcsJP Kobryn1-4/+4
2023-03-16xsk: Add missing overflow check in xdp_umem_regKal Conley1-6/+7
2023-03-07bpf, net: xskmap memory usageYafang Shao1-0/+13
2023-02-21xsk: add linux/vmalloc.h to xsk.cXuan Zhuo1-0/+1
2023-02-20Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf...Jakub Kicinski1-26/+33
2023-02-20xsk: support use vaddr as ringXuan Zhuo3-13/+8
2023-02-17xsk: check IFF_UP earlier in Tx pathMaciej Fijalkowski1-26/+33
2023-02-15net: no longer support SOCK_REFCNT_DEBUG featureJason Xing1-4/+0
2023-02-02xsk: add usage of XDP features flagsMarek Majtyka1-2/+5
2022-11-15bpf: Expand map key argument of bpf_redirect_map to u64Toke Høiland-Jørgensen1-2/+2
2022-10-03Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski3-27/+26
2022-09-30xsk: Expose min chunk size to driversMaxim Mikityanskiy1-2/+0
2022-09-22xsk: Inherit need_wakeup flag for shared socketsJalal Mostafa2-4/+5
2022-08-31xsk: Fix backpressure mechanism on TxMaciej Fijalkowski2-23/+21
2022-08-15xsk: Fix corrupted packets for XDP_SHARED_UMEMMagnus Karlsson1-6/+10
2022-07-14xsk: Mark napi_id on sendmsg()Maciej Fijalkowski1-1/+4
2022-07-07Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+1
2022-06-28xsk: Clear page contiguity bit when unmapping poolIvan Malov1-0/+1
2022-06-23Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-7/+9
2022-06-17Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextJakub Kicinski1-3/+3
2022-06-14xsk: Fix generic transmit when completion queue reservation failsCiara Loftus1-7/+9
2022-06-08xsk: Fix handling of invalid descriptors in XSK TX batching APIMaciej Fijalkowski2-10/+3
2022-06-02xdp: Directly use ida_alloc()/free() APIsKe Liu1-3/+3
2022-04-28Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski2-5/+26
2022-04-26bpf: Compute map_btf_id during build timeMenglong Dong1-3/+3
2022-04-26xsk: Fix possible crash when multiple sockets are createdMaciej Fijalkowski2-4/+25
2022-04-15xsk: Drop ternary operator from xskq_cons_has_entriesMaciej Fijalkowski1-1/+1
2022-04-15xsk: Diversify return codes in xsk_rcv_check()Maciej Fijalkowski1-1/+1
2022-04-15xsk: Improve xdp_do_redirect() error codesBjörn Töpel2-2/+2
2022-04-07xsk: Fix l2fwd for copy mode + busy poll comboMaciej Fijalkowski1-1/+1
2022-03-28xsk: Do not write NULL in SW ring at allocation failureMagnus Karlsson1-2/+6
2022-03-23Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-19/+50
2022-02-28xsk: Fix race at socket teardownMagnus Karlsson1-19/+50
2022-01-27i40e: xsk: Move tmp desc array from driver to poolMagnus Karlsson3-13/+19
2022-01-26bpf: remove unused static inlinesJakub Kicinski1-7/+0
2022-01-05Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+2
2021-12-31Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpfJakub Kicinski1-2/+2
2021-12-31Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller1-0/+1
2021-12-30Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+1
2021-12-29xsk: Initialise xskb free_list_nodeCiara Loftus1-0/+1
2021-12-29net: Don't include filter.h from net/sock.hJakub Kicinski1-0/+1
2021-12-17Revert "xsk: Do not sleep in poll() when need_wakeup set"Magnus Karlsson1-2/+2
2021-12-16Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+2
2021-12-14xsk: Do not sleep in poll() when need_wakeup setMagnus Karlsson1-2/+2
2021-11-18Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+5
2021-11-16net: drop nopreempt requirement on sock_prot_inuse_add()Eric Dumazet1-4/+0
2021-11-12xsk: Fix crash on double free in buffer poolMagnus Karlsson1-2/+5
2021-09-29xsk: Fix clang build error in __xp_allocMagnus Karlsson1-1/+0
2021-09-28xsk: Optimize for aligned caseMagnus Karlsson2-37/+34
2021-09-28xsk: Batched buffer allocation for the poolMagnus Karlsson2-4/+95
2021-06-29Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-4/+7
2021-06-29net: sock: introduce sk_error_reportAlexander Aring1-1/+1
2021-06-24xdp: Add proper __rcu annotations to redirect map entriesToke Høiland-Jørgensen3-16/+21
2021-06-18xsk: Fix broken Tx ring validationMagnus Karlsson1-4/+7
2021-05-26xdp: Extend xdp_redirect_map with broadcast supportHangbin Liu1-1/+2
2021-05-25xsk: Use kvcalloc to support large umemsMagnus Karlsson1-4/+3
2021-05-04xsk: Fix for xp_aligned_validate_desc() when len == chunk_sizeXuan Zhuo1-4/+3
2021-04-23xsk: Align XDP socket batch size with DPDKLi RongQing1-1/+1
2021-03-10bpf, xdp: Restructure redirect actionsBjörn Töpel1-1/+0
2021-03-10bpf, xdp: Make bpf_redirect_map() a map operationBjörn Töpel1-0/+16
2021-03-08xsk: Update rings for load-acquire/store-release barriersBjörn Töpel1-17/+13
2021-02-25xsk: Build skb by page (aka generic zerocopy xmit)Xuan Zhuo1-24/+96
2021-02-25xsk: Respect device's headroom and tailroom on generic xmit pathAlexander Lobakin1-1/+7
2021-01-25xsk: Fold xp_assign_dev and __xp_assign_devBjörn Töpel1-9/+3
2021-01-25xsk: Remove explicit_free parameter from __xsk_rcv()Björn Töpel1-16/+31
2021-01-19xsk: Clear pool even for inactive queuesMaxim Mikityanskiy1-2/+2
2020-12-18xsk: Rollback reservation at NETDEV_TX_BUSYMagnus Karlsson2-0/+8
2020-12-18xsk: Fix race in SKB mode transmit with shared cqMagnus Karlsson2-3/+7
2020-12-17xsk: Fix memory leak for failed bindMagnus Karlsson2-2/+4
2020-12-14Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextJakub Kicinski1-2/+2
2020-12-11Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski3-4/+23
2020-12-08xsk: Validate socket state in xsk_recvmsg, prior touching socket membersBjörn Töpel1-2/+2
2020-12-04xsk: Return error code if force_zc is setZhang Changzhong1-0/+1
2020-12-04Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextJakub Kicinski5-56/+201
2020-12-02bpf: Eliminate rlimit-based memory accounting for xskmap mapsRoman Gushchin1-10/+2
2020-12-02bpf: Refine memcg-based memory accounting for xskmap mapsRoman Gushchin1-1/+2
2020-12-03xsk: Change the tx writeable conditionXuan Zhuo2-3/+19
2020-12-03xsk: Replace datagram_poll by sock_poll_waitXuan Zhuo1-1/+3
2020-12-01xsk: Propagate napi_id to XDP socket Rx pathBjörn Töpel1-0/+1
2020-12-01xsk: Add busy-poll support for {recv,send}msg()Björn Töpel1-0/+24
2020-12-01xsk: Check need wakeup flag in sendmsg()Björn Töpel2-8/+11
2020-12-01xsk: Add support for recvmsg()Björn Töpel1-1/+21
2020-11-27xdp: Remove the functions xsk_map_inc and xsk_map_putZhu Yanjun3-22/+4
2020-11-24net, xsk: Avoid taking multiple skbuff referencesBjörn Töpel1-7/+1
2020-11-23xsk: Fix incorrect netdev reference countMarek Majtyka1-1/+3
2020-11-20xsk: Fix umem cleanup bug at socket destructMagnus Karlsson4-6/+19
2020-11-17xsk: Introduce batched Tx descriptor interfacesMagnus Karlsson2-13/+133
2020-11-17xsk: Introduce padding between more ring pointersMagnus Karlsson1-1/+3
2020-10-29xsk: Fix possible memory leak at socket closeMagnus Karlsson2-3/+7
2020-10-12Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextJakub Kicinski3-4/+5
2020-10-11bpf: Allow for map-in-map with dynamic inner array map entriesDaniel Borkmann1-1/+1
2020-10-09xsk: Introduce padding between ring pointersMagnus Karlsson1-0/+4
2020-10-05Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-1/+16
2020-10-05xsk: Remove internal DMA headersBjörn Töpel1-3/+0
2020-09-29xsk: Fix a documentation mistake in xsk_queue.hCiara Loftus1-1/+1
2020-09-28xsk: Fix possible crash in socket_release when out-of-memoryMagnus Karlsson1-0/+1
2020-09-23Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller5-23/+10
2020-09-22Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-9/+8
2020-09-16xsk: Do not discard packet when NETDEV_TX_BUSYMagnus Karlsson1-1/+16
2020-09-14xsk: Fix refcount warning in xp_dma_mapMagnus Karlsson1-2/+2
2020-09-14xsk: Fix number of pinned pages/umem size discrepancyBjörn Töpel1-9/+8
2020-09-02xsk: Fix use-after-free in failed shared_umem bindMagnus Karlsson1-0/+1
2020-09-02xsk: Fix null check on error return pathGustavo A. R. Silva1-1/+1
2020-09-02xsk: Fix possible segfault at xskmap entry insertionMagnus Karlsson3-12/+0
2020-09-02xsk: Fix possible segfault in xsk umem diagnosticsMagnus Karlsson1-8/+6
2020-08-31xsk: Add shared umem support between devicesMagnus Karlsson1-7/+4
2020-08-31xsk: Add shared umem support between queue idsMagnus Karlsson2-16/+54
2020-08-31xsk: Enable sharing of dma mappingsMagnus Karlsson2-42/+142
2020-08-31xsk: Move addrs from buffer pool to umemMagnus Karlsson2-19/+24
2020-08-31xsk: Move xsk_tx_list and its lock to buffer poolMagnus Karlsson4-37/+32
2020-08-31xsk: Move queue_id, dev and need_wakeup to buffer poolMagnus Karlsson6-71/+39
2020-08-31xsk: Move fill and completion rings to buffer poolMagnus Karlsson4-46/+49
2020-08-31xsk: Create and free buffer pool independently from umemMagnus Karlsson6-182/+225
2020-08-31xsk: i40e: ice: ixgbe: mlx5: Rename xsk zero-copy driver interfacesMagnus Karlsson2-30/+39
2020-08-31xsk: i40e: ice: ixgbe: mlx5: Pass buffer pool to driver instead of umemMagnus Karlsson2-24/+26
2020-08-28bpf: Relax max_entries check for most of the inner map typesMartin KaFai Lau1-1/+8
2020-08-28bpf: Add map_meta_equal map opsMartin KaFai Lau1-0/+1
2020-07-28xdp: Prevent kernel-infoleak in xsk_getsockopt()Peilin Ye1-1/+1
2020-07-24net: pass a sockptr_t into ->setsockoptChristoph Hellwig1-4/+4
2020-07-13Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller4-5/+55
2020-07-13xsk: Add xdp statistics to xsk_diagCiara Loftus1-0/+17
2020-07-13xsk: Add new statisticsCiara Loftus3-5/+38
2020-07-11Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-50/+4
2020-06-30xsk: Use dma_need_sync instead of reimplenting itChristoph Hellwig1-47/+3
2020-06-30xsk: Remove a double pool->dev assignment in xp_dma_mapChristoph Hellwig1-1/+0
2020-06-30xsk: Replace the cheap_dma flag with a dma_need_sync flagChristoph Hellwig1-3/+2
2020-06-22bpf: Set map_btf_{name, id} for all map typesAndrey Ignatov1-0/+3
2020-06-13Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netLinus Torvalds1-3/+1
2020-06-13Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpfDavid S. Miller1-3/+1
2020-06-11xdp: Fix xsk_generic_xmit errnoLi RongQing1-3/+1
2020-06-09mmap locking API: use coccinelle to convert mmap_sem rwsem call sitesMichel Lespinasse1-2/+2
2020-06-04net/xdp: use shift instead of 64 bit divisionPavel Machek1-1/+1
2020-05-31Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-2/+6
2020-05-26xsk: Add overflow check for u64 division, stored into u32Björn Töpel1-2/+6
2020-05-21xsk: Explicitly inline functions and move definitionsBjörn Töpel3-143/+65
2020-05-21xsk: Remove MEM_TYPE_ZERO_COPY and corresponding codeBjörn Töpel5-269/+9
2020-05-21xsk: Introduce AF_XDP buffer allocation APIBjörn Töpel6-113/+582
2020-05-21xsk: Move defines only used by AF_XDP internals to xsk.hBjörn Töpel2-0/+16
2020-05-21xsk: Move driver interface to xdp_sock_drv.hMagnus Karlsson3-2/+3
2020-05-21xsk: Move xskmap.c to net/xdp/Björn Töpel3-1/+284
2020-05-04xsk: Remove unnecessary member in xdp_umemMagnus Karlsson1-4/+3
2020-05-04xsk: Change two variable names for increased clarityMagnus Karlsson4-17/+17
2020-04-26xsk: Fix typo in xsk_umem_consume_tx and xsk_generic_xmit commentsTobias Klauser1-2/+2
2020-04-15xsk: Add missing check on user supplied headroom sizeMagnus Karlsson1-3/+2
2020-04-06xsk: Fix out of boundary write in __xsk_rcv_memcpyLi RongQing1-2/+3
2020-02-28xdp: Replace zero-length array with flexible-array memberGustavo A. R. Silva1-2/+2