1. 13 11月, 2017 2 次提交
  2. 18 10月, 2017 2 次提交
  3. 13 10月, 2017 1 次提交
  4. 01 10月, 2017 1 次提交
  5. 06 9月, 2017 1 次提交
  6. 22 8月, 2017 1 次提交
  7. 14 6月, 2017 1 次提交
  8. 02 6月, 2017 2 次提交
  9. 18 5月, 2017 2 次提交
  10. 09 4月, 2017 3 次提交
  11. 29 3月, 2017 1 次提交
  12. 30 1月, 2017 2 次提交
  13. 25 1月, 2017 1 次提交
  14. 19 1月, 2017 1 次提交
  15. 05 6月, 2016 1 次提交
  16. 01 8月, 2015 1 次提交
    • F
      net: dsa: Refactor transmit path to eliminate duplication · 4ed70ce9
      Florian Fainelli 提交于
      All tagging protocols do the same thing: increment device statistics,
      make room for the tag to be inserted, create the tag, invoke the parent
      network device transmit function.
      
      In order to prepare for adding netpoll support, which requires the tag
      creation, but not using the parent network device transmit function, do
      some little refactoring which eliminates duplication between the 4
      tagging protocols supported.
      
      We need to return a sk_buff pointer back to the caller because the tag
      specific transmit function may have to reallocate the original skb (e.g:
      tag_trailer.c) and this is the one we should be transmitting, not the
      original sk_buff we were passed.
      Signed-off-by: NFlorian Fainelli <f.fainelli@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      4ed70ce9
  17. 16 9月, 2014 1 次提交
    • A
      dsa: Split ops up, and avoid assigning tag_protocol and receive separately · 5075314e
      Alexander Duyck 提交于
      This change addresses several issues.
      
      First, it was possible to set tag_protocol without setting the ops pointer.
      To correct that I have reordered things so that rcv is now populated before
      we set tag_protocol.
      
      Second, it didn't make much sense to keep setting the device ops each time a
      new slave was registered.  So by moving the receive portion out into root
      switch initialization that issue should be addressed.
      
      Third, I wanted to avoid sending tags if the rcv pointer was not registered
      so I changed the tag check to verify if the rcv function pointer is set on
      the root tree.  If it is then we start sending DSA tagged frames.
      
      Finally I split the device ops pointer in the structures into two spots.  I
      placed the rcv function pointer in the root switch since this makes it
      easiest to access from there, and I placed the xmit function pointer in the
      slave for the same reason.
      Signed-off-by: NAlexander Duyck <alexander.h.duyck@intel.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      5075314e
  18. 14 9月, 2014 1 次提交
  19. 28 8月, 2014 1 次提交