Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_ethtool.c2238 struct cxgb4_ethtool_filter *eth_filter; in cxgb4_init_ethtool_filters() local
2243 eth_filter = kzalloc(sizeof(*eth_filter), GFP_KERNEL); in cxgb4_init_ethtool_filters()
2244 if (!eth_filter) in cxgb4_init_ethtool_filters()
2255 eth_filter->port = eth_filter_info; in cxgb4_init_ethtool_filters()
2261 eth_filter->nentries = nentries; in cxgb4_init_ethtool_filters()
2264 eth_filter->port[i].loc_array = kvzalloc(nentries, GFP_KERNEL); in cxgb4_init_ethtool_filters()
2265 if (!eth_filter->port[i].loc_array) { in cxgb4_init_ethtool_filters()
2270 eth_filter->port[i].bmap = bitmap_zalloc(nentries, GFP_KERNEL); in cxgb4_init_ethtool_filters()
2271 if (!eth_filter->port[i].bmap) { in cxgb4_init_ethtool_filters()
2277 adap->ethtool_filters = eth_filter; in cxgb4_init_ethtool_filters()
[all …]