1. 26 5月, 2017 5 次提交
  2. 22 5月, 2017 2 次提交
  3. 15 5月, 2017 1 次提交
  4. 14 4月, 2017 1 次提交
    • N
      net: stmmac: set total length of the packet to be transmitted in TDES3 · fe6af0e1
      Niklas Cassel 提交于
      Field FL/TPL in register TDES3 is not correctly set on GMAC4.
      TX appears to be functional on GMAC 4.10a even if this field is not set,
      however, to avoid relying on undefined behavior, set the length in TDES3.
      
      The field has a different meaning depending on if the TSE bit in TDES3
      is set or not (TSO). However, regardless of the TSE bit, the field is
      not optional. The field is already set correctly when the TSE bit is set.
      
      Since there is no limit for the number of descriptors that can be
      used for a single packet, the field should be set to the sum of
      the buffers contained in:
      [<desc with First Descriptor bit set> ... <desc n> ...
      <desc with Last Descriptor bit set>], which should be equal to skb->len.
      Signed-off-by: NNiklas Cassel <niklas.cassel@axis.com>
      Acked-by: NGiuseppe Cavallaro <peppe.cavallaro@st.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      fe6af0e1
  5. 12 4月, 2017 1 次提交
  6. 07 4月, 2017 4 次提交
  7. 05 4月, 2017 1 次提交
  8. 03 4月, 2017 1 次提交
  9. 31 3月, 2017 1 次提交
  10. 29 3月, 2017 1 次提交
    • A
      stmmac: use netif_set_real_num_{rx,tx}_queues · 589a1a2e
      Arnd Bergmann 提交于
      A driver must not access the two fields directly but should instead use
      the helper functions to set the values and keep a consistent internal
      state:
      
      ethernet/stmicro/stmmac/stmmac_main.c: In function 'stmmac_dvr_probe':
      ethernet/stmicro/stmmac/stmmac_main.c:4083:8: error: 'struct net_device' has no member named 'real_num_rx_queues'; did you mean 'real_num_tx_queues'?
      
      Fixes: a8f5102a ("net: stmmac: TX and RX queue priority configuration")
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      589a1a2e
  11. 25 3月, 2017 1 次提交
  12. 23 3月, 2017 2 次提交
  13. 22 3月, 2017 3 次提交
  14. 16 3月, 2017 10 次提交
  15. 14 3月, 2017 1 次提交
  16. 13 3月, 2017 5 次提交