Searched refs:eth_filter (Results 1 – 1 of 1) sorted by relevance
2241 struct cxgb4_ethtool_filter *eth_filter; in cxgb4_init_ethtool_filters() local2246 eth_filter = kzalloc(sizeof(*eth_filter), GFP_KERNEL); in cxgb4_init_ethtool_filters()2247 if (!eth_filter) in cxgb4_init_ethtool_filters()2258 eth_filter->port = eth_filter_info; in cxgb4_init_ethtool_filters()2264 eth_filter->nentries = nentries; in cxgb4_init_ethtool_filters()2267 eth_filter->port[i].loc_array = kvzalloc(nentries, GFP_KERNEL); in cxgb4_init_ethtool_filters()2268 if (!eth_filter->port[i].loc_array) { in cxgb4_init_ethtool_filters()2273 eth_filter->port[i].bmap = bitmap_zalloc(nentries, GFP_KERNEL); in cxgb4_init_ethtool_filters()2274 if (!eth_filter->port[i].bmap) { in cxgb4_init_ethtool_filters()2280 adap->ethtool_filters = eth_filter; in cxgb4_init_ethtool_filters()[all …]