Home
last modified time | relevance | path

Searched refs:vlan_info (Results 1 – 14 of 14) sorted by relevance

/linux-6.1.9/net/8021q/
Dvlan_core.c79 struct vlan_info *vlan_info = rcu_dereference(dev->vlan_info); in __vlan_find_dev_deep_rcu() local
81 if (vlan_info) { in __vlan_find_dev_deep_rcu()
82 return vlan_group_get_device(&vlan_info->grp, in __vlan_find_dev_deep_rcu()
138 static void vlan_info_free(struct vlan_info *vlan_info) in vlan_info_free() argument
140 vlan_group_free(&vlan_info->grp); in vlan_info_free()
141 kfree(vlan_info); in vlan_info_free()
146 vlan_info_free(container_of(rcu, struct vlan_info, rcu)); in vlan_info_rcu_free()
149 static struct vlan_info *vlan_info_alloc(struct net_device *dev) in vlan_info_alloc()
151 struct vlan_info *vlan_info; in vlan_info_alloc() local
153 vlan_info = kzalloc(sizeof(struct vlan_info), GFP_KERNEL); in vlan_info_alloc()
[all …]
Dvlan.c93 struct vlan_info *vlan_info; in unregister_vlan_dev() local
99 vlan_info = rtnl_dereference(real_dev->vlan_info); in unregister_vlan_dev()
100 BUG_ON(!vlan_info); in unregister_vlan_dev()
102 grp = &vlan_info->grp; in unregister_vlan_dev()
153 struct vlan_info *vlan_info; in register_vlan_dev() local
161 vlan_info = rtnl_dereference(real_dev->vlan_info); in register_vlan_dev()
163 BUG_ON(!vlan_info); in register_vlan_dev()
165 grp = &vlan_info->grp; in register_vlan_dev()
366 struct vlan_info *vlan_info; in vlan_device_event() local
391 vlan_info = rtnl_dereference(dev->vlan_info); in vlan_device_event()
[all …]
Dvlan.h29 struct vlan_info { struct
97 struct vlan_info *vlan_info = rcu_dereference_rtnl(real_dev->vlan_info); in vlan_find_dev() local
99 if (vlan_info) in vlan_find_dev()
100 return vlan_group_get_device(&vlan_info->grp, in vlan_find_dev()
124 int vlan_filter_push_vids(struct vlan_info *vlan_info, __be16 proto);
125 void vlan_filter_drop_vids(struct vlan_info *vlan_info, __be16 proto);
/linux-6.1.9/drivers/net/ethernet/hisilicon/hns3/hns3vf/
Dhclgevf_mbx.c294 struct hclge_mbx_port_base_vlan *vlan_info; in hclgevf_mbx_async_handler() local
361 vlan_info = in hclgevf_mbx_async_handler()
363 state = le16_to_cpu(vlan_info->state); in hclgevf_mbx_async_handler()
365 vlan_info); in hclgevf_mbx_async_handler()
/linux-6.1.9/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_mbx.c422 struct hclge_vlan_info *vlan_info) in hclge_push_vf_port_base_vlan_info() argument
427 base_vlan.vlan_proto = cpu_to_le16(vlan_info->vlan_proto); in hclge_push_vf_port_base_vlan_info()
428 base_vlan.qos = cpu_to_le16(vlan_info->qos); in hclge_push_vf_port_base_vlan_info()
429 base_vlan.vlan_tag = cpu_to_le16(vlan_info->vlan_tag); in hclge_push_vf_port_base_vlan_info()
686 &vlan_cfg->vlan_info); in hclge_notify_vf_config()
Dhclge_main.h1016 struct hclge_vlan_info vlan_info; member
1137 struct hclge_vlan_info *vlan_info);
1140 struct hclge_vlan_info *vlan_info);
Dhclge_main.c3559 ivf->vlan = vport->port_base_vlan_cfg.vlan_info.vlan_tag; in hclge_get_vf_config()
3560 ivf->vlan_proto = htons(vport->port_base_vlan_cfg.vlan_info.vlan_proto); in hclge_get_vf_config()
3561 ivf->qos = vport->port_base_vlan_cfg.vlan_info.qos; in hclge_get_vf_config()
10017 cfg->vlan_info.vlan_tag, in hclge_init_vport_vlan_offload()
10018 cfg->vlan_info.qos); in hclge_init_vport_vlan_offload()
10175 struct hclge_vlan_info *vlan_info; in hclge_restore_vport_port_base_vlan_config() local
10186 vlan_info = vport->port_base_vlan_cfg.tbl_sta ? in hclge_restore_vport_port_base_vlan_config()
10187 &vport->port_base_vlan_cfg.vlan_info : in hclge_restore_vport_port_base_vlan_config()
10190 vlan_id = vlan_info->vlan_tag; in hclge_restore_vport_port_base_vlan_config()
10191 vlan_proto = vlan_info->vlan_proto; in hclge_restore_vport_port_base_vlan_config()
[all …]
/linux-6.1.9/drivers/net/ethernet/netronome/nfp/nfd3/
Ddp.c722 u32 meta_info, vlan_info; in nfp_nfd3_parse_meta() local
741 vlan_info = get_unaligned_be32(data); in nfp_nfd3_parse_meta()
742 if (FIELD_GET(NFP_NET_META_VLAN_STRIP, vlan_info)) { in nfp_nfd3_parse_meta()
745 vlan_info); in nfp_nfd3_parse_meta()
747 vlan_info); in nfp_nfd3_parse_meta()
/linux-6.1.9/drivers/net/ethernet/netronome/nfp/nfdk/
Ddp.c718 u32 meta_info, vlan_info; in nfp_nfdk_parse_meta() local
737 vlan_info = get_unaligned_be32(data); in nfp_nfdk_parse_meta()
738 if (FIELD_GET(NFP_NET_META_VLAN_STRIP, vlan_info)) { in nfp_nfdk_parse_meta()
741 vlan_info); in nfp_nfdk_parse_meta()
743 vlan_info); in nfp_nfdk_parse_meta()
/linux-6.1.9/drivers/net/ethernet/intel/ice/
Dice_vsi_vlan_lib.c636 __ice_vsi_set_outer_port_vlan(struct ice_vsi *vsi, u16 vlan_info, u16 tpid) in __ice_vsi_set_outer_port_vlan() argument
654 ctxt->info.port_based_outer_vlan = cpu_to_le16(vlan_info); in __ice_vsi_set_outer_port_vlan()
/linux-6.1.9/drivers/infiniband/hw/mlx5/
Dcq.c249 wc->vlan_id = (be16_to_cpu(cqe->vlan_info)) & 0xfff; in handle_responder()
250 wc->sl = (be16_to_cpu(cqe->vlan_info) >> 13) & 0x7; in handle_responder()
/linux-6.1.9/include/linux/mlx5/
Ddevice.h819 __be16 vlan_info; member
/linux-6.1.9/include/linux/
Dnetdevice.h2152 struct vlan_info __rcu *vlan_info; member
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Den_rx.c1445 be16_to_cpu(cqe->vlan_info)); in mlx5e_build_rx_skb()