Home
last modified time | relevance | path

Searched refs:nfilter (Results 1 – 3 of 3) sorted by relevance

/drivers/net/ethernet/broadcom/asp2/
A Dbcmasp_ethtool.c199 struct bcmasp_net_filter *nfilter; in bcmasp_flow_insert() local
227 if (IS_ERR(nfilter)) in bcmasp_flow_insert()
228 return PTR_ERR(nfilter); in bcmasp_flow_insert()
231 cmd->fs.location = nfilter->hw_index; in bcmasp_flow_insert()
243 struct bcmasp_net_filter *nfilter; in bcmasp_flow_delete() local
246 if (IS_ERR(nfilter)) in bcmasp_flow_delete()
247 return PTR_ERR(nfilter); in bcmasp_flow_delete()
256 struct bcmasp_net_filter *nfilter; in bcmasp_flow_get() local
259 if (IS_ERR(nfilter)) in bcmasp_flow_get()
260 return PTR_ERR(nfilter); in bcmasp_flow_get()
[all …]
A Dbcmasp.c668 struct bcmasp_net_filter *nfilter = NULL; in bcmasp_netfilt_get_init() local
714 nfilter = &priv->net_filters[open_index]; in bcmasp_netfilt_get_init()
715 nfilter->claimed = true; in bcmasp_netfilt_get_init()
716 nfilter->port = intf->port; in bcmasp_netfilt_get_init()
717 nfilter->hw_index = open_index; in bcmasp_netfilt_get_init()
724 nfilter->wake_filter = true; in bcmasp_netfilt_get_init()
727 return nfilter ? nfilter : ERR_PTR(-EINVAL); in bcmasp_netfilt_get_init()
/drivers/net/ethernet/broadcom/genet/
A Dbcmgenet.c3524 int i, nfilter; in bcmgenet_set_rx_mode() local
3530 nfilter = netdev_uc_count(dev) + netdev_mc_count(dev) + 2; in bcmgenet_set_rx_mode()
3542 (nfilter > MAX_MDF_FILTER)) { in bcmgenet_set_rx_mode()
3570 reg = GENMASK(MAX_MDF_FILTER - 1, MAX_MDF_FILTER - nfilter); in bcmgenet_set_rx_mode()

Completed in 18 milliseconds