Home
last modified time | relevance | path

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

/drivers/net/ethernet/chelsio/cxgb4/
Dt4_hw.c10472 struct fw_acl_vlan_cmd vlan_cmd; in t4_set_vlan_acl() local
10476 memset(&vlan_cmd, 0, sizeof(vlan_cmd)); in t4_set_vlan_acl()
10477 vlan_cmd.op_to_vfn = cpu_to_be32(FW_CMD_OP_V(FW_ACL_VLAN_CMD) | in t4_set_vlan_acl()
10483 vlan_cmd.en_to_len16 = cpu_to_be32(enable | FW_LEN16(vlan_cmd)); in t4_set_vlan_acl()
10485 vlan_cmd.dropnovlan_fm = (enable in t4_set_vlan_acl()
10489 vlan_cmd.nvlan = 1; in t4_set_vlan_acl()
10490 vlan_cmd.vlanid[0] = cpu_to_be16(vlan); in t4_set_vlan_acl()
10493 return t4_wr_mbox(adap, adap->mbox, &vlan_cmd, sizeof(vlan_cmd), NULL); in t4_set_vlan_acl()