Searched refs:sync_ctx (Results 1 – 1 of 1) sorted by relevance
204 struct addr_sync_ctx *sync_ctx = ctx; in cpsw_update_vlan_mc() local213 if (ether_addr_equal(ha->addr, sync_ctx->addr)) { in cpsw_update_vlan_mc()220 sync_ctx->consumed++; in cpsw_update_vlan_mc()222 if (sync_ctx->flush) { in cpsw_update_vlan_mc()224 cpsw_set_mc(sync_ctx->ndev, sync_ctx->addr, vid, 0); in cpsw_update_vlan_mc()229 ret = cpsw_set_mc(sync_ctx->ndev, sync_ctx->addr, vid, 1); in cpsw_update_vlan_mc()236 struct addr_sync_ctx sync_ctx; in cpsw_add_mc_addr() local239 sync_ctx.consumed = 0; in cpsw_add_mc_addr()240 sync_ctx.addr = addr; in cpsw_add_mc_addr()241 sync_ctx.ndev = ndev; in cpsw_add_mc_addr()[all …]