/linux/net/dsa/ |
H A D | tag_sja1105.c | 98 u64 source_port; member 120 packing(buf + 6, &meta->source_port, 7, 0, 1, UNPACK, 0); in sja1105_meta_unpack() 478 int source_port = -1, switch_id = -1, vbid = -1, vid = -1; in sja1105_rcv() local 493 source_port = hdr->h_dest[3]; in sja1105_rcv() 497 source_port = meta.source_port; in sja1105_rcv() 505 dsa_8021q_rcv(skb, &source_port, &switch_id, &vbid, &vid); in sja1105_rcv() 506 else if (source_port == -1 && switch_id == -1) in sja1105_rcv() 512 skb->dev = dsa_tag_8021q_find_user(netdev, source_port, switch_id, in sja1105_rcv() 550 u8 ts_id, source_port, dir; in sja1110_rcv_meta() local 554 source_port = (buf[1] & GENMASK(7, 4)) >> 4; in sja1110_rcv_meta() [all …]
|
H A D | tag_xrs700x.c | 32 int source_port; in xrs700x_rcv() local 37 source_port = ffs((int)trailer[0]) - 1; in xrs700x_rcv() 39 if (source_port < 0) in xrs700x_rcv() 42 skb->dev = dsa_conduit_find_user(dev, 0, source_port); in xrs700x_rcv()
|
H A D | tag_brcm.c | 146 int source_port; in brcm_tag_rcv_ll() local 165 source_port = brcm_tag[3] & BRCM_EG_PID_MASK; in brcm_tag_rcv_ll() 167 skb->dev = dsa_conduit_find_user(dev, 0, source_port); in brcm_tag_rcv_ll() 257 int source_port; in brcm_leg_tag_rcv() local 265 source_port = brcm_tag[5] & BRCM_LEG_PORT_ID; in brcm_leg_tag_rcv() 267 skb->dev = dsa_conduit_find_user(dev, 0, source_port); in brcm_leg_tag_rcv()
|
H A D | tag_trailer.c | 32 int source_port; in trailer_rcv() local 42 source_port = trailer[1] & 7; in trailer_rcv() 44 skb->dev = dsa_conduit_find_user(dev, 0, source_port); in trailer_rcv()
|
H A D | tag_lan9303.c | 83 unsigned int source_port; in lan9303_rcv() local 100 source_port = lan9303_tag1 & 0x3; in lan9303_rcv() 102 skb->dev = dsa_conduit_find_user(dev, 0, source_port); in lan9303_rcv()
|
H A D | tag_8021q.h | 16 void dsa_8021q_rcv(struct sk_buff *skb, int *source_port, int *switch_id, 20 int source_port, int switch_id,
|
H A D | tag_dsa.c | 205 int source_device, source_port; in dsa_rcv_ll() local 257 source_port = (dsa_header[1] >> 3) & 0x1f; in dsa_rcv_ll() 267 lag = dsa_lag_by_id(cpu_dp->dst, source_port + 1); in dsa_rcv_ll() 271 source_port); in dsa_rcv_ll()
|
H A D | tag_8021q.c | 503 int source_port, int switch_id, in dsa_tag_8021q_find_user() argument 507 if (source_port != -1 && switch_id != -1) in dsa_tag_8021q_find_user() 508 return dsa_conduit_find_user(conduit, switch_id, source_port); in dsa_tag_8021q_find_user() 532 void dsa_8021q_rcv(struct sk_buff *skb, int *source_port, int *switch_id, in dsa_8021q_rcv() argument 577 if (tmp_vbid == 0 && *source_port == -1) in dsa_8021q_rcv() 578 *source_port = tmp_source_port; in dsa_8021q_rcv()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
H A D | legacy.c | 148 MLX5_SET_TO_ONES(fte_match_param, match_criteria, misc_parameters.source_port); in esw_create_legacy_fdb_table() 271 MLX5_SET(fte_match_set_misc, misc, source_port, MLX5_VPORT_UPLINK); in _mlx5_eswitch_set_vepa_locked() 274 MLX5_SET_TO_ONES(fte_match_set_misc, misc, source_port); in _mlx5_eswitch_set_vepa_locked()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | eswitch_offloads_termtbl.c | 207 misc_parameters.source_port); in mlx5_eswitch_offload_is_uplink_port() 209 misc_parameters.source_port); in mlx5_eswitch_offload_is_uplink_port()
|
H A D | eswitch_offloads.c | 160 MLX5_SET(fte_match_set_misc, misc, source_port, vport); in mlx5_eswitch_set_rule_source_port() 168 MLX5_SET_TO_ONES(fte_match_set_misc, misc, source_port); in mlx5_eswitch_set_rule_source_port() 980 MLX5_SET(fte_match_set_misc, misc, source_port, vport); in mlx5_eswitch_add_send_to_vport_rule() 987 MLX5_SET_TO_ONES(fte_match_set_misc, misc, source_port); in mlx5_eswitch_add_send_to_vport_rule() 1153 MLX5_SET_TO_ONES(fte_match_set_misc, misc, source_port); in peer_miss_rules_setup() 1180 MLX5_SET(fte_match_set_misc, misc, source_port, vport); in esw_set_peer_miss_rule_source_port() 1234 MLX5_SET(fte_match_set_misc, misc, source_port, MLX5_VPORT_ECPF); in esw_add_fdb_peer_miss_rules() 1488 misc_parameters.source_port); in mlx5_esw_set_flow_group_source_port() 2130 MLX5_SET(fte_match_set_misc, misc, source_port, vport); in mlx5_esw_set_spec_source_port() 2133 MLX5_SET_TO_ONES(fte_match_set_misc, misc, source_port); in mlx5_esw_set_spec_source_port() [all …]
|
H A D | eswitch.c | 243 MLX5_SET(fte_match_set_misc, mv_misc, source_port, MLX5_VPORT_UPLINK); in __esw_fdb_set_vport_rule() 244 MLX5_SET_TO_ONES(fte_match_set_misc, mc_misc, source_port); in __esw_fdb_set_vport_rule()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/diag/ |
H A D | fs_tracepoint.c | 172 PRINT_MASKED_VAL_MISC(u16, source_port, source_port, p, "%u"); in print_misc_parameters_hdrs()
|
/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_protocol_type.h | 420 __be16 source_port; member
|
/linux/include/net/ |
H A D | amt.h | 247 __be16 source_port; member
|
/linux/net/sctp/ |
H A D | output.c | 151 packet->source_port = sport; in sctp_packet_init() 608 sh->source = htons(packet->source_port); in sctp_packet_transmit()
|
/linux/drivers/net/ |
H A D | amt.c | 598 &tunnel->ip4, ntohs(tunnel->source_port), in __amt_update_relay_status() 1104 tunnel->source_port, in amt_send_multicast_data() 1162 tunnel->source_port, in amt_send_membership_query() 2697 tunnel->source_port = udph->source; in amt_request_handler() 2719 (__force u32)tunnel->source_port, in amt_request_handler()
|
/linux/include/net/sctp/ |
H A D | structs.h | 705 __u16 source_port; member
|
/linux/drivers/infiniband/hw/mlx5/ |
H A D | fs.c | 1028 MLX5_SET(fte_match_set_misc, misc, source_port, rep->vport); in mlx5_ib_set_rule_source_port() 1033 MLX5_SET_TO_ONES(fte_match_set_misc, misc, source_port); in mlx5_ib_set_rule_source_port()
|