Lines Matching refs:ingress
12 bool created, ingress = attr->attach_type == BPF_TCX_INGRESS;
34 entry = tcx_entry_fetch_or_create(dev, ingress, &created);
44 tcx_entry_update(dev, entry_new, ingress);
46 tcx_skeys_inc(ingress);
61 bool ingress = attr->attach_type == BPF_TCX_INGRESS;
73 entry = tcx_entry_fetch(dev, ingress);
83 tcx_entry_update(dev, entry_new, ingress);
85 tcx_skeys_dec(ingress);
95 void tcx_uninstall(struct net_device *dev, bool ingress)
103 entry = tcx_entry_fetch(dev, ingress);
109 tcx_entry_update(dev, entry_new, ingress);
116 tcx_skeys_dec(ingress);
124 bool ingress = attr->query.attach_type == BPF_TCX_INGRESS;
135 ret = bpf_mprog_query(attr, uattr, tcx_entry_fetch(dev, ingress));
145 bool created, ingress = tcx->location == BPF_TCX_INGRESS;
151 entry = tcx_entry_fetch_or_create(dev, ingress, &created);
158 tcx_entry_update(dev, entry_new, ingress);
160 tcx_skeys_inc(ingress);
172 bool ingress = tcx->location == BPF_TCX_INGRESS;
181 entry = tcx_entry_fetch(dev, ingress);
190 tcx_entry_update(dev, entry_new, ingress);
192 tcx_skeys_dec(ingress);
207 bool ingress = tcx->location == BPF_TCX_INGRESS;
227 entry = tcx_entry_fetch(dev, ingress);
264 tcx->location == BPF_TCX_INGRESS ? "ingress" : "egress");