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
index e177b1ae03f1c52e37d4e3b09e11a7f6141cc477,e8fe9a90fe4f9b99a37ccdc0b3c9bdb5fd8d62a6..afe52463dc576ea015cab657961dfc5891194759
@@@ -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;
        }
  
index b558ea88b7666ba72df86d6efb1cb116f1c43c34,a8a2174db0307487b5a7883f0d3e3891e2767cc1..ae37fd4d194a733adc369a634ebdaafd96850cb6
@@@ -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,
index 1338f5fbc7d2e2789a668893126df0510b278be6,93905dc7c179b75dd5fa48b50f537ae91223506f..4c63c9a4c09e62fdc8b428ae5a990feb329c47f6
@@@ -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);
index 73632d21f1a66ed149b2edf21a4581fe1fe4915f,9e5a883a9f0c39e17fa9e0e18cf2a0c4506d04f6..2fb6c26294b50ea4890225608e94c9ced0ecec3d
@@@ -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
index 6b345c858dbacdca5343a1e871027c79e744094e,18c6fac6ead9c1776d26151a059ddf9a312b5e71..c71f4328d1386f961d813a6509fe518d267d3fa9
@@@ -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
index 775848a5f27e618fb7ca1e29588e37e8f696b941,3042f654e0af07d70760c2d6cb1568ee703b9f9e..631d83c9705f669c48d66185e903ab775b79d17f
  #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;