Home
last modified time | relevance | path

Searched refs:vlan_cfg (Results 1 – 5 of 5) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_debugfs.c2074 struct hclge_dbg_vlan_cfg *vlan_cfg) in hclge_get_vlan_rx_offload_cfg() argument
2098 vlan_cfg->strip_tag1 = hnae3_get_bit(rx_cfg, HCLGE_REM_TAG1_EN_B); in hclge_get_vlan_rx_offload_cfg()
2099 vlan_cfg->strip_tag2 = hnae3_get_bit(rx_cfg, HCLGE_REM_TAG2_EN_B); in hclge_get_vlan_rx_offload_cfg()
2100 vlan_cfg->drop_tag1 = hnae3_get_bit(rx_cfg, HCLGE_DISCARD_TAG1_EN_B); in hclge_get_vlan_rx_offload_cfg()
2101 vlan_cfg->drop_tag2 = hnae3_get_bit(rx_cfg, HCLGE_DISCARD_TAG2_EN_B); in hclge_get_vlan_rx_offload_cfg()
2102 vlan_cfg->pri_only1 = hnae3_get_bit(rx_cfg, HCLGE_SHOW_TAG1_EN_B); in hclge_get_vlan_rx_offload_cfg()
2103 vlan_cfg->pri_only2 = hnae3_get_bit(rx_cfg, HCLGE_SHOW_TAG2_EN_B); in hclge_get_vlan_rx_offload_cfg()
2109 struct hclge_dbg_vlan_cfg *vlan_cfg) in hclge_get_vlan_tx_offload_cfg() argument
2132 vlan_cfg->pvid = le16_to_cpu(req->def_vlan_tag1); in hclge_get_vlan_tx_offload_cfg()
2134 vlan_cfg->accept_tag1 = hnae3_get_bit(tx_cfg, HCLGE_ACCEPT_TAG1_B); in hclge_get_vlan_tx_offload_cfg()
[all …]
Dhclge_mbx.c664 struct hclge_port_base_vlan_config *vlan_cfg; in hclge_notify_vf_config() local
682 vlan_cfg = &vport->port_base_vlan_cfg; in hclge_notify_vf_config()
685 vlan_cfg->state, in hclge_notify_vf_config()
686 &vlan_cfg->vlan_info); in hclge_notify_vf_config()
Dhclge_cmd.h472 u8 vlan_cfg; member
483 u8 vlan_cfg; member
Dhclge_main.c9532 req0->vlan_cfg = is_kill; in hclge_set_vf_vlan_filter_cmd()
9640 req->vlan_cfg = is_kill; in hclge_set_port_vlan_filter()
/linux-6.6.21/drivers/net/ethernet/huawei/hinic/
Dhinic_port.c422 struct hinic_vlan_cfg vlan_cfg; in hinic_set_rx_vlan_offload() local
431 out_size = sizeof(vlan_cfg); in hinic_set_rx_vlan_offload()
434 vlan_cfg.func_id = HINIC_HWIF_FUNC_IDX(hwif); in hinic_set_rx_vlan_offload()
435 vlan_cfg.vlan_rx_offload = en; in hinic_set_rx_vlan_offload()
438 &vlan_cfg, sizeof(vlan_cfg), in hinic_set_rx_vlan_offload()
439 &vlan_cfg, &out_size); in hinic_set_rx_vlan_offload()
440 if (err || !out_size || vlan_cfg.status) { in hinic_set_rx_vlan_offload()
443 err, vlan_cfg.status, out_size); in hinic_set_rx_vlan_offload()