1. 31 7月, 2013 3 次提交
  2. 30 7月, 2013 13 次提交
  3. 29 7月, 2013 2 次提交
    • Y
      net/mlx4_core: Respond to operation request by firmware · fe6f700d
      Yevgeny Petrilin 提交于
      This commit adds new firmware command and new firmware event.  The firmware
      raises the MLX4_EVENT_TYPE_OP_REQUIRED event in order to signal the driver it
      needs to perform an administrative operation throughout the MLX4_CMD_GET_OP_REQ
      command. At the moment the supported operation is adding/removing multicast
      entries which are used by the firmware for handling NCSI traffic in B0
      steering mode.
      
      Also, had to swap the order of mlx4_init_mcg_table() and
      mlx4_init_eq_table() to make sure that driver will get events only after
      resources are initialized to handle it.
      Signed-off-by: NYevgeny Petrilin <yevgenyp@mellanox.com>
      Signed-off-by: NJack Morgenstein <jackm@dev.mellanox.com>
      Signed-off-by: NEugenia Emantayev <eugenia@mellanox.com>
      Signed-off-by: NAmir Vadai <amirv@mellanox.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      fe6f700d
    • E
      net/mlx4_en: Fix BlueFlame race · 2d4b6466
      Eugenia Emantayev 提交于
      Fix a race between BlueFlame flow and stamping in post send flow.
      Example:
      	SW: Build WQE 0 on the TX buffer, except the ownership bit
      	SW: Set ownership for WQE 0 on the TX buffer
      	SW: Ring doorbell for WQE 0
      	SW: Build WQE 1 on the TX buffer, except the ownership bit
      	SW: Set ownership for WQE 1 on the TX buffer
      	HW: Read WQE 0 and then WQE 1, before doorbell was rung/BF was done for WQE 1
      	HW: Produce CQEs for WQE 0 and WQE 1
      	SW: Process the CQEs, and stamp WQE 0 and WQE 1 accordingly (on the TX buffer)
      	SW: Copy WQE 1 from the TX buffer to the BF register - ALREADY STAMPED!
      	HW: CQE error with index 0xFFFF  - the BF WQE's control segment is STAMPED,
      		so the BF index is 0xFFFF. Error: Invalid Opcode.
      As a result QP enters the error state and no traffic can be sent.
      
      Solution:
      When stamping - do not stamp last completed wqe.
      Signed-off-by: NEugenia Emantayev <eugenia@mellanox.com>
      Signed-off-by: NAmir Vadai <amirv@mellanox.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      2d4b6466
  4. 28 7月, 2013 17 次提交
  5. 27 7月, 2013 3 次提交
  6. 25 7月, 2013 2 次提交
    • D
      pch_gbe: Add MinnowBoard support · f1a26fdf
      Darren Hart 提交于
      The MinnowBoard uses an AR803x PHY with the PCH GBE which requires
      special handling. Use the MinnowBoard PCI Subsystem ID to detect this
      and add a pci_device_id.driver_data structure and functions to handle
      platform setup.
      
      The AR803x does not implement the RGMII 2ns TX clock delay in the trace
      routing nor via strapping. Add a detection method for the board and the
      PHY and enable the TX clock delay via the registers.
      
      This PHY will hibernate without link for 10 seconds. Ensure the PHY is
      awake for probe and then disable hibernation. A future improvement would
      be to convert pch_gbe to using PHYLIB and making sure we can wake the
      PHY at the necessary times rather than permanently disabling it.
      Signed-off-by: NDarren Hart <dvhart@linux.intel.com>
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: "H. Peter Anvin" <hpa@zytor.com>
      Cc: Peter Waskiewicz <peter.p.waskiewicz.jr@intel.com>
      Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
      Cc: Joe Perches <joe@perches.com>
      Cc: netdev@vger.kernel.org
      f1a26fdf
    • W
      drivers/net/ethernet/stmicro/stmmac: don't check resource with devm_ioremap_resource · 9025c8e2
      Wolfram Sang 提交于
      devm_ioremap_resource does sanity checks on the given resource. No need to
      duplicate this in the driver.
      Signed-off-by: NWolfram Sang <wsa@the-dreams.de>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      9025c8e2