1. 03 Sep, 2020 20 commits
  2. 02 Sep, 2020 11 commits
  3. 01 Sep, 2020 9 commits
    • Sunil Goutham's avatar
      octeontx2-pf: Add UDP segmentation offload support · dc1a9bf2
      Sunil Goutham authored
      Defines UDP segmentation algorithm in hardware and supports
      offloading UDP segmentation.
      Signed-off-by: default avatarSunil Goutham <sgoutham@marvell.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      dc1a9bf2
    • Andrew Lunn's avatar
      net: dsa: mv88e6xxx: Fix W=1 warning with !CONFIG_OF · ceb96fae
      Andrew Lunn authored
      When building on platforms without device tree, e.g. amd64, W=1 gives
      a warning about mv88e6xxx_mdio_external_match being unused. Replace
      of_match_node() with of_device_is_compatible() to prevent this
      warning.
      Suggested-by: default avatarAndy Shevchenko <andy.shevchenko@gmail.com>
      Signed-off-by: default avatarAndrew Lunn <andrew@lunn.ch>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      ceb96fae
    • David S. Miller's avatar
      Merge branch 'dpaa2-eth-add-a-dpaa2_eth_-prefix-to-all-functions' · 0697fecf
      David S. Miller authored
      Ioana Ciornei says:
      
      ====================
      dpaa2-eth: add a dpaa2_eth_ prefix to all functions
      
      This is just a quick cleanup that aims at adding a dpaa2_eth_ prefix to
      all functions within the dpaa2-eth driver even if those are static and
      private to the driver. The main reason for doing this is that looking a
      perf top, for example, is becoming an inconvenience because one cannot
      easily determine which entries are dpaa2-eth related or not.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      0697fecf
    • Ioana Ciornei's avatar
      dpaa2-eth: add a dpaa2_eth_ prefix to all functions in dpaa2-eth-dcb.c · 8d138373
      Ioana Ciornei authored
      Some static functions in the dpaa2-eth driver don't have the dpaa2_eth_
      prefix and this is becoming an inconvenience when looking at, for
      example, a perf top output and trying to determine easily which entries
      are dpaa2-eth related. Ammend this by adding the prefix to all the
      functions.
      Signed-off-by: default avatarIoana Ciornei <ioana.ciornei@nxp.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      8d138373
    • Ioana Ciornei's avatar
      dpaa2-eth: add a dpaa2_eth_ prefix to all functions in dpaa2-eth.c · 5d8dccf8
      Ioana Ciornei authored
      Some static functions in the dpaa2-eth driver don't have the dpaa2_eth_
      prefix and this is becoming an inconvenience when looking at, for
      example, a perf top output and trying to determine easily which entries
      are dpaa2-eth related. Ammend this by adding the prefix to all the
      functions.
      Signed-off-by: default avatarIoana Ciornei <ioana.ciornei@nxp.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      5d8dccf8
    • Ioana Ciornei's avatar
      dpaa2-eth: add a dpaa2_eth_ prefix to all functions in dpaa2-ethtool.c · e6734cd9
      Ioana Ciornei authored
      Some static functions in the dpaa2-eth driver don't have the dpaa2_eth_
      prefix and this is becoming an inconvenience when looking at, for
      example, a perf top output and trying to determine easily which entries
      are dpaa2-eth related. Ammend this by adding the prefix to all the
      functions.
      Signed-off-by: default avatarIoana Ciornei <ioana.ciornei@nxp.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      e6734cd9
    • Eelco Chaudron's avatar
      net: openvswitch: fixes crash if nf_conncount_init() fails · e0afe914
      Eelco Chaudron authored
      If nf_conncount_init fails currently the dispatched work is not canceled,
      causing problems when the timer fires. This change fixes this by not
      scheduling the work until all initialization is successful.
      
      Fixes: a65878d6 ("net: openvswitch: fixes potential deadlock in dp cleanup code")
      Reported-by: default avatarkernel test robot <lkp@intel.com>
      Signed-off-by: default avatarEelco Chaudron <echaudro@redhat.com>
      Reviewed-by: default avatarTonghao Zhang <xiangxia.m.yue@gmail.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      e0afe914
    • Thomas Falcon's avatar
      ibmvnic: Harden device Command Response Queue handshake · 36a782fd
      Thomas Falcon authored
      In some cases, the device or firmware may be busy when the
      driver attempts to perform the CRQ initialization handshake.
      If the partner is busy, the hypervisor will return the H_CLOSED
      return code. The aim of this patch is that, if the device is not
      ready, to query the device a number of times, with a small wait
      time in between queries. If all initialization requests fail,
      the driver will remain in a dormant state, awaiting a signal
      from the device that it is ready for operation.
      Signed-off-by: default avatarThomas Falcon <tlfalcon@linux.ibm.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      36a782fd
    • David S. Miller's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next · 150f29f5
      David S. Miller authored
      Daniel Borkmann says:
      
      ====================
      pull-request: bpf-next 2020-09-01
      
      The following pull-request contains BPF updates for your *net-next* tree.
      
      There are two small conflicts when pulling, resolve as follows:
      
      1) Merge conflict in tools/lib/bpf/libbpf.c between 88a82120 ("libbpf: Factor
         out common ELF operations and improve logging") in bpf-next and 1e891e51
         ("libbpf: Fix map index used in error message") in net-next. Resolve by taking
         the hunk in bpf-next:
      
              [...]
              scn = elf_sec_by_idx(obj, obj->efile.btf_maps_shndx);
              data = elf_sec_data(obj, scn);
              if (!scn || !data) {
                      pr_warn("elf: failed to get %s map definitions for %s\n",
                              MAPS_ELF_SEC, obj->path);
                      return -EINVAL;
              }
              [...]
      
      2) Merge conflict in drivers/net/ethernet/mellanox/mlx5/core/en/xsk/rx.c between
         9647c57b ("xsk: i40e: ice: ixgbe: mlx5: Test for dma_need_sync earlier for
         better performance") in bpf-next and e20f0dbf ("net/mlx5e: RX, Add a prefetch
         command for small L1_CACHE_BYTES") in net-next. Resolve the two locations by retaining
         net_prefetch() and taking xsk_buff_dma_sync_for_cpu() from bpf-next. Should look like:
      
              [...]
              xdp_set_data_meta_invalid(xdp);
              xsk_buff_dma_sync_for_cpu(xdp, rq->xsk_pool);
              net_prefetch(xdp->data);
              [...]
      
      We've added 133 non-merge commits during the last 14 day(s) which contain
      a total of 246 files changed, 13832 insertions(+), 3105 deletions(-).
      
      The main changes are:
      
      1) Initial support for sleepable BPF programs along with bpf_copy_from_user() helper
         for tracing to reliably access user memory, from Alexei Starovoitov.
      
      2) Add BPF infra for writing and parsing TCP header options, from Martin KaFai Lau.
      
      3) bpf_d_path() helper for returning full path for given 'struct path', from Jiri Olsa.
      
      4) AF_XDP support for shared umems between devices and queues, from Magnus Karlsson.
      
      5) Initial prep work for full BPF-to-BPF call support in libbpf, from Andrii Nakryiko.
      
      6) Generalize bpf_sk_storage map & add local storage for inodes, from KP Singh.
      
      7) Implement sockmap/hash updates from BPF context, from Lorenz Bauer.
      
      8) BPF xor verification for scalar types & add BPF link iterator, from Yonghong Song.
      
      9) Use target's prog type for BPF_PROG_TYPE_EXT prog verification, from Udip Pant.
      
      10) Rework BPF tracing samples to use libbpf loader, from Daniel T. Lee.
      
      11) Fix xdpsock sample to really cycle through all buffers, from Weqaar Janjua.
      
      12) Improve type safety for tun/veth XDP frame handling, from Maciej Żenczykowski.
      
      13) Various smaller cleanups and improvements all over the place.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      150f29f5