Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb4/
Dt4_hw.c10470 struct fw_acl_vlan_cmd vlan_cmd; in t4_set_vlan_acl() local
10474 memset(&vlan_cmd, 0, sizeof(vlan_cmd)); in t4_set_vlan_acl()
10475 vlan_cmd.op_to_vfn = cpu_to_be32(FW_CMD_OP_V(FW_ACL_VLAN_CMD) | in t4_set_vlan_acl()
10481 vlan_cmd.en_to_len16 = cpu_to_be32(enable | FW_LEN16(vlan_cmd)); in t4_set_vlan_acl()
10483 vlan_cmd.dropnovlan_fm = (enable in t4_set_vlan_acl()
10487 vlan_cmd.nvlan = 1; in t4_set_vlan_acl()
10488 vlan_cmd.vlanid[0] = cpu_to_be16(vlan); in t4_set_vlan_acl()
10491 return t4_wr_mbox(adap, adap->mbox, &vlan_cmd, sizeof(vlan_cmd), NULL); in t4_set_vlan_acl()