Home
last modified time | relevance | path

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

/openbmc/linux/net/ethtool/
H A 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()
H A Dioctl.c1196 user_indir_size = rxfh.indir_size; in ethtool_get_rxfh()
1206 rxfh.indir_size = dev_indir_size; in ethtool_get_rxfh()
1285 if ((rxfh.indir_size && in ethtool_set_rxfh()
1286 rxfh.indir_size != ETH_RXFH_INDIR_NO_CHANGE && in ethtool_set_rxfh()
1287 rxfh.indir_size != dev_indir_size) || in ethtool_set_rxfh()
1289 (rxfh.indir_size == ETH_RXFH_INDIR_NO_CHANGE && in ethtool_set_rxfh()
1293 if (rxfh.indir_size != ETH_RXFH_INDIR_NO_CHANGE) in ethtool_set_rxfh()
1309 if (rxfh.indir_size && in ethtool_set_rxfh()
1310 rxfh.indir_size != ETH_RXFH_INDIR_NO_CHANGE) { in ethtool_set_rxfh()
1315 rxfh.indir_size); in ethtool_set_rxfh()
[all …]
/openbmc/linux/drivers/net/ethernet/huawei/hinic/
H A 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()
/openbmc/linux/drivers/net/ethernet/hisilicon/hns/
H A 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()
/openbmc/qemu/include/standard-headers/linux/
H A Dethtool.h1551 uint32_t indir_size; member
/openbmc/linux/include/uapi/linux/
H A Dethtool.h1285 __u32 indir_size; member