Home
last modified time | relevance | path

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

/net/ethtool/
A Drss.c119 u32 total_size, indir_bytes; in rss_get_data_alloc() local
129 indir_bytes = data->indir_size * sizeof(u32); in rss_get_data_alloc()
130 total_size = indir_bytes + data->hkey_size; in rss_get_data_alloc()
138 data->hkey = rss_config + indir_bytes; in rss_get_data_alloc()
206 u32 total_size, indir_bytes; in rss_prepare_ctx() local
220 indir_bytes = data->indir_size * sizeof(u32); in rss_prepare_ctx()
221 total_size = indir_bytes + data->hkey_size; in rss_prepare_ctx()
230 data->hkey = rss_config + indir_bytes; in rss_prepare_ctx()
A Dioctl.c1378 u32 indir_bytes; in ethtool_get_rxfh() local
1412 indir_bytes = user_indir_size * sizeof(rxfh_dev.indir[0]); in ethtool_get_rxfh()
1413 total_size = indir_bytes + user_key_size; in ethtool_get_rxfh()
1422 rxfh_dev.key = rss_config + indir_bytes; in ethtool_get_rxfh()
1433 indir_bytes); in ethtool_get_rxfh()
1482 u32 user_indir_len = 0, indir_bytes = 0; in ethtool_set_rxfh() local
1536 indir_bytes = dev_indir_size * sizeof(rxfh_dev.indir[0]); in ethtool_set_rxfh()
1545 rss_config = kzalloc(indir_bytes + dev_key_size, GFP_USER); in ethtool_set_rxfh()
1560 user_indir_len = indir_bytes; in ethtool_set_rxfh()
1585 rxfh_dev.key = rss_config + indir_bytes; in ethtool_set_rxfh()
A Dcommon.c813 size_t indir_bytes, flex_len, key_off, size; in ethtool_rxfh_ctx_alloc() local
822 indir_bytes = array_size(indir_max, sizeof(u32)); in ethtool_rxfh_ctx_alloc()
824 key_off = size_add(priv_bytes, indir_bytes); in ethtool_rxfh_ctx_alloc()

Completed in 15 milliseconds