This pair of patchesimproves the performance when running containers in an environment where underlying device has lower GSO maximum (such as Azure).
With containers a veth pair is created and one end is attached to the bridge device. The bridge device correctly reports computes GSO parameters that are the minimum of the lower devices. The problem is that the other end of the veth device (in container) reports the full GSO size. This patch propogates the upper (bridge device) parameters to the other end of the veth device. Please consider it as alternative to the sysfs GSO changes. Stephen Hemminger (2): br: add notifier for when bridge changes it GSO maximums veth: propagate bridge GSO to peer drivers/net/veth.c | 72 +++++++++++++++++++++++++++++++++++++++++++++++ include/linux/netdevice.h | 1 + net/bridge/br_if.c | 7 +++++ 3 files changed, 80 insertions(+) -- 2.11.0