Lines Matching refs:kernel_param
649 struct kernel_ethtool_ringparam *kernel_param, in hns3_get_ringparam() argument
666 kernel_param->rx_buf_len = priv->ring[rx_queue_index].buf_size; in hns3_get_ringparam()
667 kernel_param->tx_push = test_bit(HNS3_NIC_STATE_TX_PUSH_ENABLE, in hns3_get_ringparam()
1075 struct kernel_ethtool_ringparam *kernel_param) in hns3_check_ringparam() argument
1091 if (kernel_param->rx_buf_len != RX_BUF_LEN_2K && in hns3_check_ringparam()
1092 kernel_param->rx_buf_len != RX_BUF_LEN_4K) { in hns3_check_ringparam()
1112 struct kernel_ethtool_ringparam *kernel_param, in hns3_is_ringparam_changed() argument
1127 new_ringparam->rx_buf_len = kernel_param->rx_buf_len; in hns3_is_ringparam_changed()
1181 struct kernel_ethtool_ringparam *kernel_param, in hns3_set_ringparam() argument
1191 ret = hns3_check_ringparam(ndev, param, kernel_param); in hns3_set_ringparam()
1195 ret = hns3_set_tx_push(ndev, kernel_param->tx_push); in hns3_set_ringparam()
1199 if (!hns3_is_ringparam_changed(ndev, param, kernel_param, in hns3_set_ringparam()