Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
authorDavid S. Miller <davem@davemloft.net>
Sun, 17 Nov 2019 02:47:31 +0000 (18:47 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 17 Nov 2019 05:51:42 +0000 (21:51 -0800)
Lots of overlapping changes and parallel additions, stuff
like that.

Signed-off-by: David S. Miller <davem@davemloft.net>
27 files changed:
1  2 
MAINTAINERS
drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
drivers/net/ethernet/marvell/octeontx2/af/cgx.h
drivers/net/ethernet/marvell/octeontx2/af/common.h
drivers/net/ethernet/marvell/octeontx2/af/mbox.h
drivers/net/ethernet/marvell/octeontx2/af/npc.h
drivers/net/ethernet/marvell/octeontx2/af/npc_profile.h
drivers/net/ethernet/marvell/octeontx2/af/rvu.h
drivers/net/ethernet/marvell/octeontx2/af/rvu_reg.h
drivers/net/ethernet/marvell/octeontx2/af/rvu_struct.h
drivers/net/ethernet/microchip/lan743x_ptp.c
drivers/net/ethernet/renesas/ravb_main.c
drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c
drivers/net/ethernet/stmicro/stmmac/dwxgmac2.h
drivers/net/ethernet/stmicro/stmmac/hwif.h
drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c
include/uapi/linux/devlink.h
net/core/devlink.c
net/dsa/tag_8021q.c
net/ipv4/ipmr.c
net/rds/ib_cm.c
net/smc/af_smc.c
net/tipc/core.c
net/tipc/core.h

diff --cc MAINTAINERS
Simple merge
@@@ -488,17 -427,14 +488,21 @@@ static int lan743x_ptp_perout(struct la
        u32 start_sec = 0, start_nsec = 0;
        u32 general_config = 0;
        int pulse_width = 0;
 -      int perout_bit = 0;
 +      int perout_pin = 0;
 +      unsigned int index = perout_request->index;
 +      struct lan743x_ptp_perout *perout = &ptp->perout[index];
  
 -      if (perout->flags)
+       /* Reject requests with unsupported flags */
 -      if (!on) {
 -              lan743x_ptp_perout_off(adapter);
++      if (perout_request->flags)
+               return -EOPNOTSUPP;
 +      if (on) {
 +              perout_pin = ptp_find_pin(ptp->ptp_clock, PTP_PF_PEROUT,
 +                                        perout_request->index);
 +              if (perout_pin < 0)
 +                      return -EBUSY;
 +      } else {
 +              lan743x_ptp_perout_off(adapter, index);
                return 0;
        }
  
@@@ -421,10 -421,7 +421,11 @@@ enum devlink_attr 
  
        DEVLINK_ATTR_RELOAD_FAILED,                     /* u8 0 or 1 */
  
+       DEVLINK_ATTR_HEALTH_REPORTER_DUMP_TS_NS,        /* u64 */
++
 +      DEVLINK_ATTR_NETNS_FD,                  /* u32 */
 +      DEVLINK_ATTR_NETNS_PID,                 /* u32 */
 +      DEVLINK_ATTR_NETNS_ID,                  /* u32 */
        /* add new attributes above here, update the policy in devlink.c */
  
        __DEVLINK_ATTR_MAX,
@@@ -2809,10 -2697,9 +2809,10 @@@ static int devlink_reload(struct devlin
  static int devlink_nl_cmd_reload(struct sk_buff *skb, struct genl_info *info)
  {
        struct devlink *devlink = info->user_ptr[0];
 +      struct net *dest_net = NULL;
        int err;
  
-       if (!devlink_reload_supported(devlink))
+       if (!devlink_reload_supported(devlink) || !devlink->reload_enabled)
                return -EOPNOTSUPP;
  
        err = devlink_resources_validate(devlink, NULL, info);
@@@ -102,10 -103,10 +102,10 @@@ static int dsa_8021q_restore_pvid(struc
        if (!dsa_is_user_port(ds, port))
                return 0;
  
 -      slave = ds->ports[port].slave;
 +      slave = dsa_to_port(ds, port)->slave;
  
        err = br_vlan_get_pvid(slave, &pvid);
-       if (err < 0)
+       if (!pvid || err < 0)
                /* There is no pvid on the bridge for this port, which is
                 * perfectly valid. Nothing to restore, bye-bye!
                 */
diff --cc net/ipv4/ipmr.c
Simple merge
diff --cc net/rds/ib_cm.c
@@@ -513,8 -450,8 +513,9 @@@ static int rds_ib_setup_qp(struct rds_c
        struct ib_qp_init_attr attr;
        struct ib_cq_init_attr cq_attr = {};
        struct rds_ib_device *rds_ibdev;
+       unsigned long max_wrs;
        int ret, fr_queue_space;
 +      struct dma_pool *pool;
  
        /*
         * It's normal to see a null device if an incoming connection races
Simple merge
diff --cc net/tipc/core.c
Simple merge
diff --cc net/tipc/core.h
  #include <net/netns/generic.h>
  #include <linux/rhashtable.h>
  #include <net/genetlink.h>
 +#include <net/netns/hash.h>
  
+ #ifdef pr_fmt
+ #undef pr_fmt
+ #endif
+ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
  struct tipc_node;
  struct tipc_bearer;
  struct tipc_bc_base;