Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/net/ethernet/chelsio/cxgb4/
H A Dt4_hw.c10501 struct fw_acl_vlan_cmd vlan_cmd; in t4_set_vlan_acl() local
10505 memset(&vlan_cmd, 0, sizeof(vlan_cmd)); in t4_set_vlan_acl()
10506 vlan_cmd.op_to_vfn = cpu_to_be32(FW_CMD_OP_V(FW_ACL_VLAN_CMD) | in t4_set_vlan_acl()
10512 vlan_cmd.en_to_len16 = cpu_to_be32(enable | FW_LEN16(vlan_cmd)); in t4_set_vlan_acl()
10514 vlan_cmd.dropnovlan_fm = (enable in t4_set_vlan_acl()
10518 vlan_cmd.nvlan = 1; in t4_set_vlan_acl()
10519 vlan_cmd.vlanid[0] = cpu_to_be16(vlan); in t4_set_vlan_acl()
10522 return t4_wr_mbox(adap, adap->mbox, &vlan_cmd, sizeof(vlan_cmd), NULL); in t4_set_vlan_acl()
/OK3568_Linux_fs/external/dpdk/pcie/e1000/
H A Digb_rxtx.c384 static uint32_t vlan_cmd[2] = {0, E1000_ADVTXD_DCMD_VLE}; in tx_desc_vlan_flags_to_cmdtype() local
386 cmdtype = vlan_cmd[(ol_flags & RTE_MBUF_F_TX_VLAN) != 0]; in tx_desc_vlan_flags_to_cmdtype()