Michael Dalton
2014-Jan-17 09:27 UTC
[PATCH net-next] virtio-net: fix build error when CONFIG_AVERAGE is not enabled
Commit ab7db91705e9 ("virtio-net: auto-tune mergeable rx buffer size for improved performance") introduced a virtio-net dependency on EWMA. The inclusion of EWMA is controlled by CONFIG_AVERAGE. Fix build error when CONFIG_AVERAGE is not enabled by adding select AVERAGE to virtio-net's Kconfig entry. Build failure reported using config make ARCH=s390 defconfig. Signed-off-by: Michael Dalton <mwdalton at google.com> --- drivers/net/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index b45b240..f342278 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig @@ -236,6 +236,7 @@ config VETH config VIRTIO_NET tristate "Virtio network driver" depends on VIRTIO + select AVERAGE ---help--- This is the virtual network driver for virtio. It can be used with lguest or QEMU based VMMs (like KVM or Xen). Say Y or M. -- 1.8.5.2
Jason Wang
2014-Jan-17 09:51 UTC
[PATCH net-next] virtio-net: fix build error when CONFIG_AVERAGE is not enabled
On 01/17/2014 05:27 PM, Michael Dalton wrote:> Commit ab7db91705e9 ("virtio-net: auto-tune mergeable rx buffer size for > improved performance") introduced a virtio-net dependency on EWMA. > The inclusion of EWMA is controlled by CONFIG_AVERAGE. Fix build error > when CONFIG_AVERAGE is not enabled by adding select AVERAGE to > virtio-net's Kconfig entry. > > Build failure reported using config make ARCH=s390 defconfig. > > Signed-off-by: Michael Dalton <mwdalton at google.com> > --- > drivers/net/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig > index b45b240..f342278 100644 > --- a/drivers/net/Kconfig > +++ b/drivers/net/Kconfig > @@ -236,6 +236,7 @@ config VETH > config VIRTIO_NET > tristate "Virtio network driver" > depends on VIRTIO > + select AVERAGE > ---help--- > This is the virtual network driver for virtio. It can be used with > lguest or QEMU based VMMs (like KVM or Xen). Say Y or M.Acked-by: Jason Wang <jasowang at redhat.com>
David Miller
2014-Jan-18 02:58 UTC
[PATCH net-next] virtio-net: fix build error when CONFIG_AVERAGE is not enabled
From: Michael Dalton <mwdalton at google.com> Date: Fri, 17 Jan 2014 01:27:08 -0800> Commit ab7db91705e9 ("virtio-net: auto-tune mergeable rx buffer size for > improved performance") introduced a virtio-net dependency on EWMA. > The inclusion of EWMA is controlled by CONFIG_AVERAGE. Fix build error > when CONFIG_AVERAGE is not enabled by adding select AVERAGE to > virtio-net's Kconfig entry. > > Build failure reported using config make ARCH=s390 defconfig. > > Signed-off-by: Michael Dalton <mwdalton at google.com>Applied.
Seemingly Similar Threads
- [PATCH net-next] virtio-net: fix build error when CONFIG_AVERAGE is not enabled
- [PATCH net-next 1/3] net: allow > 0 order atomic page alloc in skb_page_frag_refill
- [PATCH net-next 1/3] net: allow > 0 order atomic page alloc in skb_page_frag_refill
- [PATCH net-next v4 1/6] net: allow > 0 order atomic page alloc in skb_page_frag_refill
- [PATCH net-next v4 1/6] net: allow > 0 order atomic page alloc in skb_page_frag_refill