Searched refs:vlan_info (Results 1 – 11 of 11) sorted by relevance
/kernel/linux/linux-5.10/net/8021q/ |
D | vlan_core.c | 78 struct vlan_info *vlan_info = rcu_dereference(dev->vlan_info); in __vlan_find_dev_deep_rcu() local 80 if (vlan_info) { in __vlan_find_dev_deep_rcu() 81 return vlan_group_get_device(&vlan_info->grp, in __vlan_find_dev_deep_rcu() 137 static void vlan_info_free(struct vlan_info *vlan_info) in vlan_info_free() argument 139 vlan_group_free(&vlan_info->grp); in vlan_info_free() 140 kfree(vlan_info); in vlan_info_free() 145 vlan_info_free(container_of(rcu, struct vlan_info, rcu)); in vlan_info_rcu_free() 148 static struct vlan_info *vlan_info_alloc(struct net_device *dev) in vlan_info_alloc() 150 struct vlan_info *vlan_info; in vlan_info_alloc() local 152 vlan_info = kzalloc(sizeof(struct vlan_info), GFP_KERNEL); in vlan_info_alloc() [all …]
|
D | vlan.h | 29 struct vlan_info { struct 93 struct vlan_info *vlan_info = rcu_dereference_rtnl(real_dev->vlan_info); in vlan_find_dev() local 95 if (vlan_info) in vlan_find_dev() 96 return vlan_group_get_device(&vlan_info->grp, in vlan_find_dev() 119 int vlan_filter_push_vids(struct vlan_info *vlan_info, __be16 proto); 120 void vlan_filter_drop_vids(struct vlan_info *vlan_info, __be16 proto);
|
D | vlan.c | 90 struct vlan_info *vlan_info; in unregister_vlan_dev() local 96 vlan_info = rtnl_dereference(real_dev->vlan_info); in unregister_vlan_dev() 97 BUG_ON(!vlan_info); in unregister_vlan_dev() 99 grp = &vlan_info->grp; in unregister_vlan_dev() 150 struct vlan_info *vlan_info; in register_vlan_dev() local 158 vlan_info = rtnl_dereference(real_dev->vlan_info); in register_vlan_dev() 160 BUG_ON(!vlan_info); in register_vlan_dev() 162 grp = &vlan_info->grp; in register_vlan_dev() 364 struct vlan_info *vlan_info; in vlan_device_event() local 389 vlan_info = rtnl_dereference(dev->vlan_info); in vlan_device_event() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/hns3vf/ |
D | hclgevf_mbx.c | 276 u16 *msg_q, *vlan_info; in hclgevf_mbx_async_handler() local 333 vlan_info = &msg_q[1]; in hclgevf_mbx_async_handler() 335 (u8 *)vlan_info, 8); in hclgevf_mbx_async_handler()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_mbx.c | 390 struct hclge_vlan_info *vlan_info; in hclge_set_vf_vlan_cfg() local 394 vlan_info = (struct hclge_vlan_info *) in hclge_set_vf_vlan_cfg() 397 vlan_info); in hclge_set_vf_vlan_cfg()
|
D | hclge_main.c | 3044 ivf->vlan = vport->port_base_vlan_cfg.vlan_info.vlan_tag; in hclge_get_vf_config() 3045 ivf->vlan_proto = htons(vport->port_base_vlan_cfg.vlan_info.vlan_proto); in hclge_get_vf_config() 3046 ivf->qos = vport->port_base_vlan_cfg.vlan_info.qos; in hclge_get_vf_config() 8799 vlan_tag = vport->port_base_vlan_cfg.vlan_info.vlan_tag; in hclge_init_vlan_config() 8922 vlan_proto = vport->port_base_vlan_cfg.vlan_info.vlan_proto; in hclge_restore_vport_vlan_table() 8923 vlan_id = vport->port_base_vlan_cfg.vlan_info.vlan_tag; in hclge_restore_vport_vlan_table() 9032 struct hclge_vlan_info *vlan_info) in hclge_update_port_base_vlan_cfg() argument 9039 old_vlan_info = &vport->port_base_vlan_cfg.vlan_info; in hclge_update_port_base_vlan_cfg() 9041 ret = hclge_vlan_offload_cfg(vport, state, vlan_info->vlan_tag); in hclge_update_port_base_vlan_cfg() 9048 htons(vlan_info->vlan_proto), in hclge_update_port_base_vlan_cfg() [all …]
|
D | hclge_main.h | 889 struct hclge_vlan_info vlan_info; member 1006 struct hclge_vlan_info *vlan_info);
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/ |
D | cq.c | 249 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()
|
/kernel/linux/linux-5.10/include/linux/mlx5/ |
D | device.h | 797 __be16 vlan_info; member
|
/kernel/linux/linux-5.10/include/linux/ |
D | netdevice.h | 2029 struct vlan_info __rcu *vlan_info; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_rx.c | 1077 be16_to_cpu(cqe->vlan_info)); in mlx5e_build_rx_skb()
|