1. 16 Mar, 2022 34 commits
  2. 15 Mar, 2022 4 commits
  3. 13 Mar, 2022 2 commits
    • David S. Miller's avatar
      Merge tag 'linux-can-next-for-5.18-20220313' of... · de29aff9
      David S. Miller authored
      Merge tag 'linux-can-next-for-5.18-20220313' of git://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can-next
      
      linux-can-next-for-5.18-20220313
      
      Marc Kleine-Budde says:
      
      ====================
      pull-request: can-next 2022-03-13
      
      this is a pull request of 13 patches for net-next/master.
      
      The 1st patch is by me and fixes the freeing of a skb in the vxcan
      driver (initially added in this net-next window).
      
      The remaining 12 patches are also by me and target the mcp251xfd
      driver. The first patch fixes a printf modifier (initially added in
      this net-next window). The remaining patches add ethtool based ring
      and RX/TX IRQ coalescing support to the driver.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      de29aff9
    • Marc Kleine-Budde's avatar
      can: mcp251xfd: ring: increase number of RX-FIFOs to 3 and increase max TX-FIFO depth to 16 · aa66ae9b
      Marc Kleine-Budde authored
      This patch increases the number of RX-FIFOs to 3 and the max TX-FIFO
      depth to 16. This leads to the following default ring configuration.
      
      CAN-2.0 mode:
      
      | FIFO setup: TEF:         0x400:  8*12 bytes =   96 bytes
      | FIFO setup: RX-0: FIFO 1/0x460: 32*20 bytes =  640 bytes
      | FIFO setup: RX-1: FIFO 2/0x6e0: 32*20 bytes =  640 bytes
      | FIFO setup: RX-2: FIFO 3/0x960: 16*20 bytes =  320 bytes
      | FIFO setup: TX:   FIFO 4/0xaa0:  8*16 bytes =  128 bytes
      | FIFO setup: free:                              224 bytes
      
      CAN-FD mode:
      
      | FIFO setup: TEF:         0x400:  4*12 bytes =   48 bytes
      | FIFO setup: RX-0: FIFO 1/0x430: 16*76 bytes = 1216 bytes
      | FIFO setup: RX-1: FIFO 2/0x8f0:  4*76 bytes =  304 bytes
      | FIFO setup: TX:   FIFO 3/0xa20:  4*72 bytes =  288 bytes
      | FIFO setup: free:                              192 bytes
      
      With the previously added ethtool ring configuration support the RAM
      on the chip can now be runtime configured between RX and TX buffers.
      
      Link: https://lore.kernel.org/20220313083640.501791-13-mkl@pengutronix.deSigned-off-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
      aa66ae9b