1. 03 6月, 2021 33 次提交
  2. 02 6月, 2021 7 次提交
    • D
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf-next · 5fe8e519
      David S. Miller 提交于
      Pablo Neira Ayuso says:
      
      ====================
      Netfilter updates for net-next
      
      The following patchset contains Netfilter updates for net-next:
      
      1) Support for SCTP chunks matching on nf_tables, from Phil Sutter.
      
      2) Skip LDMXCSR, we don't need a valid MXCSR state. From Stefano Brivio.
      
      3) CONFIG_RETPOLINE for nf_tables set lookups, from Florian Westphal.
      
      4) A few Kconfig leading spaces removal, from Juerg Haefliger.
      
      5) Remove spinlock from xt_limit, from Jason Baron.
      
      6) Remove useless initialization in xt_CT, oneliner from Yang Li.
      
      7) Tree-wide replacement of netlink_unicast() by nfnetlink_unicast().
      
      8) Reduce footprint of several structures: xt_action_param,
         nft_pktinfo and nf_hook_state, from Florian.
      
      10) Add nft_thoff() and nft_sk() helpers and use them, also from Florian.
      
      11) Fix documentation in nf_tables pipapo avx2, from Florian Westphal.
      
      12) Fix clang-12 fmt string warnings, also from Florian.
      ====================
      5fe8e519
    • D
      Merge branch 'qualcomm-rmnet-mapv5' · 92c35cfd
      David S. Miller 提交于
      Sharath Chandra Vurukala says:
      
      ====================
      net: qualcomm: rmnet: Enable Mapv5
      
      This series introduces the MAPv5 packet format.
      
         Patch 0 documents the MAPv4/v5.
         Patch 1 introduces the MAPv5 and the Inline checksum offload for RX/Ingress.
         Patch 2 introduces the MAPv5 and the Inline checksum offload for TX/Egress.
      
         A new checksum header format is used as part of MAPv5.For RX checksum offload,
         the checksum is verified by the HW and the validity is marked in the checksum
         header of MAPv5. For TX, the required metadata is filled up so hardware can
         compute the checksum.
      
         v1->v2:
         - Fixed the compilation errors, warnings reported by kernel test robot.
         - Checksum header definition is expanded to support big, little endian
                 formats as mentioned by Jakub.
      
         v2->v3:
         - Fixed compilation errors reported by kernel bot for big endian flavor.
      
         v3->v4:
         - Made changes to use masks instead of C bit-fields as suggested by Jakub/Alex.
      
         v4->v5:
         - Corrected checkpatch errors and warnings reported by patchwork.
      
         v5->v6:
         - Corrected the bug identified by Alex and incorporated all his comments.
      
         v6->v7:
         - Removed duplicate inclusion of linux/bitfield.h in rmnet_map_data.c
      
         v7->v8:
         - Have addressed comments given by JAkub on v7 patches.
         - As suggested by Jakub, skb_cow_head() is used instead of expanding
           the head directly. This is now done in  rmnet_map_egress_handler().
      ====================
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      92c35cfd
    • S
      net: ethernet: rmnet: Add support for MAPv5 egress packets · b6e5d27e
      Sharath Chandra Vurukala 提交于
      Adding support for MAPv5 egress packets.
      
      This involves adding the MAPv5 header and setting the csum_valid_required
      in the checksum header to request HW compute the checksum.
      
      Corresponding stats are incremented based on whether the checksum is
      computed in software or HW.
      
      New stat has been added which represents the count of packets whose
      checksum is calculated by the HW.
      Signed-off-by: NSharath Chandra Vurukala <sharathv@codeaurora.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      b6e5d27e
    • S
      net: ethernet: rmnet: Support for ingress MAPv5 checksum offload · e1d9a90a
      Sharath Chandra Vurukala 提交于
      Adding support for processing of MAPv5 downlink packets.
      It involves parsing the Mapv5 packet and checking the csum header
      to know whether the hardware has validated the checksum and is
      valid or not.
      
      Based on the checksum valid bit the corresponding stats are
      incremented and skb->ip_summed is marked either CHECKSUM_UNNECESSARY
      or left as CHEKSUM_NONE to let network stack revalidate the checksum
      and update the respective snmp stats.
      
      Current MAPV1 header has been modified, the reserved field in the
      Mapv1 header is now used for next header indication.
      Signed-off-by: NSharath Chandra Vurukala <sharathv@codeaurora.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      e1d9a90a
    • S
      docs: networking: Add documentation for MAPv5 · 710b797c
      Sharath Chandra Vurukala 提交于
      Adding documentation explaining the new MAPv4/v5 packet formats
      and the corresponding checksum offload headers.
      Signed-off-by: NSharath Chandra Vurukala <sharathv@codeaurora.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      710b797c
    • D
      Merge branch 'iwl-next' of git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/linux · e0ae757c
      David S. Miller 提交于
      Tony Nguyen says:
      
      ====================
      iwl-next Intel Wired LAN Driver Updates 2021-06-01
      
      This pull request is targeting net-next and rdma-next branches.
      These patches have been reviewed by netdev and rdma mailing lists[1].
      
      This series adds RDMA support to the ice driver for E810 devices and
      converts the i40e driver to use the auxiliary bus infrastructure
      for X722 devices. The PCI netdev drivers register auxiliary RDMA devices
      that will bind to auxiliary drivers registered by the new irdma module.
      
      [1] https://lore.kernel.org/netdev/20210520143809.819-1-shiraz.saleem@intel.com/
      ---
      v3:
      - ice_aq_add_rdma_qsets(), ice_cfg_vsi_rdma(), ice_[ena|dis]_vsi_rdma_qset(),
      and ice_cfg_rdma_fltr() no longer return ice_status
      - Remove null check from ice_aq_add_rdma_qsets()
      
      v2:
      - Added patch 'i40e: Replace one-element array with flexible-array
      member'
      
      Changes since linked review (v6):
      - Removed unnecessary checks in i40e_client_device_register() and
      i40e_client_device_unregister()
      - Simplified the i40e_client_device_register() API
      ====================
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      e0ae757c
    • Z
      net: mdio: Fix spelling mistakes · e65c2793
      Zheng Yongjun 提交于
      informations  ==> information
      typicaly  ==> typically
      derrive  ==> derive
      eventhough  ==> even though
      Signed-off-by: NZheng Yongjun <zhengyongjun3@huawei.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      e65c2793