1. 02 10月, 2019 9 次提交
  2. 27 9月, 2019 2 次提交
  3. 26 9月, 2019 1 次提交
    • T
      net: stmmac: Fix page pool size · 4f28bd95
      Thierry Reding 提交于
      The size of individual pages in the page pool in given by an order. The
      order is the binary logarithm of the number of pages that make up one of
      the pages in the pool. However, the driver currently passes the number
      of pages rather than the order, so it ends up wasting quite a bit of
      memory.
      
      Fix this by taking the binary logarithm and passing that in the order
      field.
      
      Fixes: 2af6106a ("net: stmmac: Introducing support for Page Pool")
      Signed-off-by: NThierry Reding <treding@nvidia.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      4f28bd95
  4. 25 9月, 2019 1 次提交
  5. 22 9月, 2019 1 次提交
    • A
      net: stmmac: selftest: avoid large stack usage · b6b6cc9a
      Arnd Bergmann 提交于
      Putting a struct stmmac_rss object on the stack is a bad idea,
      as it exceeds the warning limit for a stack frame on 32-bit architectures:
      
      drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1221:12: error: stack frame size of 1208 bytes in function '__stmmac_test_l3filt' [-Werror,-Wframe-larger-than=]
      drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1338:12: error: stack frame size of 1208 bytes in function '__stmmac_test_l4filt' [-Werror,-Wframe-larger-than=]
      
      As the object is the trivial empty case, change the called function
      to accept a NULL pointer to mean the same thing and remove the
      large variable in the two callers.
      
      Fixes: 4647e021 ("net: stmmac: selftests: Add selftest for L3/L4 Filters")
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Acked-by: NJose Abreu <joabreu@synopsys.com>
      Signed-off-by: NJakub Kicinski <jakub.kicinski@netronome.com>
      b6b6cc9a
  6. 16 9月, 2019 2 次提交
  7. 12 9月, 2019 1 次提交
  8. 11 9月, 2019 7 次提交
  9. 07 9月, 2019 5 次提交
  10. 06 9月, 2019 1 次提交
  11. 05 9月, 2019 10 次提交
反馈
建议
客服 返回
顶部