Home
last modified time | relevance | path

Searched refs:template_mgmt (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/huawei/hinic/
H A Dhinic_port.c931 struct hinic_rss_template_mgmt template_mgmt = { 0 }; in hinic_rss_template_alloc() local
934 u16 out_size = sizeof(template_mgmt); in hinic_rss_template_alloc()
938 template_mgmt.func_id = HINIC_HWIF_FUNC_IDX(hwif); in hinic_rss_template_alloc()
939 template_mgmt.cmd = NIC_RSS_CMD_TEMP_ALLOC; in hinic_rss_template_alloc()
942 &template_mgmt, sizeof(template_mgmt), in hinic_rss_template_alloc()
943 &template_mgmt, &out_size); in hinic_rss_template_alloc()
944 if (err || !out_size || template_mgmt.status) { in hinic_rss_template_alloc()
946 err, template_mgmt.status, out_size); in hinic_rss_template_alloc()
950 *tmpl_idx = template_mgmt in hinic_rss_template_alloc()
957 struct hinic_rss_template_mgmt template_mgmt = { 0 }; hinic_rss_template_free() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/huawei/hinic/
H A Dhinic_port.c946 struct hinic_rss_template_mgmt template_mgmt = { 0 }; in hinic_rss_template_alloc() local
949 u16 out_size = sizeof(template_mgmt); in hinic_rss_template_alloc()
953 template_mgmt.func_id = HINIC_HWIF_FUNC_IDX(hwif); in hinic_rss_template_alloc()
954 template_mgmt.cmd = NIC_RSS_CMD_TEMP_ALLOC; in hinic_rss_template_alloc()
957 &template_mgmt, sizeof(template_mgmt), in hinic_rss_template_alloc()
958 &template_mgmt, &out_size); in hinic_rss_template_alloc()
959 if (err || !out_size || template_mgmt.status) { in hinic_rss_template_alloc()
961 err, template_mgmt.status, out_size); in hinic_rss_template_alloc()
965 *tmpl_idx = template_mgmt in hinic_rss_template_alloc()
972 struct hinic_rss_template_mgmt template_mgmt = { 0 }; hinic_rss_template_free() local
[all...]

Completed in 4 milliseconds