Searched refs:indir_size (Results 1 – 9 of 9) sorted by relevance
16 u32 indir_size; member68 data->indir_size = 0; in rss_prepare_get()71 data->indir_size = ops->get_rxfh_indir_size(dev); in rss_prepare_get()75 indir_bytes = data->indir_size * sizeof(u32); in rss_prepare_get()83 if (data->indir_size) in rss_prepare_get()88 rxfh.indir_size = data->indir_size; in rss_prepare_get()118 data->indir_size = ctx->indir_size; in rss_prepare_ctx()123 indir_bytes = data->indir_size * sizeof(u32); in rss_prepare_ctx()176 nla_total_size(sizeof(u32) * data->indir_size) + /* _RSS_INDIR */ in rss_reply_size()193 if ((data->indir_size && in rss_fill_reply()[all …]
1113 if (rxfh.indir_size == 0) in ethtool_get_rxfh_indir()1122 &rxfh.indir_size, sizeof(rxfh.indir_size))) in ethtool_get_rxfh_indir()1165 if (rxfh_dev.indir_size == 0) in ethtool_set_rxfh_indir()1195 rxfh_dev.indir_size); in ethtool_set_rxfh_indir()1250 rxfh.indir_size = rxfh_dev.indir_size; in ethtool_get_rxfh()1344 ctx->indir_size = indir_size; in ethtool_rxfh_ctx_alloc()1400 if ((rxfh.indir_size && in ethtool_set_rxfh()1438 if (rxfh.indir_size && in ethtool_set_rxfh()1446 rxfh.indir_size); in ethtool_set_rxfh()1558 if (rxfh.indir_size == 0) in ethtool_set_rxfh()[all …]
604 for (i = 0; i < ctx->indir_size; i++) in ethtool_get_rss_ctx_max_channel()
606 u32 indir_size; in hinic_rss_set_indir_tbl() local637 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()
182 u32 indir_size; member745 u32 indir_size; member
1633 int indir_size; in hns_nic_clear_all_rx_fetch() local1642 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()
1313 if (rxfh->indir_size != priv->rss_lut_size) in gve_adminq_configure_rss()1495 rxfh->indir_size = priv->rss_lut_size; in gve_adminq_process_rss_query()
876 rxfh->indir_size = priv->rss_lut_size; in gve_get_rss_config_cache()
1555 __u32 indir_size; member