Home
last modified time | relevance | path

Searched refs:vlan_proto (Results 1 – 25 of 116) sorted by relevance

12345

/openbmc/linux/include/linux/
H A Dif_vlan.h142 __be16 vlan_proto, u16 vlan_id);
186 __be16 vlan_proto; member
241 __be16 vlan_proto, u16 vlan_id) in __vlan_find_dev_deep_rcu() argument
349 __be16 vlan_proto, u16 vlan_tci, in __vlan_insert_inner_tag() argument
372 veth->h_vlan_proto = vlan_proto; in __vlan_insert_inner_tag()
398 __be16 vlan_proto, u16 vlan_tci) in __vlan_insert_tag() argument
419 __be16 vlan_proto, in vlan_insert_inner_tag() argument
466 __be16 vlan_proto, in vlan_insert_tag_set_proto() argument
471 skb->protocol = vlan_proto; in vlan_insert_tag_set_proto()
525 __be16 vlan_proto, u16 vlan_tci) in __vlan_hwaccel_put_tag() argument
[all …]
H A Dif_link.h31 __be16 vlan_proto; member
/openbmc/linux/net/8021q/
H A Dvlan.h68 __be16 vlan_proto, in vlan_group_get_device() argument
71 int pidx = vlan_proto_idx(vlan_proto); in vlan_group_get_device()
80 __be16 vlan_proto, u16 vlan_id, in vlan_group_set_device() argument
83 int pidx = vlan_proto_idx(vlan_proto); in vlan_group_set_device()
95 __be16 vlan_proto, u16 vlan_id) in vlan_find_dev() argument
101 vlan_proto, vlan_id); in vlan_find_dev()
H A Dvlan.c51 __be16 vlan_proto, u16 vlan_id) in vlan_group_prealloc_vid() argument
60 pidx = vlan_proto_idx(vlan_proto); in vlan_group_prealloc_vid()
111 vlan_group_set_device(grp, vlan->vlan_proto, vlan_id, NULL); in unregister_vlan_dev()
125 vlan_vid_del(real_dev, vlan->vlan_proto, vlan_id); in unregister_vlan_dev()
157 err = vlan_vid_add(real_dev, vlan->vlan_proto, vlan_id); in register_vlan_dev()
175 err = vlan_group_prealloc_vid(grp, vlan->vlan_proto, vlan_id); in register_vlan_dev()
193 vlan_group_set_device(grp, vlan->vlan_proto, vlan_id, dev); in register_vlan_dev()
207 vlan_vid_del(real_dev, vlan->vlan_proto, vlan_id); in register_vlan_dev()
270 vlan->vlan_proto = htons(ETH_P_8021Q); in register_vlan_device()
324 if (vlan_hw_offload_capable(dev->features, vlan->vlan_proto)) in vlan_transfer_features()
H A Dvlan_core.c13 __be16 vlan_proto = skb->vlan_proto; in vlan_do_receive() local
18 vlan_dev = vlan_find_dev(skb->dev, vlan_proto, vlan_id); in vlan_do_receive()
52 skb = *skbp = vlan_insert_inner_tag(skb, skb->vlan_proto, in vlan_do_receive()
77 __be16 vlan_proto, u16 vlan_id) in __vlan_find_dev_deep_rcu() argument
83 vlan_proto, vlan_id); in __vlan_find_dev_deep_rcu()
95 vlan_proto, vlan_id); in __vlan_find_dev_deep_rcu()
121 return vlan_dev_priv(dev)->vlan_proto; in vlan_dev_vlan_proto()
H A Dvlan_gvrp.c32 if (vlan->vlan_proto != htons(ETH_P_8021Q)) in vlan_gvrp_request_join()
43 if (vlan->vlan_proto != htons(ETH_P_8021Q)) in vlan_gvrp_request_leave()
H A Dvlan_mvrp.c38 if (vlan->vlan_proto != htons(ETH_P_8021Q)) in vlan_mvrp_request_join()
49 if (vlan->vlan_proto != htons(ETH_P_8021Q)) in vlan_mvrp_request_leave()
H A Dvlan_netlink.c171 vlan->vlan_proto = proto; in vlan_newlink()
177 err = vlan_check_real_dev(real_dev, vlan->vlan_proto, vlan->vlan_id, in vlan_newlink()
231 if (nla_put_be16(skb, IFLA_VLAN_PROTOCOL, vlan->vlan_proto) || in vlan_fill_info()
/openbmc/linux/include/trace/events/
H A Dnet.h25 __field( u16, vlan_proto )
45 __entry->vlan_proto = ntohs(skb->vlan_proto);
64 __entry->vlan_tagged, __entry->vlan_proto, __entry->vlan_tci,
177 __field( u16, vlan_proto )
203 __entry->vlan_proto = ntohs(skb->vlan_proto);
221 __entry->skbaddr, __entry->vlan_tagged, __entry->vlan_proto,
/openbmc/linux/net/sched/
H A Dsch_frag.c15 __be16 vlan_proto; member
36 __vlan_hwaccel_put_tag(skb, data->vlan_proto, in sch_frag_xmit()
65 data->vlan_proto = skb->vlan_proto; in sch_frag_prepare_frag()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A Dbridge.c108 if (vlan_proto == ETH_P_8021Q) in mlx5_esw_bridge_ingress_vlan_proto_fg_create()
110 else if (vlan_proto == ETH_P_8021AD) in mlx5_esw_bridge_ingress_vlan_proto_fg_create()
125 vlan_proto, PTR_ERR(fg)); in mlx5_esw_bridge_ingress_vlan_proto_fg_create()
170 if (vlan_proto == ETH_P_8021Q) in mlx5_esw_bridge_ingress_vlan_proto_filter_fg_create()
172 else if (vlan_proto == ETH_P_8021AD) in mlx5_esw_bridge_ingress_vlan_proto_filter_fg_create()
265 if (vlan_proto == ETH_P_8021Q) in mlx5_esw_bridge_egress_vlan_proto_fg_create()
267 else if (vlan_proto == ETH_P_8021AD) in mlx5_esw_bridge_egress_vlan_proto_fg_create()
717 if (bridge->vlan_proto == ETH_P_8021Q) { in mlx5_esw_bridge_ingress_filter_flow_create()
864 bridge->vlan_proto = ETH_P_8021Q; in mlx5_esw_bridge_create()
1497 if (bridge->vlan_proto == proto) in mlx5_esw_bridge_vlan_proto_set()
[all …]
H A Dbridge_mcast.c94 if (bridge->vlan_proto == ETH_P_8021Q) { in mlx5_esw_bridge_mdb_flow_create()
99 } else if (bridge->vlan_proto == ETH_P_8021AD) { in mlx5_esw_bridge_mdb_flow_create()
382 if (vlan_proto == ETH_P_8021Q) in mlx5_esw_bridge_mcast_vlan_proto_fg_create()
384 else if (vlan_proto == ETH_P_8021AD) in mlx5_esw_bridge_mcast_vlan_proto_fg_create()
396 vlan_proto, fg); in mlx5_esw_bridge_mcast_vlan_proto_fg_create()
572 mlx5_esw_bridge_mcast_vlan_flow_create(u16 vlan_proto, struct mlx5_esw_bridge_port *port, in mlx5_esw_bridge_mcast_vlan_flow_create() argument
597 if (vlan_proto == ETH_P_8021Q) { in mlx5_esw_bridge_mcast_vlan_flow_create()
602 } else if (vlan_proto == ETH_P_8021AD) { in mlx5_esw_bridge_mcast_vlan_flow_create()
621 int mlx5_esw_bridge_vlan_mcast_init(u16 vlan_proto, struct mlx5_esw_bridge_port *port, in mlx5_esw_bridge_vlan_mcast_init() argument
629 handle = mlx5_esw_bridge_mcast_vlan_flow_create(vlan_proto, port, vlan); in mlx5_esw_bridge_vlan_mcast_init()
[all …]
H A Dbridge_priv.h220 u16 vlan_proto; member
229 int mlx5_esw_bridge_vlan_mcast_init(u16 vlan_proto, struct mlx5_esw_bridge_port *port,
/openbmc/linux/net/bridge/
H A Dbr_arp_nd_proxy.c48 __be16 vlan_proto, u16 vlan_tci) in br_arp_send() argument
77 __vlan_hwaccel_put_tag(skb, vlan_proto, vlan_tci); in br_arp_send()
176 vlandev = __vlan_find_dev_deep_rcu(br->dev, skb->vlan_proto, in br_do_proxy_suppress_arp()
213 skb->vlan_proto, in br_do_proxy_suppress_arp()
251 __be16 vlan_proto, u16 vlan_tci, struct nd_msg *ns) in br_nd_send() argument
354 __vlan_hwaccel_put_tag(reply, vlan_proto, vlan_tci); in br_nd_send()
435 vlandev = __vlan_find_dev_deep_rcu(br->dev, skb->vlan_proto, in br_do_suppress_nd()
467 skb->vlan_proto, in br_do_suppress_nd()
H A Dbr_netfilter_hooks.c80 static inline __be16 vlan_proto(const struct sk_buff *skb) in vlan_proto() function
94 return vlan_proto(skb) == htons(ETH_P_IP) && brnet->filter_vlan_tagged; in is_vlan_ip()
102 return vlan_proto(skb) == htons(ETH_P_IPV6) && in is_vlan_ipv6()
110 return vlan_proto(skb) == htons(ETH_P_ARP) && brnet->filter_vlan_tagged; in is_vlan_arp()
145 __be16 vlan_proto; member
462 vlan = __vlan_find_dev_deep_rcu(br, skb->vlan_proto, in brnf_get_logical_dev()
814 if (data->vlan_proto) in br_nf_push_frag_xmit()
815 __vlan_hwaccel_put_tag(skb, data->vlan_proto, data->vlan_tci); in br_nf_push_frag_xmit()
895 data->vlan_proto = skb->vlan_proto; in br_nf_dev_queue_xmit()
897 data->vlan_proto = 0; in br_nf_dev_queue_xmit()
H A Dbr_vlan.c154 vlan_vid_del(dev, br->vlan_proto, v->vid); in __vlan_vid_del()
550 skb->protocol == br->vlan_proto)) { in __allowed_ingress()
558 if (skb->vlan_proto != br->vlan_proto) { in __allowed_ingress()
693 if (!br_vlan_get_tag(skb, vid) && skb->vlan_proto != br->vlan_proto) in br_should_learn()
878 br->vlan_proto == htons(ETH_P_8021Q)) in br_recalculate_fwd_mask()
930 *p_proto = ntohs(br->vlan_proto); in br_vlan_get_proto()
949 __be16 oldproto = br->vlan_proto; in __br_vlan_set_proto()
951 if (br->vlan_proto == proto) in __br_vlan_set_proto()
970 br->vlan_proto = proto; in __br_vlan_set_proto()
1233 br->vlan_proto = htons(ETH_P_8021Q); in br_vlan_init()
[all …]
/openbmc/linux/drivers/net/ethernet/netronome/nfp/
H A Dnfp_net_sriov.c97 __be16 vlan_proto) in nfp_app_set_vf_vlan() argument
110 if (!eth_type_vlan(vlan_proto)) in nfp_app_set_vf_vlan()
124 if (vlan_proto != htons(ETH_P_8021Q)) { in nfp_app_set_vf_vlan()
139 vlan_tag |= FIELD_PREP(NFP_NET_VF_CFG_VLAN_PROT, ntohs(vlan_proto)); in nfp_app_set_vf_vlan()
291 ivi->vlan_proto = htons(FIELD_GET(NFP_NET_VF_CFG_VLAN_PROT, vlan_tag)); in nfp_app_get_vf_config()
H A Dnfp_net_sriov.h61 __be16 vlan_proto);
/openbmc/linux/drivers/net/ethernet/sfc/
H A Dsriov.c22 u8 qos, __be16 vlan_proto) in efx_sriov_set_vf_vlan() argument
31 if (vlan_proto != htons(ETH_P_8021Q)) in efx_sriov_set_vf_vlan()
H A Dsriov.h16 u8 qos, __be16 vlan_proto);
H A Dtc.h74 __be16 vlan_proto[2]; member
93 __be16 vlan_tci[2], vlan_proto[2]; member
/openbmc/linux/drivers/net/ethernet/sfc/siena/
H A Dsriov.h27 u8 qos, __be16 vlan_proto) in efx_sriov_set_vf_vlan() argument
36 if (vlan_proto != htons(ETH_P_8021Q)) in efx_sriov_set_vf_vlan()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/
H A Dvlan.c62 attr->vlan_proto[vlan_idx] = act->vlan.proto; in parse_tc_vlan_action()
63 if (!attr->vlan_proto[vlan_idx]) in parse_tc_vlan_action()
64 attr->vlan_proto[vlan_idx] = htons(ETH_P_8021Q); in parse_tc_vlan_action()
/openbmc/linux/drivers/net/netdevsim/
H A Dnetdev.c96 u16 vlan, u8 qos, __be16 vlan_proto) in nsim_set_vf_vlan() argument
106 nsim_dev->vfconfigs[vf].vlan_proto = vlan_proto; in nsim_set_vf_vlan()
180 ivi->vlan_proto = nsim_dev->vfconfigs[vf].vlan_proto; in nsim_get_vf_config()
/openbmc/linux/net/bridge/netfilter/
H A Dnf_conntrack_bridge.c330 data->vlan_proto = skb->vlan_proto; in nf_ct_bridge_frag_save()
376 __vlan_hwaccel_put_tag(skb, data->vlan_proto, data->vlan_tci); in nf_ct_bridge_frag_restore()

12345