Lines Matching refs:sid

464 	struct enetc_streamid sid;
512 struct enetc_streamid *sid,
528 if (sid->index >= priv->psfp_cap.max_streamid)
531 if (sid->filtertype != STREAMID_TYPE_NULL &&
532 sid->filtertype != STREAMID_TYPE_SMAC)
536 cbd.index = cpu_to_le16((u16)sid->index);
569 si_conf->stream_handle = cpu_to_le32(sid->handle);
571 si_conf->id_type = sid->filtertype;
584 ether_addr_copy(si_data->dmac, sid->dst_mac);
585 si_data->vid_vidm_tg = (sid->vid & ENETC_CBDR_SID_VID_MASK) +
586 ((((u16)(sid->tagged) & 0x3) << 14)
589 ether_addr_copy(si_data->smac, sid->src_mac);
590 si_data->vid_vidm_tg = (sid->vid & ENETC_CBDR_SID_VID_MASK) +
591 ((((u16)(sid->tagged) & 0x3) << 14)
906 if (f->sid.index == index)
1033 struct enetc_streamid *sid,
1040 err = enetc_streamid_hw_set(priv, sid, true);
1068 enetc_streamid_hw_set(priv, sid, false);
1160 filter->sid.index = f->common.chain_index;
1182 ether_addr_copy(filter->sid.dst_mac, match.key->dst);
1183 filter->sid.filtertype = STREAMID_TYPE_NULL;
1193 ether_addr_copy(filter->sid.src_mac, match.key->src);
1194 filter->sid.filtertype = STREAMID_TYPE_SMAC;
1222 filter->sid.vid = match.key->vlan_id;
1223 if (!filter->sid.vid)
1224 filter->sid.tagged = STREAMID_VLAN_UNTAGGED;
1226 filter->sid.tagged = STREAMID_VLAN_TAGGED;
1229 filter->sid.tagged = STREAMID_VLAN_ALL;
1324 filter->sid.handle = sfi->handle;
1329 filter->sid.handle = old_sfi->handle;
1333 err = enetc_psfp_hw_set(priv, &filter->sid,
1370 old_filter = enetc_get_stream_by_index(filter->sid.index);
1449 err = enetc_streamid_hw_set(priv, &filter->sid, false);