Home
last modified time | relevance | path

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

/linux-6.6.21/net/ethtool/
Drss.c13 u32 indir_size; member
69 data->indir_size = 0; in rss_prepare_data()
72 data->indir_size = ops->get_rxfh_indir_size(dev); in rss_prepare_data()
76 indir_bytes = data->indir_size * sizeof(u32); in rss_prepare_data()
84 if (data->indir_size) in rss_prepare_data()
114 nla_total_size(sizeof(u32) * data->indir_size) + /* _RSS_INDIR */ in rss_reply_size()
128 (data->indir_size && in rss_fill_reply()
130 sizeof(u32) * data->indir_size, data->indir_table)) || in rss_fill_reply()
Dioctl.c1193 user_indir_size = rxfh.indir_size; in ethtool_get_rxfh()
1203 rxfh.indir_size = dev_indir_size; in ethtool_get_rxfh()
1282 if ((rxfh.indir_size && in ethtool_set_rxfh()
1283 rxfh.indir_size != ETH_RXFH_INDIR_NO_CHANGE && in ethtool_set_rxfh()
1284 rxfh.indir_size != dev_indir_size) || in ethtool_set_rxfh()
1286 (rxfh.indir_size == ETH_RXFH_INDIR_NO_CHANGE && in ethtool_set_rxfh()
1290 if (rxfh.indir_size != ETH_RXFH_INDIR_NO_CHANGE) in ethtool_set_rxfh()
1306 if (rxfh.indir_size && in ethtool_set_rxfh()
1307 rxfh.indir_size != ETH_RXFH_INDIR_NO_CHANGE) { in ethtool_set_rxfh()
1312 rxfh.indir_size); in ethtool_set_rxfh()
[all …]
/linux-6.6.21/drivers/net/ethernet/huawei/hinic/
Dhinic_port.c606 u32 indir_size; in hinic_rss_set_indir_tbl() local
637 indir_size = HINIC_RSS_INDIR_SIZE / 2; in hinic_rss_set_indir_tbl()
639 indir_tbl->size = cpu_to_be32(indir_size); in hinic_rss_set_indir_tbl()
650 indir_tbl->offset = cpu_to_be32(indir_size); in hinic_rss_set_indir_tbl()
651 indir_tbl->size = cpu_to_be32(indir_size); in hinic_rss_set_indir_tbl()
652 memcpy(&indir_tbl->entry[0], &indir_tbl->entry[indir_size], indir_size); in hinic_rss_set_indir_tbl()
/linux-6.6.21/drivers/net/ethernet/hisilicon/hns/
Dhns_enet.c1633 int indir_size; in hns_nic_clear_all_rx_fetch() local
1642 indir_size = ops->get_rss_indir_size(h) * sizeof(*org_indir); in hns_nic_clear_all_rx_fetch()
1643 org_indir = kzalloc(indir_size, GFP_KERNEL); in hns_nic_clear_all_rx_fetch()
1650 cur_indir = kzalloc(indir_size, GFP_KERNEL); in hns_nic_clear_all_rx_fetch()
1682 for (j = 0; j < indir_size / sizeof(*org_indir); j++) in hns_nic_clear_all_rx_fetch()
/linux-6.6.21/include/uapi/linux/
Dethtool.h1285 __u32 indir_size; member