1. 17 Jul, 2021 2 commits
    • Xin Long's avatar
      tipc: keep the skb in rcv queue until the whole data is read · f4919ff5
      Xin Long authored
      Currently, when userspace reads a datagram with a buffer that is
      smaller than this datagram, the data will be truncated and only
      part of it can be received by users. It doesn't seem right that
      users don't know the datagram size and have to use a huge buffer
      to read it to avoid the truncation.
      
      This patch to fix it by keeping the skb in rcv queue until the
      whole data is read by users. Only the last msg of the datagram
      will be marked with MSG_EOR, just as TCP/SCTP does.
      
      Note that this will work as above only when MSG_EOR is set in the
      flags parameter of recvmsg(), so that it won't break any old user
      applications.
      Signed-off-by: default avatarXin Long <lucien.xin@gmail.com>
      Acked-by: default avatarJon Maloy <jmaloy@redhat.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      f4919ff5
    • David S. Miller's avatar
      Merge branch '1GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/t · 5242b0c6
      David S. Miller authored
      nguy/next-queue
      
      Tony Nguyen says:
      
      ====================
      1GbE Intel Wired LAN Driver Updates 2021-07-16
      
      Vinicius Costa Gomes says:
      
      Add support for steering traffic to specific RX queues using Flex Filters.
      
      As the name implies, Flex Filters are more flexible than using
      Layer-2, VLAN or MAC address filters, one of the reasons is that they
      allow "AND" operations more easily, e.g. when the user wants to steer
      some traffic based on the source MAC address and the packet ethertype.
      
      Future work include adding support for offloading tc-u32 filters to
      the hardware.
      
      The series is divided as follows:
      
      Patch 1/5, add the low level primitives for configuring Flex filters.
      
      Patch 2/5 and 3/5, allow ethtool to manage Flex filters.
      
      Patch 4/5, when specifying filters that have multiple predicates, use
      Flex filters.
      
      Patch 5/5, Adds support for exposing the i225 LEDs using the LED subsystem.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      5242b0c6
  2. 16 Jul, 2021 38 commits