Lines Matching full:out
23 struct vcap_output_print *out, in vcap_debugfs_show_rule_keyfield() argument
32 out->prf(out->dst, " %s: W%d: ", vcap_keyfield_name(vctrl, key), in vcap_debugfs_show_rule_keyfield()
37 out->prf(out->dst, "%d/%d", data->u1.value, data->u1.mask); in vcap_debugfs_show_rule_keyfield()
44 out->prf(out->dst, "%pI4h/%pI4h", &data->u32.value, in vcap_debugfs_show_rule_keyfield()
55 out->prf(out->dst, "%u/%u", data->u32.value & fmsk, in vcap_debugfs_show_rule_keyfield()
63 out->prf(out->dst, "%pMR/%pMR", data->u48.value, in vcap_debugfs_show_rule_keyfield()
98 out->prf(out->dst, "%pI6/%pI6", nvalue, nmask); in vcap_debugfs_show_rule_keyfield()
106 out->prf(out->dst, "0x"); in vcap_debugfs_show_rule_keyfield()
108 out->prf(out->dst, "%02x", value[bytes - idx - 1]); in vcap_debugfs_show_rule_keyfield()
109 out->prf(out->dst, "/0x"); in vcap_debugfs_show_rule_keyfield()
111 out->prf(out->dst, "%02x", mask[bytes - idx - 1]); in vcap_debugfs_show_rule_keyfield()
113 out->prf(out->dst, "\n"); in vcap_debugfs_show_rule_keyfield()
118 struct vcap_output_print *out, in vcap_debugfs_show_rule_actionfield() argument
127 out->prf(out->dst, " %s: W%d: ", in vcap_debugfs_show_rule_actionfield()
133 out->prf(out->dst, "%d", value[0]); in vcap_debugfs_show_rule_actionfield()
138 out->prf(out->dst, "%u", val & fmsk); in vcap_debugfs_show_rule_actionfield()
151 out->prf(out->dst, "0x"); in vcap_debugfs_show_rule_actionfield()
153 out->prf(out->dst, "%02x", value[bytes - idx - 1]); in vcap_debugfs_show_rule_actionfield()
155 out->prf(out->dst, "\n"); in vcap_debugfs_show_rule_actionfield()
159 struct vcap_output_print *out) in vcap_debugfs_show_keysets() argument
183 out->prf(out->dst, " keysets:"); in vcap_debugfs_show_keysets()
185 out->prf(out->dst, " %s", in vcap_debugfs_show_keysets()
187 out->prf(out->dst, "\n"); in vcap_debugfs_show_keysets()
192 struct vcap_output_print *out) in vcap_debugfs_show_rule_keyset() argument
199 vcap_debugfs_show_keysets(ri, out); in vcap_debugfs_show_rule_keyset()
200 out->prf(out->dst, " keyset_sw: %d\n", ri->keyset_sw); in vcap_debugfs_show_rule_keyset()
201 out->prf(out->dst, " keyset_sw_regs: %d\n", ri->keyset_sw_regs); in vcap_debugfs_show_rule_keyset()
205 vcap_debugfs_show_rule_keyfield(vctrl, out, ckf->ctrl.key, in vcap_debugfs_show_rule_keyset()
213 struct vcap_output_print *out) in vcap_debugfs_show_rule_actionset() argument
220 out->prf(out->dst, " actionset: %s\n", in vcap_debugfs_show_rule_actionset()
222 out->prf(out->dst, " actionset_sw: %d\n", ri->actionset_sw); in vcap_debugfs_show_rule_actionset()
223 out->prf(out->dst, " actionset_sw_regs: %d\n", ri->actionset_sw_regs); in vcap_debugfs_show_rule_actionset()
228 vcap_debugfs_show_rule_actionfield(vctrl, out, caf->ctrl.action, in vcap_debugfs_show_rule_actionset()
238 struct vcap_output_print *out, in vcap_show_admin_rule() argument
243 out->prf(out->dst, in vcap_show_admin_rule()
247 out->prf(out->dst, " chain_id: %d\n", ri->data.vcap_chain_id); in vcap_show_admin_rule()
248 out->prf(out->dst, " user: %d\n", ri->data.user); in vcap_show_admin_rule()
249 out->prf(out->dst, " priority: %d\n", ri->data.priority); in vcap_show_admin_rule()
250 out->prf(out->dst, " state: "); in vcap_show_admin_rule()
253 out->prf(out->dst, "permanent\n"); in vcap_show_admin_rule()
256 out->prf(out->dst, "disabled\n"); in vcap_show_admin_rule()
259 out->prf(out->dst, "enabled\n"); in vcap_show_admin_rule()
262 vcap_debugfs_show_rule_keyset(ri, out); in vcap_show_admin_rule()
263 vcap_debugfs_show_rule_actionset(ri, out); in vcap_show_admin_rule()
268 struct vcap_output_print *out) in vcap_show_admin_info() argument
272 out->prf(out->dst, "name: %s\n", vcap->name); in vcap_show_admin_info()
273 out->prf(out->dst, "rows: %d\n", vcap->rows); in vcap_show_admin_info()
274 out->prf(out->dst, "sw_count: %d\n", vcap->sw_count); in vcap_show_admin_info()
275 out->prf(out->dst, "sw_width: %d\n", vcap->sw_width); in vcap_show_admin_info()
276 out->prf(out->dst, "sticky_width: %d\n", vcap->sticky_width); in vcap_show_admin_info()
277 out->prf(out->dst, "act_width: %d\n", vcap->act_width); in vcap_show_admin_info()
278 out->prf(out->dst, "default_cnt: %d\n", vcap->default_cnt); in vcap_show_admin_info()
279 out->prf(out->dst, "require_cnt_dis: %d\n", vcap->require_cnt_dis); in vcap_show_admin_info()
280 out->prf(out->dst, "version: %d\n", vcap->version); in vcap_show_admin_info()
281 out->prf(out->dst, "vtype: %d\n", admin->vtype); in vcap_show_admin_info()
282 out->prf(out->dst, "vinst: %d\n", admin->vinst); in vcap_show_admin_info()
283 out->prf(out->dst, "ingress: %d\n", admin->ingress); in vcap_show_admin_info()
284 out->prf(out->dst, "first_cid: %d\n", admin->first_cid); in vcap_show_admin_info()
285 out->prf(out->dst, "last_cid: %d\n", admin->last_cid); in vcap_show_admin_info()
286 out->prf(out->dst, "lookups: %d\n", admin->lookups); in vcap_show_admin_info()
287 out->prf(out->dst, "first_valid_addr: %d\n", admin->first_valid_addr); in vcap_show_admin_info()
288 out->prf(out->dst, "last_valid_addr: %d\n", admin->last_valid_addr); in vcap_show_admin_info()
289 out->prf(out->dst, "last_used_addr: %d\n", admin->last_used_addr); in vcap_show_admin_info()
294 struct vcap_output_print *out) in vcap_show_admin() argument
300 vcap_show_admin_info(vctrl, admin, out); in vcap_show_admin()
308 out->prf(out->dst, "\n"); in vcap_show_admin()
309 vcap_show_admin_rule(vctrl, admin, out, to_intrule(vrule)); in vcap_show_admin()
317 struct vcap_output_print *out) in vcap_show_admin_raw() argument
354 out->prf(out->dst, " addr: %d, X%d rule, keysets:", in vcap_show_admin_raw()
358 out->prf(out->dst, " %s", in vcap_show_admin_raw()
361 out->prf(out->dst, "\n"); in vcap_show_admin_raw()
372 struct vcap_output_print out = { in vcap_port_debugfs_show() local
380 info->vctrl->ops->port_info(info->ndev, admin, &out); in vcap_port_debugfs_show()
407 struct vcap_output_print out = { in vcap_debugfs_show() local
414 ret = vcap_show_admin(info->vctrl, info->admin, &out); in vcap_debugfs_show()
424 struct vcap_output_print out = { in vcap_raw_debugfs_show() local
431 ret = vcap_show_admin_raw(info->vctrl, info->admin, &out); in vcap_raw_debugfs_show()