Searched refs:mgmtdev (Results 1 – 3 of 3) sorted by relevance
62 int hidma_mgmt_setup(struct hidma_mgmt_dev *mgmtdev) in hidma_mgmt_setup() argument67 if (!is_power_of_2(mgmtdev->max_write_request) || in hidma_mgmt_setup()68 (mgmtdev->max_write_request < 128) || in hidma_mgmt_setup()69 (mgmtdev->max_write_request > 1024)) { in hidma_mgmt_setup()70 dev_err(&mgmtdev->pdev->dev, "invalid write request %d\n", in hidma_mgmt_setup()71 mgmtdev->max_write_request); in hidma_mgmt_setup()75 if (!is_power_of_2(mgmtdev->max_read_request) || in hidma_mgmt_setup()76 (mgmtdev->max_read_request < 128) || in hidma_mgmt_setup()77 (mgmtdev->max_read_request > 1024)) { in hidma_mgmt_setup()78 dev_err(&mgmtdev->pdev->dev, "invalid read request %d\n", in hidma_mgmt_setup()[all …]
31 int hidma_mgmt_setup(struct hidma_mgmt_dev *mgmtdev);
48 PDS_VDPA_MGMT=`vdpa mgmtdev show | grep vDPA | head -1 | cut -d: -f1`51 vdpa dev add name vdpa1 mgmtdev $PDS_VDPA_MGMT mac 00:11:22:33:44:55