/kernel/linux/linux-6.6/drivers/net/ethernet/microchip/lan966x/ |
H A D | lan966x_tc_flower.c | 13 switch (st->admin->vtype) { in lan966x_tc_is_known_etype() 107 st->admin->vtype == VCAP_TYPE_IS1) { in lan966x_tc_flower_handler_basic_usage() 110 st->admin->vtype == VCAP_TYPE_IS1) { in lan966x_tc_flower_handler_basic_usage() 122 } else if (st->admin->vtype == VCAP_TYPE_IS1) { in lan966x_tc_flower_handler_basic_usage() 139 if (st->admin->vtype == VCAP_TYPE_IS1) { in lan966x_tc_flower_handler_basic_usage() 153 if (st->admin->vtype == VCAP_TYPE_IS1) { in lan966x_tc_flower_handler_basic_usage() 185 if (st->admin->vtype != VCAP_TYPE_IS1) { in lan966x_tc_flower_handler_cvlan_usage() 200 if (st->admin->vtype == VCAP_TYPE_IS1) { in lan966x_tc_flower_handler_vlan_usage() 318 switch (admin->vtype) { in lan966x_tc_set_actionset() 349 switch (admin->vtype) { in lan966x_tc_add_rule_link_target() [all...] |
H A D | lan966x_vcap_impl.c | 21 enum vcap_type vtype; /* type of vcap */ member 30 .vtype = VCAP_TYPE_ES0, 38 .vtype = VCAP_TYPE_IS1, /* IS1-0 */ 47 .vtype = VCAP_TYPE_IS2, /* IS2-0 */ 285 switch (admin->vtype) { in lan966x_vcap_validate_keyset() 300 lan966x_vcaps[admin->vtype].name); in lan966x_vcap_validate_keyset() 371 switch (admin->vtype) { in lan966x_vcap_add_default_fields() 383 lan966x_vcaps[admin->vtype].name); in lan966x_vcap_add_default_fields() 463 if (admin->vtype == VCAP_TYPE_ES0) in lan966x_vcap_cache_write() 505 if (admin->vtype in lan966x_vcap_cache_read() [all...] |
H A D | lan966x_vcap_debugfs.c | 223 vcap = &vctrl->vcaps[admin->vtype]; in lan966x_vcap_port_info() 226 switch (admin->vtype) { in lan966x_vcap_port_info()
|
/kernel/linux/linux-6.6/tools/testing/selftests/net/ |
H A D | test_vxlan_vnifiltering.sh | 234 local vtype=$(echo $vmap | awk -F'-' '{print ($5)}') 245 if [[ -n $vtype && $vtype == "metadata" ]]; then 247 elif [[ -n $vtype && $vtype == "vnifilter" || $vtype == "vnifilterg" ]]; then 255 if [[ -n $vtype && $vtype != "vnifilterg" ]]; then 282 if [[ -n $vtype && $vtype [all...] |
/kernel/linux/linux-5.10/drivers/scsi/snic/ |
H A D | vnic_devcmd.h | 62 #define _CMDCF(dir, flags, vtype, nr) \ 65 ((vtype) << _CMD_VTYPESHIFT) | \ 67 #define _CMDC(dir, vtype, nr) _CMDCF(dir, 0, vtype, nr) 68 #define _CMDCNW(dir, vtype, nr) _CMDCF(dir, _CMD_FLAGS_NOWAIT, vtype, nr)
|
/kernel/linux/linux-6.6/drivers/scsi/snic/ |
H A D | vnic_devcmd.h | 48 #define _CMDCF(dir, flags, vtype, nr) \ 51 ((vtype) << _CMD_VTYPESHIFT) | \ 53 #define _CMDC(dir, vtype, nr) _CMDCF(dir, 0, vtype, nr) 54 #define _CMDCNW(dir, vtype, nr) _CMDCF(dir, _CMD_FLAGS_NOWAIT, vtype, nr)
|
/kernel/linux/linux-5.10/drivers/scsi/fnic/ |
H A D | vnic_devcmd.h | 62 #define _CMDCF(dir, flags, vtype, nr) \ 65 ((vtype) << _CMD_VTYPESHIFT) | \ 67 #define _CMDC(dir, vtype, nr) _CMDCF(dir, 0, vtype, nr) 68 #define _CMDCNW(dir, vtype, nr) _CMDCF(dir, _CMD_FLAGS_NOWAIT, vtype, nr)
|
/kernel/linux/linux-6.6/drivers/scsi/fnic/ |
H A D | vnic_devcmd.h | 50 #define _CMDCF(dir, flags, vtype, nr) \ 53 ((vtype) << _CMD_VTYPESHIFT) | \ 55 #define _CMDC(dir, vtype, nr) _CMDCF(dir, 0, vtype, nr) 56 #define _CMDCNW(dir, vtype, nr) _CMDCF(dir, _CMD_FLAGS_NOWAIT, vtype, nr)
|
/kernel/linux/linux-6.6/drivers/net/ethernet/microchip/sparx5/ |
H A D | sparx5_tc_flower.c | 89 if (st->admin->vtype == VCAP_TYPE_IS0) { in sparx5_tc_flower_handler_basic_usage() 113 if (st->admin->vtype == VCAP_TYPE_IS0) { in sparx5_tc_flower_handler_basic_usage() 190 if (st->admin->vtype != VCAP_TYPE_IS0) { in sparx5_tc_flower_handler_cvlan_usage() 206 if (st->admin->vtype == VCAP_TYPE_IS0) { in sparx5_tc_flower_handler_vlan_usage() 215 if (st->admin->vtype == VCAP_TYPE_ES0 && st->tpid) in sparx5_tc_flower_handler_vlan_usage() 345 switch (admin->vtype) { in sparx5_tc_add_rule_counter() 365 __func__, __LINE__, admin->vtype); in sparx5_tc_add_rule_counter() 408 kinfo = vcap_keyfieldset(vctrl, admin->vtype, in sparx5_tc_select_protocol_keyset() 556 switch (admin->vtype) { in sparx5_tc_set_actionset() 590 switch (admin->vtype) { in sparx5_tc_add_rule_link_target() [all...] |
H A D | sparx5_vcap_impl.c | 53 enum vcap_type vtype; /* type of vcap */ member 66 .vtype = VCAP_TYPE_IS0, /* CLM-0 */ 78 .vtype = VCAP_TYPE_IS0, /* CLM-1 */ 90 .vtype = VCAP_TYPE_IS0, /* CLM-2 */ 102 .vtype = VCAP_TYPE_IS2, /* IS2-0 */ 114 .vtype = VCAP_TYPE_IS2, /* IS2-1 */ 126 .vtype = VCAP_TYPE_ES0, 135 .vtype = VCAP_TYPE_ES2, 173 fname, sparx5_vcaps[admin->vtype].name); in sparx5_vcap_type_err() 213 switch (admin->vtype) { in _sparx5_vcap_range_init() [all...] |
H A D | sparx5_vcap_debugfs.c | 449 vcap = &vctrl->vcaps[admin->vtype]; in sparx5_port_info() 451 switch (admin->vtype) { in sparx5_port_info()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/cisco/enic/ |
H A D | vnic_devcmd.h | 64 #define _CMDCF(dir, flags, vtype, nr) \ 67 ((vtype) << _CMD_VTYPESHIFT) | \ 69 #define _CMDC(dir, vtype, nr) _CMDCF(dir, 0, vtype, nr) 70 #define _CMDCNW(dir, vtype, nr) _CMDCF(dir, _CMD_FLAGS_NOWAIT, vtype, nr)
|
/kernel/linux/linux-6.6/drivers/net/ethernet/cisco/enic/ |
H A D | vnic_devcmd.h | 51 #define _CMDCF(dir, flags, vtype, nr) \ 54 ((vtype) << _CMD_VTYPESHIFT) | \ 56 #define _CMDC(dir, vtype, nr) _CMDCF(dir, 0, vtype, nr) 57 #define _CMDCNW(dir, vtype, nr) _CMDCF(dir, _CMD_FLAGS_NOWAIT, vtype, nr)
|
/kernel/linux/linux-6.6/drivers/net/ethernet/microchip/vcap/ |
H A D | vcap_api.c | 372 enum vcap_type vt = admin->vtype; in vcap_addr_keysets() 451 int sw_width = ri->vctrl->vcaps[ri->admin->vtype].sw_width; in vcap_encode_keyfield() 503 int sw_width = vctrl->vcaps[ri->admin->vtype].sw_width; in vcap_encode_keyfield_typegroups() 644 kf_table = vcap_keyfields(ri->vctrl, ri->admin->vtype, ri->data.keyset); in vcap_encode_rule_keyset() 651 tg_table = vcap_keyfield_typegroup(ri->vctrl, ri->admin->vtype, in vcap_encode_rule_keyset() 659 keyset_size = vcap_keyfield_count(ri->vctrl, ri->admin->vtype, in vcap_encode_rule_keyset() 744 int act_width = ri->vctrl->vcaps[ri->admin->vtype].act_width; in vcap_encode_actionfield() 784 int sw_width = ri->vctrl->vcaps[ri->admin->vtype].act_width; in vcap_encode_actionfield_typegroups() 802 af_table = vcap_actionfields(ri->vctrl, ri->admin->vtype, in vcap_encode_rule_actionset() 810 tg_table = vcap_actionfield_typegroup(ri->vctrl, ri->admin->vtype, in vcap_encode_rule_actionset() 1841 vcap_find_keyset_keyfield(struct vcap_control *vctrl, enum vcap_type vtype, enum vcap_keyfield_set keyset, enum vcap_key_field key) vcap_find_keyset_keyfield() argument 1873 enum vcap_type vtype; _vcap_rule_find_keysets() local 1919 vcap_find_actionset_actionfield(struct vcap_control *vctrl, enum vcap_type vtype, enum vcap_actionfield_set actionset, enum vcap_action_field action) vcap_find_actionset_actionfield() argument 1951 enum vcap_type vtype; vcap_rule_find_actionsets() local 3532 vcap_select_min_rule_keyset(struct vcap_control *vctrl, enum vcap_type vtype, struct vcap_keyset_list *kslist) vcap_select_min_rule_keyset() argument [all...] |
H A D | vcap_api_debugfs.c | 173 err = vcap_find_keystream_keysets(ri->vctrl, admin->vtype, in vcap_debugfs_show_keysets() 204 keyfield = vcap_keyfields(vctrl, admin->vtype, ri->data.keyset); in vcap_debugfs_show_rule_keyset() 226 actionfield = vcap_actionfields(vctrl, admin->vtype, in vcap_debugfs_show_rule_actionset() 270 const struct vcap_info *vcap = &vctrl->vcaps[admin->vtype]; in vcap_show_admin_info() 281 out->prf(out->dst, "vtype: %d\n", admin->vtype); in vcap_show_admin_info() 320 enum vcap_type vt = admin->vtype; in vcap_show_admin_raw() 449 sprintf(name, "raw_%s_%d", vctrl->vcaps[admin->vtype].name, in vcap_debugfs() 458 sprintf(name, "%s_%d", vctrl->vcaps[admin->vtype].name, in vcap_debugfs()
|
H A D | vcap_api_kunit.c | 40 switch (admin->vtype) { in test_val_keyset() 65 __func__, __LINE__, admin->vtype); in test_val_keyset() 582 .vtype = VCAP_TYPE_IS2, in vcap_api_encode_keyfield_test() 642 .vtype = VCAP_TYPE_IS2, in vcap_api_encode_max_keyfield_test() 708 .vtype = VCAP_TYPE_ES2, /* act_width = 21 */ in vcap_api_encode_actionfield_test() 828 .vtype = VCAP_TYPE_IS2, in vcap_api_encode_rule_keyset_test() 939 .vtype = VCAP_TYPE_IS2, in vcap_api_encode_rule_actionset_test() 1010 .vtype = VCAP_TYPE_IS2, in vcap_api_rule_add_keyvalue_test() 1111 .vtype = VCAP_TYPE_IS2, in vcap_api_rule_add_actionvalue_test() 1188 .vtype in vcap_api_rule_find_keyset_basic_test() [all...] |
H A D | vcap_api_debugfs_kunit.c | 44 switch (admin->vtype) { in test_val_keyset() 72 __func__, __LINE__, admin->vtype); in test_val_keyset() 306 .vtype = VCAP_TYPE_IS2, in vcap_api_addr_keyset_test() 353 .vtype = VCAP_TYPE_IS2, in vcap_api_show_admin_raw_test() 390 "vtype: 4\n", 404 .vtype = VCAP_TYPE_IS2, in vcap_api_show_admin_test() 438 "vtype: 4\n", 495 .vtype = VCAP_TYPE_IS2, in vcap_api_show_admin_rule_test()
|
H A D | vcap_api.h | 168 enum vcap_type vtype; /* type of vcap */ member
|
/kernel/linux/linux-6.6/arch/riscv/include/uapi/asm/ |
H A D | ptrace.h | 103 unsigned long vtype; member 117 unsigned long vtype; member
|
/kernel/linux/linux-6.6/arch/riscv/kernel/ |
H A D | ptrace.c | 107 ptrace_vstate.vtype = vstate->vtype; in riscv_vr_get() 141 vstate->vtype = ptrace_vstate.vtype; in riscv_vr_set()
|
/kernel/linux/linux-6.6/arch/riscv/kvm/ |
H A D | vcpu_vector.c | 112 case KVM_REG_RISCV_VECTOR_CSR_REG(vtype): in kvm_riscv_vcpu_vreg_addr() 113 *reg_addr = &cntx->vector.vtype; in kvm_riscv_vcpu_vreg_addr()
|
/kernel/linux/linux-6.6/arch/riscv/include/asm/ |
H A D | vector.h | 74 : "=r" (dest->vstart), "=r" (dest->vtype), "=r" (dest->vl), in __vstate_csr_save() 87 : : "r" (src->vstart), "r" (src->vtype), "r" (src->vl), in __vstate_csr_restore()
|
/kernel/linux/linux-5.10/fs/ceph/ |
H A D | mdsmap.c | 74 #define __decode_and_drop_map(p, end, ktype, vtype, bad) \ 79 need = (sizeof(ktype) + sizeof(vtype)) * n; \
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
H A D | coda.h | 434 int vtype; member 563 int vtype; member
|
/kernel/linux/linux-5.10/include/linux/ceph/ |
H A D | decode.h | 174 #define ceph_decode_skip_map(p, end, ktype, vtype, bad) \ 181 ceph_decode_skip_##vtype(p, end, bad); \
|