]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
authorDavid S. Miller <davem@davemloft.net>
Tue, 22 Nov 2016 16:29:28 +0000 (11:29 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 22 Nov 2016 18:27:16 +0000 (13:27 -0500)
commitf9aa9dc7d2d00e6eb02168ffc64ef614b89d7998
tree061b767ccf7d6955cc4fb921c230a787d194392e
parent06b37b650cf826349677564cb0ff1560ed8e51fc
parent3b404a519815b9820f73f1ecf404e5546c9270ba
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net

All conflicts were simple overlapping changes except perhaps
for the Thunder driver.

That driver has a change_mtu method explicitly for sending
a message to the hardware.  If that fails it returns an
error.

Normally a driver doesn't need an ndo_change_mtu method becuase those
are usually just range changes, which are now handled generically.
But since this extra operation is needed in the Thunder driver, it has
to stay.

However, if the message send fails we have to restore the original
MTU before the change because the entire call chain expects that if
an error is thrown by ndo_change_mtu then the MTU did not change.
Therefore code is added to nicvf_change_mtu to remember the original
MTU, and to restore it upon nicvf_update_hw_max_frs() failue.

Signed-off-by: David S. Miller <davem@davemloft.net>
44 files changed:
MAINTAINERS
drivers/infiniband/core/cma.c
drivers/infiniband/hw/mlx5/main.c
drivers/infiniband/hw/mlx5/mlx5_ib.h
drivers/net/ethernet/arc/emac_main.c
drivers/net/ethernet/broadcom/bnxt/bnxt.c
drivers/net/ethernet/cadence/macb.c
drivers/net/ethernet/cavium/thunder/nicvf_main.c
drivers/net/ethernet/chelsio/cxgb4/sge.c
drivers/net/ethernet/emulex/benet/be_main.c
drivers/net/ethernet/marvell/sky2.c
drivers/net/ethernet/stmicro/stmmac/Kconfig
drivers/net/ethernet/stmicro/stmmac/descs.h
drivers/net/ethernet/stmicro/stmmac/dwmac4_descs.c
drivers/net/ethernet/stmicro/stmmac/enh_desc.c
drivers/net/ethernet/stmicro/stmmac/stmmac.h
drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
drivers/net/ethernet/sun/sunbmac.c
drivers/net/ethernet/sun/sunqe.c
drivers/net/ethernet/ti/cpsw.c
drivers/net/virtio_net.c
drivers/net/wireless/mac80211_hwsim.c
include/linux/bpf_verifier.h
include/net/net_namespace.h
kernel/bpf/verifier.c
net/batman-adv/hard-interface.c
net/batman-adv/tp_meter.c
net/core/net_namespace.c
net/ipv4/fib_frontend.c
net/ipv4/tcp_cong.c
net/ipv4/udp.c
net/ipv6/ip6_tunnel.c
net/ipv6/udp.c
net/l2tp/l2tp_eth.c
net/l2tp/l2tp_ip6.c
net/mac80211/sta_info.c
net/mac80211/tx.c
net/socket.c
net/sunrpc/svcsock.c
net/tipc/socket.c
net/unix/af_unix.c
net/wireless/core.h
net/wireless/util.c