[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20230815180142.07a89703@canb.auug.org.au>
Date: Tue, 15 Aug 2023 18:01:42 +1000
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: "Michael S. Tsirkin" <mst@...hat.com>, David Miller
<davem@...emloft.net>, Jakub Kicinski <kuba@...nel.org>, Paolo Abeni
<pabeni@...hat.com>
Cc: Networking <netdev@...r.kernel.org>, Gavin Li <gavinl@...dia.com>, Linux
Kernel Mailing List <linux-kernel@...r.kernel.org>, Linux Next Mailing List
<linux-next@...r.kernel.org>, Xuan Zhuo <xuanzhuo@...ux.alibaba.com>
Subject: linux-next: manual merge of the vhost tree with the net-next tree
Hi all,
Today's linux-next merge of the vhost tree got a conflict in:
drivers/net/virtio_net.c
between commit:
308d7982dcdc ("virtio_net: extract interrupt coalescing settings to a structure")
from the net-next tree and commit:
1a08d66726dc ("virtio_net: merge dma operations when filling mergeable buffers")
from the vhost tree.
I fixed it up (see below) and can carry the fix as necessary. This
is now fixed as far as linux-next is concerned, but any non trivial
conflicts should be mentioned to your upstream maintainer when your tree
is submitted for merging. You may also want to consider cooperating
with the maintainer of the conflicting tree to minimise any particularly
complex conflicts.
--
Cheers,
Stephen Rothwell
diff --cc drivers/net/virtio_net.c
index edfd5d8833e4,c9cab3f966db..000000000000
--- a/drivers/net/virtio_net.c
+++ b/drivers/net/virtio_net.c
@@@ -127,11 -126,14 +127,19 @@@ static const struct virtnet_stat_desc v
#define VIRTNET_SQ_STATS_LEN ARRAY_SIZE(virtnet_sq_stats_desc)
#define VIRTNET_RQ_STATS_LEN ARRAY_SIZE(virtnet_rq_stats_desc)
+struct virtnet_interrupt_coalesce {
+ u32 max_packets;
+ u32 max_usecs;
+};
+
+ /* The dma information of pages allocated at a time. */
+ struct virtnet_rq_dma {
+ dma_addr_t addr;
+ u32 ref;
+ u16 len;
+ u16 need_sync;
+ };
+
/* Internal representation of a send virtqueue */
struct send_queue {
/* Virtqueue associated with this send _queue */
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists