mac_data 1614 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c struct dsaf_tbl_tcam_ucast_cfg mac_data; mac_data 1654 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c mac_data.tbl_ucast_item_vld = 1; mac_data 1655 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c mac_data.tbl_ucast_mac_discard = 0; mac_data 1656 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c mac_data.tbl_ucast_old_en = 0; mac_data 1658 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c mac_data.tbl_ucast_dvc = 0; mac_data 1659 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c mac_data.tbl_ucast_out_port = mac_entry->port_num; mac_data 1663 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c hns_dsaf_tcam_uc_cfg(dsaf_dev, entry_index, &tcam_data, &mac_data); mac_data 1679 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c struct dsaf_tbl_tcam_ucast_cfg mac_data; mac_data 1711 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c &mac_data); mac_data 1714 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c if (mac_entry->port_num != mac_data.tbl_ucast_out_port) mac_data 1754 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c struct dsaf_tbl_tcam_mcast_cfg mac_data; mac_data 1791 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c memset(&mac_data, 0, sizeof(struct dsaf_tbl_tcam_mcast_cfg)); mac_data 1809 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c &mac_data); mac_data 1825 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c dsaf_set_bit(mac_data.tbl_mcast_port_msk[mskid / 32], mskid % 32, 1); mac_data 1826 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c mac_data.tbl_mcast_old_en = 0; mac_data 1827 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c mac_data.tbl_mcast_item_vld = 1; mac_data 1839 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c pmask_key, &mac_data); mac_data 1915 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c struct dsaf_tbl_tcam_mcast_cfg mac_data; mac_data 1918 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c const u8 empty_msk[sizeof(mac_data.tbl_mcast_port_msk)] = {0}; mac_data 1977 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c hns_dsaf_tcam_mc_get(dsaf_dev, entry_index, &tcam_data, &mac_data); mac_data 1992 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c dsaf_set_bit(mac_data.tbl_mcast_port_msk[mskid / 32], mskid % 32, 0); mac_data 1995 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c if (!memcmp(mac_data.tbl_mcast_port_msk, empty_msk, mac_data 1996 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c sizeof(mac_data.tbl_mcast_port_msk))) { mac_data 2008 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c pmask_key, &mac_data); mac_data 2019 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c struct dsaf_tbl_tcam_mcast_cfg mac_data; mac_data 2065 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c &mac_data); mac_data 2066 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c dsaf_set_bit(mac_data.tbl_mcast_port_msk[mac_id / 32], mac_data 2068 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c if (!memcmp(mac_data.tbl_mcast_port_msk, empty_msk, mac_data 1822 drivers/net/virtio_net.c struct virtio_net_ctrl_mac *mac_data; mac_data 1854 drivers/net/virtio_net.c (2 * sizeof(mac_data->entries)), GFP_ATOMIC); mac_data 1855 drivers/net/virtio_net.c mac_data = buf; mac_data 1862 drivers/net/virtio_net.c mac_data->entries = cpu_to_virtio32(vi->vdev, uc_count); mac_data 1865 drivers/net/virtio_net.c memcpy(&mac_data->macs[i++][0], ha->addr, ETH_ALEN); mac_data 1867 drivers/net/virtio_net.c sg_set_buf(&sg[0], mac_data, mac_data 1868 drivers/net/virtio_net.c sizeof(mac_data->entries) + (uc_count * ETH_ALEN)); mac_data 1871 drivers/net/virtio_net.c mac_data = (void *)&mac_data->macs[uc_count][0]; mac_data 1873 drivers/net/virtio_net.c mac_data->entries = cpu_to_virtio32(vi->vdev, mc_count); mac_data 1876 drivers/net/virtio_net.c memcpy(&mac_data->macs[i++][0], ha->addr, ETH_ALEN); mac_data 1878 drivers/net/virtio_net.c sg_set_buf(&sg[1], mac_data, mac_data 1879 drivers/net/virtio_net.c sizeof(mac_data->entries) + (mc_count * ETH_ALEN));