1. Jul 30, 2013
  2. Jul 29, 2013
    • Yevgeny Petrilin's avatar
      net/mlx4_core: Respond to operation request by firmware · fe6f700d
      Yevgeny Petrilin authored
      
      
      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: default avatarYevgeny Petrilin <yevgenyp@mellanox.com>
      Signed-off-by: default avatarJack Morgenstein <jackm@dev.mellanox.com>
      Signed-off-by: default avatarEugenia Emantayev <eugenia@mellanox.com>
      Signed-off-by: default avatarAmir Vadai <amirv@mellanox.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      fe6f700d
    • Eugenia Emantayev's avatar
      net/mlx4_en: Fix BlueFlame race · 2d4b6466
      Eugenia Emantayev authored
      
      
      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: default avatarEugenia Emantayev <eugenia@mellanox.com>
      Signed-off-by: default avatarAmir Vadai <amirv@mellanox.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      2d4b6466
    • Stephen Rothwell's avatar
      pktgen: add needed include file · 73d94e94
      Stephen Rothwell authored
      
      
      Fixes this on PowerPC (at least):
      
      net/core/pktgen.c: In function 'fill_packet_ipv6':
      net/core/pktgen.c:2906:3: error: implicit declaration of function 'csum_ipv6_magic' [-Werror=implicit-function-declaration]
         udph->check = ~csum_ipv6_magic(&iph->saddr, &iph->daddr, udplen, IPPROTO_UDP, 0);
         ^
      
      Signed-off-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      73d94e94
    • David S. Miller's avatar
      Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/net-next · 34d073fc
      David S. Miller authored
      Jeff Kirsher says:
      
      ====================
      This series contains updates to e100 and e1000e.
      
      The e100 patch from Andy simply updates the netif_printk() to use
      %*ph to dump small buffers.
      
      The changes to e1000e include a fix from Dean Nelson to resolve a
      issue where a pci_clear_master() was accidentally dropped during a
      conflict resolution. Wei Young provides 2 patches, one removes an
      assignment of the default ring size because it was a duplicate. The
      second changes the packet split receive structure to use
      PS_PAGE_BUFFERS macro for the length so that problems won't occur
      when the length is changed.
      
      The remaining patches for e1000e are from Bruce Allan, where he
      provides a number of fixes and updates for I218.  In addition, a
      fix for 82583 which can disappear off the PCIe bus, to resolve this,
      disable ASPM L1.  Bruce also provides a fix to a previous commit
      (commit e60b22c5
      
       e1000e: fix accessing to suspended device) so that
      devices are only taken out of runtime power management for those
      ethtool operations that must access device registers.
      ====================
      
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      34d073fc
    • Hannes Frederic Sowa's avatar
      ipv4, ipv6: send igmpv3/mld packets with TC_PRIO_CONTROL · 9d4a0314
      Hannes Frederic Sowa authored
      
      
      v2:
      a) Also send ipv4 igmp messages with TC_PRIO_CONTROL
      
      Cc: William Manley <william.manley@youview.com>
      Cc: Lukas Tribus <luky-37@hotmail.com>
      Acked-by: default avatarBenjamin LaHaise <bcrl@kvack.org>
      Signed-off-by: default avatarHannes Frederic Sowa <hannes@stressinduktion.org>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      9d4a0314
  3. Jul 28, 2013
  4. Jul 27, 2013