Searched refs:nfilter (Results 1 – 3 of 3) sorted by relevance
199 struct bcmasp_net_filter *nfilter; in bcmasp_flow_insert() local227 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() local246 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() local259 if (IS_ERR(nfilter)) in bcmasp_flow_get()260 return PTR_ERR(nfilter); in bcmasp_flow_get()[all …]
668 struct bcmasp_net_filter *nfilter = NULL; in bcmasp_netfilt_get_init() local714 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()
3524 int i, nfilter; in bcmgenet_set_rx_mode() local3530 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