Home
last modified time | relevance | path

Searched refs:vi_cmd (Results 1 – 1 of 1) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4vf/
Dt4vf_hw.c499 struct fw_vi_cmd vi_cmd, vi_rpl; in t4vf_port_init() local
527 memset(&vi_cmd, 0, sizeof(vi_cmd)); in t4vf_port_init()
528 vi_cmd.op_to_vfn = cpu_to_be32(FW_CMD_OP_V(FW_VI_CMD) | in t4vf_port_init()
531 vi_cmd.alloc_to_len16 = cpu_to_be32(FW_LEN16(vi_cmd)); in t4vf_port_init()
532 vi_cmd.type_viid = cpu_to_be16(FW_VI_CMD_VIID_V(pi->viid)); in t4vf_port_init()
533 ret = t4vf_wr_mbox(adapter, &vi_cmd, sizeof(vi_cmd), &vi_rpl); in t4vf_port_init()