From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out30-130.freemail.mail.aliyun.com (out30-130.freemail.mail.aliyun.com [115.124.30.130]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EA7EE56B6F for ; Tue, 23 Apr 2024 08:42:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=115.124.30.130 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713861759; cv=none; b=p1FeCLFhvLJR6ACJoTSaWEcQR6/CSr8evwWd95g5N1/f+38gvr1i/HNIsUypACu0DJQHCCcxmTSAue+PwM6BEExXFfcixaN/c74fvTouFP2egJc+xgZQUS2Rh6MiqIb5rqQaz+1IMlxP6nNHquddNLguYvqcTWMvDClf1zEOFYo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713861759; c=relaxed/simple; bh=81K02H3mGrqdlIRtS2o7bs/fPPMYf3j7mvLo88vIza8=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=Gwy8yu+dl1aIq3BZ3rkeL9SfU1NBeiy5+Wwae4tJ0zUo8XRyC173ezzeCVvROaEv+2XRbkAF4PQcsce5kX09kz7Ko6YgC0woP+igSFZPs3BsjoZLLfu7K5kp6u+3t3WUNUiO35bxr5D3nPmTKSv9iiMp9FFzByIFMXInemVOykg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com; spf=pass smtp.mailfrom=linux.alibaba.com; dkim=pass (1024-bit key) header.d=linux.alibaba.com header.i=@linux.alibaba.com header.b=MODYxyRe; arc=none smtp.client-ip=115.124.30.130 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.alibaba.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.alibaba.com header.i=@linux.alibaba.com header.b="MODYxyRe" DKIM-Signature:v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.alibaba.com; s=default; t=1713861750; h=From:To:Subject:Date:Message-Id:MIME-Version; bh=aaQQAXC49q37qIowIgNGklfhyY6GNb4kk/JfTIzkNOI=; b=MODYxyReAnG1IqB0mZbmivv4DjZLujz5+mqo86/Wj8LzuInfwhAoAJ3RHHsHeihcL05xDfGUghJGtpcr9GVSzkGq75WL0xc6WzdGdPy0pIoTTqZzdBVH2EVWfGSBAI1o45HkXIvmyPJCLB7qhDVlzjICS+qvdG4vg7HX4tIENS4= X-Alimail-AntiSpam:AC=PASS;BC=-1|-1;BR=01201311R651e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018045168;MF=hengqi@linux.alibaba.com;NM=1;PH=DS;RN=9;SR=0;TI=SMTPD_---0W58SinS_1713861746; Received: from localhost(mailfrom:hengqi@linux.alibaba.com fp:SMTPD_---0W58SinS_1713861746) by smtp.aliyun-inc.com; Tue, 23 Apr 2024 16:42:28 +0800 From: Heng Qi To: netdev@vger.kernel.org, virtualization@lists.linux.dev Cc: "Michael S. Tsirkin" , Jason Wang , Xuan Zhuo , Eric Dumazet , "David S. Miller" , Jakub Kicinski , Paolo Abeni Subject: [PATCH net-next 0/2] virtio_net: support getting initial value of irq coalesce Date: Tue, 23 Apr 2024 16:42:24 +0800 Message-Id: <20240423084226.25440-1-hengqi@linux.alibaba.com> X-Mailer: git-send-email 2.32.0.3.g01195cf9f Precedence: bulk X-Mailing-List: virtualization@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Patch 1 from Xuan: the virtnet cvq supports to get result from the device. Patch 2 reuses the VIRTIO_NET_CTRL_NOTF_COAL_VQ_GET cmd to get init coalesce value. Heng Qi (1): virtio_net: get init coalesce value when probe Xuan Zhuo (1): virtio_net: virtnet_send_command supports command-specific-result drivers/net/virtio_net.c | 92 ++++++++++++++++++++++++++++++++++------ 1 file changed, 78 insertions(+), 14 deletions(-) -- 2.32.0.3.g01195cf9f