Home
last modified time | relevance | path

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

/linux-6.12.1/net/ethtool/
Drss.c56 u32 total_size, indir_bytes; in rss_prepare_get() local
73 indir_bytes = data->indir_size * sizeof(u32); in rss_prepare_get()
74 total_size = indir_bytes + data->hkey_size; in rss_prepare_get()
84 data->hkey = rss_config + indir_bytes; in rss_prepare_get()
107 u32 total_size, indir_bytes; in rss_prepare_ctx() local
119 indir_bytes = data->indir_size * sizeof(u32); in rss_prepare_ctx()
120 total_size = indir_bytes + data->hkey_size; in rss_prepare_ctx()
126 memcpy(data->indir_table, ethtool_rxfh_context_indir(ctx), indir_bytes); in rss_prepare_ctx()
129 data->hkey = rss_config + indir_bytes; in rss_prepare_ctx()
Dioctl.c1211 u32 indir_bytes; in ethtool_get_rxfh() local
1246 indir_bytes = user_indir_size * sizeof(rxfh_dev.indir[0]); in ethtool_get_rxfh()
1247 total_size = indir_bytes + user_key_size; in ethtool_get_rxfh()
1256 rxfh_dev.key = rss_config + indir_bytes; in ethtool_get_rxfh()
1266 indir_bytes); in ethtool_get_rxfh()
1312 size_t indir_bytes, flex_len, key_off, size; in ethtool_rxfh_ctx_alloc() local
1321 indir_bytes = array_size(indir_max, sizeof(u32)); in ethtool_rxfh_ctx_alloc()
1323 key_off = size_add(priv_bytes, indir_bytes); in ethtool_rxfh_ctx_alloc()
1348 u32 user_indir_len = 0, indir_bytes = 0; in ethtool_set_rxfh() local
1403 indir_bytes = dev_indir_size * sizeof(rxfh_dev.indir[0]); in ethtool_set_rxfh()
[all …]