search for: page_pool

Displaying 11 results from an estimated 11 matches for "page_pool".

2013 May 24
0
[PATCH net-next 0/3] xen-netback: switch to NAPI + kthread 1:1 model
...xen-netback: switch to NAPI + kthread 1:1 model drivers/net/xen-netback/Makefile | 2 +- drivers/net/xen-netback/common.h | 92 ++-- drivers/net/xen-netback/interface.c | 124 +++-- drivers/net/xen-netback/netback.c | 977 +++++++++++++++-------------------- drivers/net/xen-netback/page_pool.c | 186 +++++++ drivers/net/xen-netback/page_pool.h | 60 +++ 6 files changed, 812 insertions(+), 629 deletions(-) create mode 100644 drivers/net/xen-netback/page_pool.c create mode 100644 drivers/net/xen-netback/page_pool.h -- 1.7.10.4
2012 Jul 12
3
[PATCH v2] Btrfs: improve multi-thread buffer read
...xtent_readpages(struct extent_io_tree *tree, struct address_space *mapping, struct list_head *pages, unsigned nr_pages, @@ -3557,19 +3562,51 @@ int extent_readpages(struct extent_io_tree *tree, struct bio *bio = NULL; unsigned page_idx; unsigned long bio_flags = 0; + LIST_HEAD(page_pool); + struct pagelst *pagelst = NULL; for (page_idx = 0; page_idx < nr_pages; page_idx++) { struct page *page = list_entry(pages->prev, struct page, lru); + bool delay_read = true; prefetchw(&page->flags); list_del(&page->lru); + + if (!pagelst) + pagelst = kmal...
2012 Jul 10
6
[PATCH RFC] Btrfs: improve multi-thread buffer read
...xtent_readpages(struct extent_io_tree *tree, struct address_space *mapping, struct list_head *pages, unsigned nr_pages, @@ -3557,19 +3562,47 @@ int extent_readpages(struct extent_io_tree *tree, struct bio *bio = NULL; unsigned page_idx; unsigned long bio_flags = 0; + LIST_HEAD(page_pool); + struct pagelst *pagelst = NULL; for (page_idx = 0; page_idx < nr_pages; page_idx++) { struct page *page = list_entry(pages->prev, struct page, lru); prefetchw(&page->flags); list_del(&page->lru); + + if (!pagelst) + pagelst = kmalloc(sizeof(*pagelst), GFP_N...
2018 May 07
2
[PATCH net-next v10 2/4] net: Introduce generic failover module
...> create mode 100644 include/net/net_failover.h > create mode 100644 net/core/net_failover.c > diff --git a/net/Kconfig b/net/Kconfig > index b62089fb1332..0540856676de 100644 > --- a/net/Kconfig > +++ b/net/Kconfig > @@ -429,6 +429,16 @@ config MAY_USE_DEVLINK > config PAGE_POOL > bool > > +config NET_FAILOVER > + tristate "Failover interface" > + default m Need some justification for default m (as opposed to n). > + help > + This provides a generic interface for paravirtual drivers to listen > + for netdev register/unregis...
2023 Mar 23
1
[PATCH net-next 1/8] virtio_net: mergeable xdp: put old page immediately
...f (unlikely(xdp_page != page)) > > - __free_pages(xdp_page, 0); > > It seems __free_pages() and put_page() is used interchangeably here. > Perhaps using __free_pages() have performance reason? As the comment below: > > https://elixir.bootlin.com/linux/v6.3-rc3/source/net/core/page_pool.c#L500 Yes, but now we don't seem to be very good to distinguish it. But I think it doesn't matter. This logic is rare under actual situation. Thanks. > > > - > > if (xdp_buff_has_frags(&xdp)) { > > shinfo = xdp_get_shared_info_from_buff(&xdp); >...
2018 May 24
0
[PATCH net-next v12 1/5] net: Introduce generic failover module
...ver_unregister(struct failover *failover); +int failover_slave_unregister(struct net_device *slave_dev); + +#endif /* _FAILOVER_H */ diff --git a/net/Kconfig b/net/Kconfig index df8d45ef47d8..d581c4f0f1c4 100644 --- a/net/Kconfig +++ b/net/Kconfig @@ -430,6 +430,19 @@ config MAY_USE_DEVLINK config PAGE_POOL bool +config FAILOVER + tristate "Generic failover module" + help + The failover module provides a generic interface for paravirtual + drivers to register a netdev and a set of ops with a failover + instance. The ops are used as event handlers that get called to + handle...
2018 May 07
9
[PATCH net-next v10 0/4] Enable virtio_net to act as a standby for a passthru device
The main motivation for this patch is to enable cloud service providers to provide an accelerated datapath to virtio-net enabled VMs in a transparent manner with no/minimal guest userspace changes. This also enables hypervisor controlled live migration to be supported with VMs that have direct attached SR-IOV VF devices. Patch 1 introduces a new feature bit VIRTIO_NET_F_STANDBY that can be used
2018 May 07
0
[PATCH net-next v10 2/4] net: Introduce generic failover module
...er(struct net_failover *failover); +int net_failover_slave_unregister(struct net_device *slave_dev); + +#endif /* _NET_FAILOVER_H */ diff --git a/net/Kconfig b/net/Kconfig index b62089fb1332..0540856676de 100644 --- a/net/Kconfig +++ b/net/Kconfig @@ -429,6 +429,16 @@ config MAY_USE_DEVLINK config PAGE_POOL bool +config NET_FAILOVER + tristate "Failover interface" + default m + help + This provides a generic interface for paravirtual drivers to listen + for netdev register/unregister/link change events from pci ethernet + devices with the same MAC and takeover their datapath....
2018 Apr 25
5
[PATCH net-next v8 0/4] Enable virtio_net to act as a standby for a passthru device
This is another update based on feedback from MST and Stephen on the last patchset. Hopefully this series can be integrated and any further enhancements can be made on top of this patchset. v8: - Made the failover managment routines more robust by updating the feature bits/other fields in the failover netdev when slave netdevs are registered/unregistered. (mst) - added support for handling
2018 May 22
7
[PATCH net-next v11 0/5] Enable virtio_net to act as a standby for a passthru device
The main motivation for this patch is to enable cloud service providers to provide an accelerated datapath to virtio-net enabled VMs in a transparent manner with no/minimal guest userspace changes. This also enables hypervisor controlled live migration to be supported with VMs that have direct attached SR-IOV VF devices. Patch 1 introduces a failover module that provides a generic interface for
2018 May 24
11
[PATCH net-next v12 0/5] Enable virtio_net to act as a standby for a passthru device
The main motivation for this patch is to enable cloud service providers to provide an accelerated datapath to virtio-net enabled VMs in a transparent manner with no/minimal guest userspace changes. This also enables hypervisor controlled live migration to be supported with VMs that have direct attached SR-IOV VF devices. Patch 1 introduces a failover module that provides a generic interface for