1. 18 11月, 2014 2 次提交
  2. 12 11月, 2014 2 次提交
  3. 01 11月, 2014 1 次提交
  4. 01 10月, 2014 2 次提交
  5. 16 9月, 2014 3 次提交
  6. 16 7月, 2014 1 次提交
  7. 26 6月, 2014 5 次提交
  8. 21 6月, 2014 1 次提交
  9. 25 4月, 2014 1 次提交
  10. 23 4月, 2014 2 次提交
  11. 16 4月, 2014 1 次提交
  12. 28 3月, 2014 1 次提交
  13. 01 3月, 2014 1 次提交
  14. 25 2月, 2014 1 次提交
  15. 17 2月, 2014 1 次提交
  16. 11 1月, 2014 1 次提交
    • J
      net: core: explicitly select a txq before doing l2 forwarding · f663dd9a
      Jason Wang 提交于
      Currently, the tx queue were selected implicitly in ndo_dfwd_start_xmit(). The
      will cause several issues:
      
      - NETIF_F_LLTX were removed for macvlan, so txq lock were done for macvlan
        instead of lower device which misses the necessary txq synchronization for
        lower device such as txq stopping or frozen required by dev watchdog or
        control path.
      - dev_hard_start_xmit() was called with NULL txq which bypasses the net device
        watchdog.
      - dev_hard_start_xmit() does not check txq everywhere which will lead a crash
        when tso is disabled for lower device.
      
      Fix this by explicitly introducing a new param for .ndo_select_queue() for just
      selecting queues in the case of l2 forwarding offload. netdev_pick_tx() was also
      extended to accept this parameter and dev_queue_xmit_accel() was used to do l2
      forwarding transmission.
      
      With this fixes, NETIF_F_LLTX could be preserved for macvlan and there's no need
      to check txq against NULL in dev_hard_start_xmit(). Also there's no need to keep
      a dedicated ndo_dfwd_start_xmit() and we can just reuse the code of
      dev_queue_xmit() to do the transmission.
      
      In the future, it was also required for macvtap l2 forwarding support since it
      provides a necessary synchronization method.
      
      Cc: John Fastabend <john.r.fastabend@intel.com>
      Cc: Neil Horman <nhorman@tuxdriver.com>
      Cc: e1000-devel@lists.sourceforge.net
      Signed-off-by: NJason Wang <jasowang@redhat.com>
      Acked-by: NNeil Horman <nhorman@tuxdriver.com>
      Acked-by: NJohn Fastabend <john.r.fastabend@intel.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      f663dd9a
  17. 19 12月, 2013 1 次提交
  18. 10 12月, 2013 2 次提交
  19. 16 11月, 2013 4 次提交
  20. 15 10月, 2013 1 次提交
  21. 01 10月, 2013 1 次提交
  22. 23 8月, 2013 1 次提交
    • B
      mwifiex: do not create AP and P2P interfaces upon driver loading · 1211c961
      Bing Zhao 提交于
      Bug 60747 - 1286:2044 [Microsoft Surface Pro]
          Marvell 88W8797 wifi show 3 interface under network
      https://bugzilla.kernel.org/show_bug.cgi?id=60747
      
      This issue was also reported previously by OLPC and some folks from
      the community.
      
      There are 3 network interfaces with different types being created
      when mwifiex driver is loaded:
      
      1. mlan0 (infra. STA)
      2. uap0 (AP)
      3. p2p0 (P2P_CLIENT)
      
      The Network Manager attempts to use all 3 interfaces above without
      filtering the managed interface type. As the result, 3 identical
      interfaces are displayed under network manager. If user happens to
      click on an entry under which its interface is uap0 or p2p0, the
      association will fail.
      
      Work around it by removing the creation of AP and P2P interfaces
      at driver loading time. These interfaces can be added with 'iw' or
      other applications manually when they are needed.
      Signed-off-by: NBing Zhao <bzhao@marvell.com>
      Signed-off-by: NAvinash Patil <patila@marvell.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      1211c961
  23. 02 8月, 2013 1 次提交
  24. 27 7月, 2013 1 次提交
  25. 24 7月, 2013 2 次提交