aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/vdpa
AgeCommit message (Expand)AuthorFilesLines
2022-10-07vdpa_sim_net: support feature provisioningJason Wang4-5/+17
2022-10-07vdpa: device feature provisioningJason Wang1-0/+5
2022-10-04Merge tag 'net-next-6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/net...Linus Torvalds1-0/+1
2022-09-27vdpa/mlx5: Fix MQ to support non power of two num queuesEli Cohen1-7/+10
2022-09-27vduse: prevent uninitialized memory accessesMaxime Coquelin1-2/+7
2022-09-27vdpa/ifcvf: fix the calculation of queuepairAngus Chen1-2/+2
2022-08-29genetlink: start to validate reserved header bytesJakub Kicinski1-0/+1
2022-08-11vdpa/mlx5: Fix possible uninitialized return valueEli Cohen1-1/+1
2022-08-11vdpa_sim_blk: add support for discard and write-zeroesStefano Garzarella1-1/+73
2022-08-11vdpa_sim_blk: add support for VIRTIO_BLK_T_FLUSHStefano Garzarella1-0/+5
2022-08-11vdpa_sim_blk: make vdpasim_blk_check_range usable by other requestsStefano Garzarella1-15/+23
2022-08-11vdpa_sim_blk: check if sector is 0 for commands other than read or writeStefano Garzarella1-0/+10
2022-08-11vdpa_sim: Implement suspend vdpa opEugenio Pérez4-0/+21
2022-08-11vDPA: fix 'cast to restricted le16' warnings in vdpa.cZhu Lingshan1-3/+3
2022-08-11vDPA: !FEATURES_OK should not block querying device config spaceZhu Lingshan1-8/+0
2022-08-11vDPA/ifcvf: support userspace to query features and MQ of a management deviceZhu Lingshan1-66/+76
2022-08-11vDPA/ifcvf: get_config_size should return a value no greater than dev impleme...Zhu Lingshan2-2/+13
2022-08-11vdpa/mlx5: Support different address spaces for control and dataEli Cohen2-11/+88
2022-08-11vdpa/mlx5: Implement susupend virtqueue callbackEli Cohen1-3/+80
2022-08-11vduse: Support querying information of IOVA regionsXie Yongji1-0/+39
2022-08-11vduse: Support registering userspace memory for IOVA regionsXie Yongji1-0/+141
2022-08-11vduse: Support using userspace pages as bounce bufferXie Yongji2-8/+96
2022-08-11vduse: Use memcpy_{to,from}_page() in do_bounce()Xie Yongji1-5/+4
2022-08-11vduse: Remove unnecessary spin lock protectionXie Yongji1-5/+2
2022-08-11vDPA/ifcvf: remove duplicated assignment to pointer cfgColin Ian King1-1/+0
2022-08-11vdpa: ifcvf: Fix spelling mistake in commentsZhang Jiaming1-1/+1
2022-08-11vdpa/mlx5: Use eth_broadcast_addr() to assign broadcast addressXu Qiang1-1/+1
2022-08-11vdpa_sim: use max_iotlb_entries as a limit in vhost_iotlb_initStefano Garzarella1-2/+2
2022-08-11vdpa_sim_blk: set number of address spaces and virtqueue groupsStefano Garzarella1-0/+6
2022-08-11vdpa_sim_blk: call vringh_complete_iotlb() also in the error pathStefano Garzarella1-5/+9
2022-08-11vdpa_sim_blk: limit the number of request handled per batchStefano Garzarella1-0/+10
2022-08-11vdpa_sim_blk: use dev_dbg() to print errorsStefano Garzarella1-10/+10
2022-06-24vduse: Tie vduse mgmtdev and its deviceParav Pandit1-23/+37
2022-06-24vdpa/mlx5: Initialize CVQ vringh only onceEli Cohen1-11/+20
2022-06-24vdpa/mlx5: Update Control VQ callback informationEli Cohen1-0/+2
2022-06-08vduse: Fix NULL pointer dereference on sysfs accessXie Yongji1-4/+3
2022-06-08vdpa/mlx5: clean up indenting in handle_ctrl_vlan()Dan Carpenter1-3/+3
2022-06-08vdpa/mlx5: fix error code for deleting vlanDan Carpenter1-0/+1
2022-06-08vdpa/mlx5: Fix syntax errors in commentsXiang wangx1-1/+1
2022-06-03Merge tag 'driver-core-5.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-25/+4
2022-06-01vdpa: ifcvf: set pci driver data in probeJason Wang1-1/+2
2022-06-01vdpa/mlx5: Add RX MAC VLAN filter supportEli Cohen1-58/+216
2022-06-01vdpa/mlx5: Remove flow counter from steeringEli Cohen1-18/+6
2022-05-31vdpasim: Off by one in vdpasim_set_group_asid()Dan Carpenter1-1/+1
2022-05-31vdpasim: allow to enable a vq repeatedlyEugenio Pérez1-1/+4
2022-05-31vDPA/ifcvf: fix uninitialized config_vector warningZhu Lingshan1-6/+6
2022-05-31vdpa/vp_vdpa : add vdpa tool support in vp_vdpaCindy Lu1-32/+129
2022-05-31vdpasim: control virtqueue supportGautam Dawar3-20/+161
2022-05-31vdpa_sim: filter destination mac addressGautam Dawar1-18/+31
2022-05-31vdpa_sim: factor out buffer completion logicGautam Dawar1-15/+18
2022-05-31vdpa_sim: advertise VIRTIO_NET_F_MTUGautam Dawar1-1/+2
2022-05-31vdpa: multiple address spaces supportGautam Dawar7-11/+17
2022-05-31vdpa: introduce virtqueue groupsGautam Dawar8-6/+29
2022-05-31vdpa/mlx5: Use readers/writers semaphore instead of mutexEli Cohen1-22/+19
2022-05-31vdpa/mlx5: Add support for reading descriptor statisticsEli Cohen2-0/+151
2022-05-31net/vdpa: Use readers/writers semaphore instead of cf_mutexEli Cohen1-13/+12
2022-05-31net/vdpa: Use readers/writers semaphore instead of vdpa_dev_mutexEli Cohen1-32/+32
2022-05-31vdpa: Add support for querying vendor statisticsEli Cohen1-0/+162
2022-05-31vdpa: Fix error logic in vdpa_nl_cmd_dev_get_doitEli Cohen1-4/+9
2022-05-18vdpa/mlx5: Use consistent RQT sizeEli Cohen1-40/+21
2022-04-22vdpa: Use helper for safer setting of driver_overrideKrzysztof Kozlowski1-25/+4
2022-04-05Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhostLinus Torvalds1-21/+41
2022-03-31Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhostLinus Torvalds5-127/+428
2022-03-30vdpa: mlx5: synchronize driver status with CVQJason Wang1-14/+37
2022-03-30vdpa: mlx5: prevent cvq work from hogging CPUJason Wang1-12/+9
2022-03-28vdpa/mlx5: Avoid processing works if workqueue was destroyedEli Cohen1-2/+5
2022-03-28vdpa: change the type of nvqs to u32Longpeng1-3/+3
2022-03-28vdpa/mlx5: re-create forwarding rules after mac modifiedMichael Qiu1-1/+44
2022-03-28net/mlx5: Add support for configuring max device MTUEli Cohen1-1/+31
2022-03-28vDPA/ifcvf: cacheline alignment for ifcvf_hwZhu Lingshan2-9/+5
2022-03-28vDPA/ifcvf: implement shared IRQ featureZhu Lingshan3-57/+300
2022-03-28vDPA/ifcvf: implement device MSIX vector allocatorZhu Lingshan1-5/+26
2022-03-28vDPA/ifcvf: make use of virtio pci modern IO helpers in ifcvfZhu Lingshan3-71/+36
2022-03-24Merge tag 'iommu-updates-v5.18' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-0/+11
2022-03-06vdpa: fix use-after-free on vp_vdpa_removeZhang Min1-1/+1
2022-03-04vduse: Fix returning wrong type in vduse_domain_alloc_iova()Xie Yongji1-1/+1
2022-03-04vdpa/mlx5: add validation for VIRTIO_NET_CTRL_MQ_VQ_PAIRS_SET commandSi-Wei Liu1-0/+16
2022-03-04vdpa/mlx5: should verify CTRL_VQ feature exists for MQSi-Wei Liu1-2/+16
2022-03-04vdpa: factor out vdpa_set_features_unlocked for vdpa internal useSi-Wei Liu1-1/+1
2022-02-14iommu/iova: Separate out rcache initJohn Garry1-0/+11
2022-01-18Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhostLinus Torvalds10-145/+350
2022-01-14vdpa/mlx5: Fix tracking of current number of VQsEli Cohen1-4/+8
2022-01-14vdpa/mlx5: Fix is_index_valid() to refer to featuresEli Cohen1-3/+7
2022-01-14vdpa: Avoid taking cf_mutex lock on get statusEli Cohen1-11/+0
2022-01-14vdpa/vdpa_sim_net: Report max device capabilitiesEli Cohen1-0/+1
2022-01-14vdpa: Use BIT_ULL for bit operationsEli Cohen1-6/+6
2022-01-14vdpa/vdpa_sim: Configure max supported virtqueuesEli Cohen1-0/+1
2022-01-14vdpa/mlx5: Report max device capabilitiesEli Cohen1-12/+23
2022-01-14vdpa: Support reporting max device capabilitiesEli Cohen1-0/+10
2022-01-14vdpa/mlx5: Restore cur_num_vqs in case of failure in change_num_qps()Eli Cohen1-1/+3
2022-01-14vdpa: Add support for returning device configuration informationEli Cohen1-0/+3
2022-01-14vdpa/mlx5: Support configuring max data virtqueueEli Cohen1-14/+40
2022-01-14vdpa/mlx5: Fix config_attr_mask assignmentEli Cohen1-1/+1
2022-01-14vdpa: Allow to configure max data virtqueuesEli Cohen1-2/+13
2022-01-14vdpa: Read device configuration only if FEATURES_OKEli Cohen1-12/+33
2022-01-14vdpa: Sync calls set/get config/status with cf_mutexEli Cohen1-0/+19
2022-01-14vdpa/mlx5: Distribute RX virtqueues in RQT objectEli Cohen1-23/+7
2022-01-14vdpa: Provide interface to read driver featuresEli Cohen7-27/+76
2022-01-14vdpa/mlx5: Fix wrong configuration of virtio_version_1_0Eli Cohen1-2/+0
2022-01-14eni_vdpa: Simplify 'eni_vdpa_probe()'Christophe JAILLET1-12/+0
2022-01-14net/mlx5_vdpa: Offer VIRTIO_NET_F_MTU when setting MTUEli Cohen1-0/+1
2022-01-14vdpa: add driver_override supportStefano Garzarella1-0/+74
2022-01-14ifcvf/vDPA: fix misuse virtio-net device config size for blk devZhu Lingshan3-33/+41
2022-01-14vduse: moving kvfree into callerGuanjun1-1/+2
2022-01-12Merge tag 'iommu-updates-v5.17' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-8/+0
2022-01-12Merge tag 'driver-core-5.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-2/+2
2022-01-04Merge branches 'arm/smmu', 'virtio', 'x86/amd', 'x86/vt-d' and 'core' into nextJoerg Roedel1-8/+0
2021-12-22vdpa/mlx5: Use auxiliary_device driver data helpersDavid E. Box1-2/+2
2021-12-17iommu/iova: Move fast alloc size roundup into alloc_iova_fast()John Garry via iommu1-8/+0
2021-12-08vdpa: Consider device id larger than 31Parav Pandit1-1/+2
2021-12-08vduse: check that offset is within bounds in get_config()Dan Carpenter1-1/+2
2021-12-08vduse: fix memory corruption in vduse_dev_ioctl()Dan Carpenter1-1/+2
2021-11-24vdpa_sim: avoid putting an uninitialized iova_domainLongpeng1-2/+5
2021-11-03Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhostLinus Torvalds12-55/+1034
2021-11-01vdpa/mlx5: Forward only packets with allowed MAC addressEli Cohen1-18/+58
2021-11-01vdpa/mlx5: Support configuration of MACEli Cohen1-5/+10
2021-11-01vdpa/mlx5: Fix clearing of VIRTIO_NET_F_MAC feature bitParav Pandit1-1/+0
2021-11-01vdpa_sim_net: Enable user to set mac address and mtuParav Pandit1-16/+19
2021-11-01vdpa: Enable user to set mac and mtu of vdpa deviceParav Pandit6-7/+46
2021-11-01vdpa: Introduce query of device config layoutParav Pandit1-0/+176
2021-11-01vdpa: Introduce and use vdpa device get, set config helpersParav Pandit1-0/+36
2021-11-01vdpa/mlx5: Propagate link status from device to vdpa driverEli Cohen1-2/+92
2021-11-01vdpa/mlx5: Rename control VQ workqueue to vdpa wqEli Cohen2-5/+5
2021-11-01vdpa/mlx5: Remove mtu field from vdpa net deviceEli Cohen1-4/+5
2021-11-01eni_vdpa: add vDPA driver for Alibaba ENIWu Zongyong4-0/+565
2021-11-01vdpa: add new attribute VDPA_ATTR_DEV_MIN_VQ_SIZEWu Zongyong1-0/+5
2021-11-01vdpa: min vq num of vdpa device cannot be greater than max vq numWu Zongyong1-0/+8
2021-11-01vp_vdpa: add vq irq offloading supportWu Zongyong1-0/+12
2021-10-28Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-4/+25
2021-10-22vduse: Fix race condition between resetting and irq injectingXie Yongji1-12/+25
2021-10-22vduse: Disallow injecting interrupt before DRIVER_OK is setXie Yongji1-0/+8
2021-10-19RDMA/mlx5: Replace struct mlx5_core_mkey by u32 keyAharon Landau4-13/+13
2021-10-19RDMA/mlx5: Remove pd from struct mlx5_core_mkeyAharon Landau1-3/+0
2021-10-19RDMA/mlx5: Remove size from struct mlx5_core_mkeyAharon Landau1-1/+0
2021-10-19RDMA/mlx5: Remove iova from struct mlx5_core_mkeyAharon Landau1-1/+0
2021-09-14vdpa/mlx5: Avoid executing set_vq_ready() if device is resetEli Cohen1-0/+3
2021-09-14vdpa/mlx5: Clear ready indication for control VQEli Cohen1-0/+2
2021-09-14vduse: Cleanup the old kernel states after reset failureXie Yongji1-4/+2
2021-09-14vduse: missing error code in vduse_init()Dan Carpenter1-1/+3
2021-09-11Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhostLinus Torvalds16-203/+3107
2021-09-06Documentation: Add documentation for VDUSEXie Yongji1-5/+0
2021-09-06vduse: Introduce VDUSE - vDPA Device in UserspaceXie Yongji4-0/+1662
2021-09-06vduse: Implement an MMU-based software IOTLBXie Yongji2-0/+618
2021-09-06vdpa: Support transferring virtual addressing during DMA mappingXie Yongji5-5/+12
2021-09-06vdpa: Add an opaque pointer for vdpa_config_ops.dma_map()Xie Yongji1-3/+3
2021-09-06vdpa: Add reset callback in vdpa_config_opsXie Yongji4-32/+76
2021-09-05vdpa_sim: Use iova_shift() for the size passed to alloc_iova()Xie Yongji1-1/+2
2021-09-05vdpa/mlx5: Add multiqueue supportEli Cohen3-31/+169
2021-09-05vdpa/mlx5: Add support for control VQ and MAC settingEli Cohen5-32/+329
2021-09-05vdpa/mlx5: Ensure valid indices are providedEli Cohen2-0/+55
2021-09-05vdpa/mlx5: Decouple virtqueue callback from struct mlx5_vdpa_virtqueueEli Cohen1-8/+9
2021-09-05vdpa/mlx5: function prototype modifications in preparation to control VQEli Cohen1-19/+21
2021-09-05vdpa/mlx5: Remove redundant header file inclusionEli Cohen1-1/+0
2021-09-05vDPA/ifcvf: enable multiqueue and control vqZhu Lingshan2-17/+3
2021-09-05vDPA/ifcvf: detect and use the onboard number of queues directlyZhu Lingshan3-18/+21
2021-09-05vDPA/ifcvf: implement management netlink framework for ifcvfZhu Lingshan2-35/+123
2021-09-05vDPA/ifcvf: introduce get_dev_type() which returns virtio dev idZhu Lingshan1-13/+21
2021-09-01Merge tag 'driver-core-5.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-3/+1
2021-08-19Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski5-18/+17
2021-08-16Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhostLinus Torvalds5-18/+17
2021-08-13Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+1
2021-08-11vdpa/mlx5: Fix queue type selection logicEli Cohen1-4/+10
2021-08-11vdpa/mlx5: Avoid destroying MR on empty iotlbEli Cohen1-9/+0
2021-08-11vDPA/ifcvf: Fix return value check for vdpa_alloc_device()Xie Yongji1-2/+2
2021-08-11vp_vdpa: Fix return value check for vdpa_alloc_device()Xie Yongji1-2/+2
2021-08-11vdpa_sim: Fix return value check for vdpa_alloc_device()Xie Yongji1-1/+3
2021-08-09net/mlx5: Synchronize correct IRQ when destroying CQShay Drory1-2/+1
2021-07-25IB/mlx5: Rename is_apu_thread_cq function to is_apu_cqTal Gilboa1-1/+1
2021-07-21bus: Make remove callback return voidUwe Kleine-König1-3/+1
2021-07-08vp_vdpa: allow set vq state to initial state after resetJason Wang1-3/+39
2021-07-08vdpa: support packed virtqueue for set/get_vq_state()Jason Wang3-8/+8
2021-07-08vdpa/mlx5: Clear vq ready indication upon device resetEli Cohen1-0/+9
2021-07-08vdpa/mlx5: Add support for doorbell bypassingEli Cohen3-0/+16
2021-07-03vdpa/mlx5: Add support for running with virtio_vdpaEli Cohen3-15/+87
2021-07-03vdp/mlx5: Fix setting the correct dma_deviceEli Cohen2-8/+3
2021-07-03vdpa/mlx5: Support creating resources with uid == 0Eli Cohen1-0/+6
2021-07-03vdpa/mlx5: Fix possible failure in umem size calculationEli Cohen1-10/+5
2021-07-03vdpa/mlx5: Fix umem sizes assignments on VQ createEli Cohen1-2/+2
2021-07-03vp_vdpa: correct the return value when fail to map notificationJason Wang1-0/+1
2021-07-03vDPA/ifcvf: reuse pre-defined macros for device ids and vendor idsZhu Lingshan2-22/+13
2021-07-03vDPA/ifcvf: implement doorbell mapping for ifcvfZhu Lingshan1-0/+16
2021-07-03vDPA/ifcvf: record virtio notify baseZhu Lingshan2-0/+6
2021-07-03vdpa_sim_blk: remove duplicate include of linux/blkdev.hWan Jiabing1-1/+0
2021-05-18{net,vdpa}/mlx5: Configure interface MAC into mpfs L2 tableEli Cohen1-1/+18
2021-05-03vDPA/ifcvf: get_config_size should return dev specific config sizeZhu Lingshan1-1/+18
2021-05-03vDPA/ifcvf: enable Intel C5000X-PL virtio-block for vDPAZhu Lingshan2-2/+25
2021-05-03vDPA/ifcvf: deduce VIRTIO device ID when probeZhu Lingshan2-12/+16
2021-05-03vdpa_sim_blk: add support for vdpa management toolStefano Garzarella1-13/+63
2021-05-03vdpa_sim_blk: handle VIRTIO_BLK_T_GET_IDStefano Garzarella1-0/+15
2021-05-03vdpa_sim_blk: implement ramdisk behaviourStefano Garzarella1-18/+146
2021-05-03vdpa: add vdpa simulator for block deviceMax Gurtovoy3-0/+153
2021-05-03vdpa: add get_config_size callback in vdpa_config_opsStefano Garzarella4-0/+29
2021-05-03vdpa_sim: cleanup kiovs in vdpasim_free()Stefano Garzarella1-0/+7
2021-05-03vringh: add 'iotlb_lock' to synchronize iotlb accessesStefano Garzarella1-1/+2
2021-05-03vdpa_sim: use iova module to allocate IOVA addressesStefano Garzarella3-42/+69
2021-05-03vDPA/ifcvf: deduce VIRTIO device ID from pdev idsZhu Lingshan2-1/+14
2021-05-03vDPA/ifcvf: verify mandatory feature bits for vDPAZhu Lingshan3-0/+18
2021-05-03vDPA/ifcvf: fetch device feature bits when probeZhu Lingshan3-2/+14
2021-05-03vDPA/ifcvf: remove the version number stringZhu Lingshan1-2/+0
2021-05-03vDPA/ifcvf: rename original IFCVF dev ids to N3000 idsZhu Lingshan2-8/+8