1. 12 8月, 2015 6 次提交
  2. 10 8月, 2015 4 次提交
  3. 04 8月, 2015 1 次提交
  4. 27 7月, 2015 1 次提交
  5. 21 7月, 2015 1 次提交
    • V
      net: dsa: mv88e6xxx: fix fid_mask when leaving bridge · 40a71660
      Vivien Didelot 提交于
      The mv88e6xxx_priv_state structure contains an fid_mask, where 1 means
      the FID is free to use, 0 means the FID is in use.
      
      This patch fixes the bit clear in mv88e6xxx_leave_bridge() when
      assigning a new FID to a port.
      
      Example scenario: I have 7 ports, port 5 is CPU, port 6 is unused (no
      PHY). After setting the ports 0, 1 and 2 in bridge br0, and ports 3 and
      4 in bridge br1, I have the following fid_mask: 0b111110010110 (0xf96).
      
      Indeed, br0 uses FID 0, and br1 uses FID 3.
      
      After setting nomaster for port 0, I get the wrong fid_mask: 0b10 (0x2).
      
      With this patch we correctly get 0b111110010100 (0xf94), meaning port 0
      uses FID 1, br0 uses FID 0, and br1 uses FID 3.
      Signed-off-by: NVivien Didelot <vivien.didelot@savoirfairelinux.com>
      Reviewed-by: NGuenter Roeck <linux@roeck-us.net>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      40a71660
  6. 10 7月, 2015 1 次提交
  7. 23 6月, 2015 7 次提交
  8. 08 6月, 2015 1 次提交
  9. 10 5月, 2015 5 次提交
  10. 04 5月, 2015 1 次提交
  11. 21 4月, 2015 2 次提交
  12. 17 4月, 2015 3 次提交
  13. 02 4月, 2015 7 次提交