From: Thomas Huth Date: Mon, 21 Mar 2016 16:25:24 +0000 (+0100) Subject: hw/net/spapr_llan: Enable the RX buffer pools by default for new machines X-Git-Tag: v2.6.0-rc0~12^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=57c522f47bf85de20c5bef3706b6fca6a70d7ac5;p=thirdparty%2Fqemu.git hw/net/spapr_llan: Enable the RX buffer pools by default for new machines RX buffer pools are now enabled by default for new machine types. For older machine types, they are still disabled to avoid breaking migration. Signed-off-by: Thomas Huth Reviewed-by: David Gibson Reviewed-by: Laurent Vivier Signed-off-by: David Gibson --- diff --git a/hw/net/spapr_llan.c b/hw/net/spapr_llan.c index c7ce87017bf..efc31cbfba6 100644 --- a/hw/net/spapr_llan.c +++ b/hw/net/spapr_llan.c @@ -718,7 +718,7 @@ static Property spapr_vlan_properties[] = { DEFINE_SPAPR_PROPERTIES(VIOsPAPRVLANDevice, sdev), DEFINE_NIC_PROPERTIES(VIOsPAPRVLANDevice, nicconf), DEFINE_PROP_BIT("use-rx-buffer-pools", VIOsPAPRVLANDevice, - compat_flags, SPAPRVLAN_FLAG_RX_BUF_POOLS_BIT, false), + compat_flags, SPAPRVLAN_FLAG_RX_BUF_POOLS_BIT, true), DEFINE_PROP_END_OF_LIST(), }; diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c index ebbc6fe0938..65abccb2f52 100644 --- a/hw/ppc/spapr.c +++ b/hw/ppc/spapr.c @@ -2356,7 +2356,12 @@ DEFINE_SPAPR_MACHINE(2_6, "2.6", true); * pseries-2.5 */ #define SPAPR_COMPAT_2_5 \ - HW_COMPAT_2_5 + HW_COMPAT_2_5 \ + { \ + .driver = "spapr-vlan", \ + .property = "use-rx-buffer-pools", \ + .value = "off", \ + }, static void spapr_machine_2_5_instance_options(MachineState *machine) {