Lines Matching refs:kernel_ringparam
15 struct kernel_ethtool_ringparam kernel_ringparam;
43 data->kernel_ringparam.tcp_data_split = dev->cfg->hds_config;
44 data->kernel_ringparam.hds_thresh = dev->cfg->hds_thresh;
47 &data->kernel_ringparam, info->extack);
80 const struct kernel_ethtool_ringparam *kr = &data->kernel_ringparam;
218 struct kernel_ethtool_ringparam kernel_ringparam;
226 ethtool_ringparam_get_cfg(dev, &ringparam, &kernel_ringparam,
235 ethnl_update_u32(&kernel_ringparam.rx_buf_len,
237 ethnl_update_u8(&kernel_ringparam.tcp_data_split,
239 ethnl_update_u32(&kernel_ringparam.cqe_size,
241 ethnl_update_u8(&kernel_ringparam.tx_push,
243 ethnl_update_u8(&kernel_ringparam.rx_push,
245 ethnl_update_u32(&kernel_ringparam.tx_push_buf_len,
247 ethnl_update_u32(&kernel_ringparam.hds_thresh,
252 if (kernel_ringparam.tcp_data_split == ETHTOOL_TCP_DATA_SPLIT_ENABLED &&
261 if (kernel_ringparam.tcp_data_split !=
266 } else if (kernel_ringparam.hds_thresh) {
282 else if (kernel_ringparam.hds_thresh > kernel_ringparam.hds_thresh_max)
292 if (kernel_ringparam.tx_push_buf_len > kernel_ringparam.tx_push_buf_max_len) {
295 kernel_ringparam.tx_push_buf_max_len);
300 dev->cfg_pending->hds_config = kernel_ringparam.tcp_data_split;
301 dev->cfg_pending->hds_thresh = kernel_ringparam.hds_thresh;
304 &kernel_ringparam, info->extack);