/linux-master/drivers/net/ethernet/intel/ice/ |
H A D | ice_vlan.h | 11 u16 tpid; member in struct:ice_vlan 16 #define ICE_VLAN(tpid, vid, prio) ((struct ice_vlan){ tpid, vid, prio })
|
H A D | ice_vsi_vlan_lib.h | 21 int ice_vsi_ena_inner_stripping(struct ice_vsi *vsi, u16 tpid); 23 int ice_vsi_ena_inner_insertion(struct ice_vsi *vsi, u16 tpid); 33 int ice_vsi_ena_outer_stripping(struct ice_vsi *vsi, u16 tpid); 35 int ice_vsi_ena_outer_insertion(struct ice_vsi *vsi, u16 tpid);
|
H A D | ice_vsi_vlan_ops.h | 15 int (*ena_stripping)(struct ice_vsi *vsi, const u16 tpid); 17 int (*ena_insertion)(struct ice_vsi *vsi, const u16 tpid);
|
H A D | ice_vsi_vlan_lib.c | 9 static void print_invalid_tpid(struct ice_vsi *vsi, u16 tpid) argument 11 dev_err(ice_pf_to_dev(vsi->back), "%s %d specified invalid VLAN tpid 0x%04x\n", 12 ice_vsi_type_str(vsi->type), vsi->idx, tpid); local 26 if (vlan->tpid != ETH_P_8021Q && vlan->tpid != ETH_P_8021AD && 27 vlan->tpid != ETH_P_QINQ1 && (vlan->tpid || vlan->vid)) { 28 print_invalid_tpid(vsi, vlan->tpid); 182 int ice_vsi_ena_inner_stripping(struct ice_vsi *vsi, const u16 tpid) argument 184 if (tpid ! 197 ice_vsi_ena_inner_insertion(struct ice_vsi *vsi, const u16 tpid) argument 426 tpid_to_vsi_outer_vlan_type(u16 tpid, u8 *tag_type) argument 465 ice_vsi_ena_outer_stripping(struct ice_vsi *vsi, u16 tpid) argument 574 ice_vsi_ena_outer_insertion(struct ice_vsi *vsi, u16 tpid) argument 687 __ice_vsi_set_outer_port_vlan(struct ice_vsi *vsi, u16 vlan_info, u16 tpid) argument [all...] |
H A D | ice_vsi_vlan_ops.c | 18 u16 __always_unused tpid) 17 op_unsupported_tpid_arg(struct ice_vsi *__always_unused vsi, u16 __always_unused tpid) argument
|
H A D | ice_fltr.c | 261 info.l_data.vlan.tpid = vlan->tpid;
|
H A D | ice_vf_lib.h | 161 return vf->port_vlan_info.tpid;
|
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | test_skb_helpers.c | 22 __u32 tpid; local 25 bpf_probe_read_kernel(&tpid , sizeof(tpid), &task->tgid);
|
H A D | test_skmsg_load_helpers.c | 31 __u32 pid, tpid; local 39 bpf_probe_read_kernel(&tpid , sizeof(tpid), &task->tgid); 40 if (pid != tpid)
|
H A D | profiler.inc.h | 356 get_var_kill_data(struct pt_regs* ctx, int spid, int tpid, int sig) argument 371 kill_data->kill_target_pid = tpid; 378 static INLINE int trace_var_sys_kill(void* ctx, int tpid, int sig) argument 384 struct var_kill_data_arr_t* arr_struct = bpf_map_lookup_elem(&var_tpid_to_data, &tpid); 387 struct var_kill_data_t* kill_data = get_var_kill_data(ctx, spid, tpid, sig); 402 get_var_kill_data(ctx, spid, tpid, sig); 413 bpf_map_update_elem(&var_tpid_to_data, &tpid, 434 get_var_kill_data(ctx, spid, tpid, sig); 442 bpf_map_update_elem(&var_tpid_to_data, &tpid, arr_struct, 0); 621 u32 tpid local [all...] |
/linux-master/net/dsa/ |
H A D | tag_8021q.h | 14 u16 tpid, u16 tci);
|
H A D | tag_sja1105.c | 464 u16 tpid = ntohs(eth_hdr(skb)->h_proto); local 466 return tpid == ETH_P_SJA1105 || tpid == ETH_P_8021Q ||
|
H A D | tag_8021q.c | 462 u16 tpid, u16 tci) 467 return vlan_insert_tag(skb, htons(tpid), tci); 461 dsa_8021q_xmit(struct sk_buff *skb, struct net_device *netdev, u16 tpid, u16 tci) argument
|
/linux-master/drivers/net/ethernet/microchip/vcap/ |
H A D | vcap_tc.h | 16 u16 tpid; member in struct:vcap_tc_flower_parse_usage
|
H A D | vcap_tc.c | 176 u16 tpid; local 181 tpid = be16_to_cpu(mt.key->vlan_tpid); 183 if (tpid == ETH_P_8021Q) { 239 st->tpid = be16_to_cpu(mt.key->vlan_tpid);
|
/linux-master/kernel/trace/ |
H A D | trace_sched_switch.c | 245 unsigned tpid, idx; local 251 tpid = tsk->pid & (PID_MAX_DEFAULT - 1); 266 idx = savedcmd->map_pid_to_cmdline[tpid]; 270 savedcmd->map_pid_to_cmdline[tpid] = idx; 285 int tpid; local 297 tpid = pid & (PID_MAX_DEFAULT - 1); 298 map = savedcmd->map_pid_to_cmdline[tpid]; 300 tpid = savedcmd->map_cmdline_to_pid[map]; 301 if (tpid == pid) {
|
/linux-master/drivers/net/ethernet/netronome/nfp/ |
H A D | nfp_net_dp.c | 447 u16 tpid = 0, tci = 0; local 450 tpid = ETH_P_8021Q; 453 if (meta->vlan.tpid == NFP_NET_VLAN_CTAG) 454 tpid = ETH_P_8021Q; 455 else if (meta->vlan.tpid == NFP_NET_VLAN_STAG) 456 tpid = ETH_P_8021AD; 462 if (tpid) 463 __vlan_hwaccel_put_tag(skb, htons(tpid), tci);
|
/linux-master/drivers/net/ethernet/intel/iavf/ |
H A D | iavf_virtchnl.c | 761 vlan->tpid = f->vlan.tpid; 908 vlan->tpid = f->vlan.tpid; 1207 * @tpid: VLAN TPID (i.e. 0x8100, 0x88a8, etc.) 1209 static u32 iavf_tpid_to_vc_ethertype(u16 tpid) argument 1211 switch (tpid) { 1225 * @tpid: VLAN TPID (i.e. 0x8100, 0x88a8, etc.) 1230 struct virtchnl_vlan_setting *msg, u16 tpid, 1234 u16 vc_ethertype = iavf_tpid_to_vc_ethertype(tpid); 1229 iavf_set_vc_offload_ethertype(struct iavf_adapter *adapter, struct virtchnl_vlan_setting *msg, u16 tpid, enum virtchnl_ops offload_op) argument 1277 iavf_clear_offload_v2_aq_required(struct iavf_adapter *adapter, u16 tpid, enum virtchnl_ops offload_op) argument 1326 iavf_send_vlan_offload_v2(struct iavf_adapter *adapter, u16 tpid, enum virtchnl_ops offload_op) argument 1364 iavf_enable_vlan_stripping_v2(struct iavf_adapter *adapter, u16 tpid) argument 1375 iavf_disable_vlan_stripping_v2(struct iavf_adapter *adapter, u16 tpid) argument 1386 iavf_enable_vlan_insertion_v2(struct iavf_adapter *adapter, u16 tpid) argument 1397 iavf_disable_vlan_insertion_v2(struct iavf_adapter *adapter, u16 tpid) argument [all...] |
H A D | iavf.h | 151 #define IAVF_VLAN(vid, tpid) ((struct iavf_vlan){ vid, tpid }) 154 u16 tpid; member in struct:iavf_vlan 558 void iavf_enable_vlan_stripping_v2(struct iavf_adapter *adapter, u16 tpid); 559 void iavf_disable_vlan_stripping_v2(struct iavf_adapter *adapter, u16 tpid); 560 void iavf_enable_vlan_insertion_v2(struct iavf_adapter *adapter, u16 tpid); 561 void iavf_disable_vlan_insertion_v2(struct iavf_adapter *adapter, u16 tpid);
|
/linux-master/tools/thermal/tmon/ |
H A D | sysfs.c | 122 static int get_trip_point_data(char *tz_path, int tzid, int tpid) argument 128 if (tpid >= MAX_NR_TRIP) 131 snprintf(filename, sizeof(filename), "trip_point_%d_type", tpid); 138 ptdata.tzi[tzid].tp[tpid].type = trip_type; 140 tpid, temp_str, trip_type);
|
/linux-master/drivers/net/ethernet/microchip/sparx5/ |
H A D | sparx5_tc_flower.c | 65 switch (st->tpid) { 238 if (st->admin->vtype == VCAP_TYPE_ES0 && st->tpid) 882 u16 tpid) 895 switch (tpid) { 914 u16 tpid) 932 switch (tpid) { 984 u16 tpid) 998 if (tpid == ETH_P_8021AD) { 1259 state.tpid); 1265 act, state.tpid); 879 sparx5_tc_action_vlan_pop(struct vcap_admin *admin, struct vcap_rule *vrule, struct flow_cls_offload *fco, u16 tpid) argument 910 sparx5_tc_action_vlan_modify(struct vcap_admin *admin, struct vcap_rule *vrule, struct flow_cls_offload *fco, struct flow_action_entry *act, u16 tpid) argument 980 sparx5_tc_action_vlan_push(struct vcap_admin *admin, struct vcap_rule *vrule, struct flow_cls_offload *fco, struct flow_action_entry *act, u16 tpid) argument [all...] |
/linux-master/drivers/net/ethernet/mscc/ |
H A D | ocelot_flower.c | 205 enum ocelot_tag_tpid_sel tpid; local 209 tpid = OCELOT_TAG_TPID_SEL_8021Q; 212 tpid = OCELOT_TAG_TPID_SEL_8021AD; 220 filter->action.tag_a_tpid_sel = tpid; 239 enum ocelot_tag_tpid_sel tpid; local 470 tpid = OCELOT_TAG_TPID_SEL_8021Q; 473 tpid = OCELOT_TAG_TPID_SEL_8021AD; 480 filter->action.tag_a_tpid_sel = tpid;
|
/linux-master/net/openvswitch/ |
H A D | flow.c | 455 if (likely(!eth_type_vlan(vh->tpid))) 467 key_vh->tpid = vh->tpid; 479 __vlan_hwaccel_put_tag(skb, key_vh->tpid, tci); 489 key->eth.vlan.tpid = 0; 491 key->eth.cvlan.tpid = 0; 500 key->eth.vlan.tpid = skb->vlan_proto; 954 skb->protocol = key->eth.cvlan.tpid;
|
H A D | flow.h | 62 __be16 tpid; /* Vlan type. Generally 802.1q or 802.1ad.*/ member in struct:vlan_head
|
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
H A D | nv50.c | 282 nv50_gr_mp_trap(struct nv50_gr *gr, int tpid, int display) argument 295 addr = 0x408200 + (tpid << 12) + (i << 7); 297 addr = 0x408100 + (tpid << 11) + (i << 7); 312 tpid, i, status, msg, pc & 0xffffff, 321 "No MPs claiming errors?\n", tpid);
|