Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/stmicro/stmmac/
Ddwmac4_core.c470 if (hw->vlan_filter[0] & GMAC_VLAN_TAG_VID) { in dwmac4_add_hw_vlan_rx_fltr()
475 hw->vlan_filter[0] = vid; in dwmac4_add_hw_vlan_rx_fltr()
485 if (hw->vlan_filter[i] == val) in dwmac4_add_hw_vlan_rx_fltr()
487 else if (!(hw->vlan_filter[i] & GMAC_VLAN_TAG_DATA_VEN)) in dwmac4_add_hw_vlan_rx_fltr()
500 hw->vlan_filter[index] = val; in dwmac4_add_hw_vlan_rx_fltr()
519 if ((hw->vlan_filter[0] & GMAC_VLAN_TAG_VID) == vid) { in dwmac4_del_hw_vlan_rx_fltr()
520 hw->vlan_filter[0] = 0; in dwmac4_del_hw_vlan_rx_fltr()
528 if ((hw->vlan_filter[i] & GMAC_VLAN_TAG_DATA_VID) == vid) { in dwmac4_del_hw_vlan_rx_fltr()
532 hw->vlan_filter[i] = 0; in dwmac4_del_hw_vlan_rx_fltr()
558 if (hw->vlan_filter[i] & GMAC_VLAN_TAG_DATA_VEN) { in dwmac4_vlan_promisc_enable()
[all …]
Dcommon.h482 u32 vlan_filter[32]; member
/kernel/linux/linux-5.10/net/ncsi/
Dncsi-rsp.c364 ncf = &nc->vlan_filter; in ncsi_rsp_handler_svf()
806 nc->vlan_filter.vids = kcalloc(rsp->vlan_cnt, in ncsi_rsp_handler_gc()
807 sizeof(*nc->vlan_filter.vids), in ncsi_rsp_handler_gc()
809 if (!nc->vlan_filter.vids) in ncsi_rsp_handler_gc()
814 nc->vlan_filter.bitmap = U64_MAX; in ncsi_rsp_handler_gc()
815 nc->vlan_filter.n_vids = rsp->vlan_cnt; in ncsi_rsp_handler_gc()
880 ncvf = &nc->vlan_filter; in ncsi_rsp_handler_gp()
Dinternal.h220 struct ncsi_channel_vlan_filter vlan_filter; member
Dncsi-manage.c254 kfree(nc->vlan_filter.vids); in ncsi_remove_channel()
607 ncf = &nc->vlan_filter; in clear_one_vid()
646 ncf = &nc->vlan_filter; in set_one_vid()
Dncsi-netlink.c81 ncf = &nc->vlan_filter; in ncsi_write_channel_info()
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/
Dmcdi_filters.h91 bool vlan_filter; member
Dmcdi_filters.c981 if ((vlan->vid == EFX_FILTER_VID_UNSPEC) == table->vlan_filter) in efx_mcdi_filter_vlan_sync_rx_mode()
1342 table->vlan_filter = in efx_mcdi_filter_table_probe()
1736 bool vlan_filter; in efx_mcdi_filter_sync_rx_mode() local
1760 vlan_filter = !!(net_dev->features & NETIF_F_HW_VLAN_CTAG_FILTER); in efx_mcdi_filter_sync_rx_mode()
1761 if (table->vlan_filter != vlan_filter) { in efx_mcdi_filter_sync_rx_mode()
1762 table->vlan_filter = vlan_filter; in efx_mcdi_filter_sync_rx_mode()
/kernel/linux/linux-5.10/drivers/net/ethernet/ibm/ehea/
Dehea_phyp.h216 u64 vlan_filter[64]; member
Dehea_main.c2110 cb1->vlan_filter[index] |= ((u64)(0x8000000000000000 >> (vid & 0x3F))); in ehea_vlan_rx_add_vid()
2148 cb1->vlan_filter[index] &= ~((u64)(0x8000000000000000 >> (vid & 0x3F))); in ehea_vlan_rx_kill_vid()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/
Dcmd.c2409 s_state->vlan_filter[port] = in mlx4_multi_func_init()
2412 if (!s_state->vlan_filter[port]) { in mlx4_multi_func_init()
2414 kfree(s_state->vlan_filter[port]); in mlx4_multi_func_init()
2477 kfree(priv->mfunc.master.slave_state[i].vlan_filter[port]); in mlx4_multi_func_init()
2583 kfree(priv->mfunc.master.slave_state[i].vlan_filter[port]); in mlx4_multi_func_cleanup()
Dmlx4.h492 struct mlx4_vlan_fltr *vlan_filter[MLX4_MAX_PORTS + 1]; member
/kernel/linux/linux-5.10/net/bridge/
Dbr_netlink.c1148 u8 vlan_filter = nla_get_u8(data[IFLA_BR_VLAN_FILTERING]); in br_changelink() local
1150 err = __br_vlan_filter_toggle(br, vlan_filter); in br_changelink()
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_hsi.h4805 u32 vlan_filter[2]; member