1. 13 12月, 2014 1 次提交
  2. 12 12月, 2014 1 次提交
  3. 11 12月, 2014 1 次提交
  4. 10 12月, 2014 1 次提交
  5. 09 12月, 2014 1 次提交
    • E
      ethtool: Support for configurable RSS hash function · 892311f6
      Eyal Perry 提交于
      This patch extends the set/get_rxfh ethtool-options for getting or
      setting the RSS hash function.
      
      It modifies drivers implementation of set/get_rxfh accordingly.
      
      This change also delegates the responsibility of checking whether a
      modification to a certain RX flow hash parameter is supported to the
      driver implementation of set_rxfh.
      
      User-kernel API is done through the new hfunc bitmask field in the
      ethtool_rxfh struct. A bit set in the hfunc field is corresponding to an
      index in the new string-set ETH_SS_RSS_HASH_FUNCS.
      
      Got approval from most of the relevant driver maintainers that their
      driver is using Toeplitz, and for the few that didn't answered, also
      assumed it is Toeplitz.
      
      Cc: Tom Lendacky <thomas.lendacky@amd.com>
      Cc: Ariel Elior <ariel.elior@qlogic.com>
      Cc: Prashant Sreedharan <prashant@broadcom.com>
      Cc: Michael Chan <mchan@broadcom.com>
      Cc: Hariprasad S <hariprasad@chelsio.com>
      Cc: Sathya Perla <sathya.perla@emulex.com>
      Cc: Subbu Seetharaman <subbu.seetharaman@emulex.com>
      Cc: Ajit Khaparde <ajit.khaparde@emulex.com>
      Cc: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
      Cc: Jesse Brandeburg <jesse.brandeburg@intel.com>
      Cc: Bruce Allan <bruce.w.allan@intel.com>
      Cc: Carolyn Wyborny <carolyn.wyborny@intel.com>
      Cc: Don Skidmore <donald.c.skidmore@intel.com>
      Cc: Greg Rose <gregory.v.rose@intel.com>
      Cc: Matthew Vick <matthew.vick@intel.com>
      Cc: John Ronciak <john.ronciak@intel.com>
      Cc: Mitch Williams <mitch.a.williams@intel.com>
      Cc: Amir Vadai <amirv@mellanox.com>
      Cc: Solarflare linux maintainers <linux-net-drivers@solarflare.com>
      Cc: Shradha Shah <sshah@solarflare.com>
      Cc: Shreyas Bhatewara <sbhatewara@vmware.com>
      Cc: "VMware, Inc." <pv-drivers@vmware.com>
      Cc: Ben Hutchings <ben@decadent.org.uk>
      Signed-off-by: NEyal Perry <eyalpe@mellanox.com>
      Signed-off-by: NAmir Vadai <amirv@mellanox.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      892311f6
  6. 03 12月, 2014 1 次提交
  7. 26 11月, 2014 1 次提交
    • H
      cxgb4/cxgb4vf/csiostor: Add T4/T5 PCI ID Table · 3fedeab1
      Hariprasad Shenai 提交于
      Add a new file t4_pci_id_tbl.h that contains T4/T5 PCI ID Table so that for all
      drivers that uses T4/T5 PCI functions changes can be done in one place.
      
      checkpatch.pl script reports following error, which if tried to fix ends up in
      compilation error.
      
      	ERROR: Macros with complex values should be enclosed in parentheses
      	+#define CH_PCI_DEVICE_ID_TABLE_DEFINE_END \
      	+		{ 0, } \
      	+	}
      
      	WARNING: added, moved or deleted file(s), does MAINTAINERS need updating?
      	new file mode 100644
      
      	ERROR: Macros with complex values should be enclosed in parentheses
      	+#define CH_PCI_ID_TABLE_FENTRY(devid) \
      	+	CH_PCI_ID_TABLE_ENTRY((devid) | \
      	+			      ((CH_PCI_DEVICE_ID_FUNCTION) << 8)), \
      	+	CH_PCI_ID_TABLE_ENTRY((devid) | \
      	+			      ((CH_PCI_DEVICE_ID_FUNCTION2) << 8))
      
      	ERROR: Macros with complex values should be enclosed in parentheses
      	+#define CH_PCI_DEVICE_ID_TABLE_DEFINE_END { 0, } }
      
      	ERROR: Macros with complex values should be enclosed in parentheses
      	+#define CH_PCI_DEVICE_ID_TABLE_DEFINE_END { 0, } }
      Signed-off-by: NHariprasad Shenai <hariprasad@chelsio.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      3fedeab1
  8. 23 11月, 2014 4 次提交
  9. 14 11月, 2014 1 次提交
  10. 13 11月, 2014 1 次提交
  11. 11 11月, 2014 5 次提交
  12. 31 10月, 2014 1 次提交
  13. 28 10月, 2014 1 次提交
  14. 15 10月, 2014 3 次提交
  15. 10 10月, 2014 1 次提交
  16. 29 9月, 2014 2 次提交
  17. 16 9月, 2014 1 次提交
  18. 11 9月, 2014 1 次提交
  19. 10 9月, 2014 1 次提交
  20. 02 9月, 2014 3 次提交
  21. 22 8月, 2014 1 次提交
  22. 13 8月, 2014 1 次提交
  23. 08 8月, 2014 1 次提交
    • A
      cxgb4: IEEE fixes for DCBx state machine · 10b00466
      Anish Bhatt 提交于
      * Changes required due to 16eecd9b ("dcbnl : Fix misleading
        dcb_app->priority explanation")
      * Driver was previously not aware of what DCBx version was negotiated by
        firmware, this could lead to DCB app table  in kernel or in firmware being
        populated wrong  since IEEE/CEE used different formats made clear by above
        mentioned commit
      * Driver was missing a couple of state transitions that could be caused
        by other drivers that use chelsio hardware, resulting in incorrect behaviour
        (the change that addresses this also flips the state machine to switch on
         state instead of transition, hope this is okay in current window)
      * Prio queue info & tsa is no longer thrown away
      
      v2: Print DCBx state transition messages only when debug is enabled
      Signed-off-by: NAnish Bhatt <anish@chelsio.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      10b00466
  24. 07 8月, 2014 1 次提交
  25. 06 8月, 2014 1 次提交
  26. 18 7月, 2014 1 次提交
  27. 16 7月, 2014 2 次提交
    • H
      cxgb4/iw_cxgb4: work request logging feature · 7730b4c7
      Hariprasad Shenai 提交于
      This commit enhances the iwarp driver to optionally keep a log of rdma
      work request timining data for kernel mode QPs.  If iw_cxgb4 module option
      c4iw_wr_log is set to non-zero, each work request is tracked and timing
      data maintained in a rolling log that is 4096 entries deep by default.
      Module option c4iw_wr_log_size_order allows specifing a log2 size to use
      instead of the default order of 12 (4096 entries). Both module options
      are read-only and must be passed in at module load time to set them. IE:
      
      modprobe iw_cxgb4 c4iw_wr_log=1 c4iw_wr_log_size_order=10
      
      The timing data is viewable via the iw_cxgb4 debugfs file "wr_log".
      Writing anything to this file will clear all the timing data.
      Data tracked includes:
      
      - The host time when the work request was posted, just before ringing
      the doorbell.  The host time when the completion was polled by the
      application.  This is also the time the log entry is created.  The delta
      of these two times is the amount of time took processing the work request.
      
      - The qid of the EQ used to post the work request.
      
      - The work request opcode.
      
      - The cqe wr_id field.  For sq completions requests this is the swsqe
      index.  For recv completions this is the MSN of the ingress SEND.
      This value can be used to match log entries from this log with firmware
      flowc event entries.
      
      - The sge timestamp value just before ringing the doorbell when
      posting,  the sge timestamp value just after polling the completion,
      and CQE.timestamp field from the completion itself.  With these three
      timestamps we can track the latency from post to poll, and the amount
      of time the completion resided in the CQ before being reaped by the
      application.  With debug firmware, the sge timestamp is also logged by
      firmware in its flowc history so that we can compute the latency from
      posting the work request until the firmware sees it.
      Signed-off-by: NSteve Wise <swise@opengridcomputing.com>
      Signed-off-by: NHariprasad Shenai <hariprasad@chelsio.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      7730b4c7
    • H
      cxgb4/iw_cxgb4: display TPTE on errors · 031cf476
      Hariprasad Shenai 提交于
      With ingress WRITE or READ RESPONSE errors, HW provides the offending
      stag from the packet.  This patch adds logic to log the parsed TPTE
      in this case. cxgb4 now exports a function to read a TPTE entry
      from adapter memory.
      Signed-off-by: NSteve Wise <swise@opengridcomputing.com>
      Signed-off-by: NHariprasad Shenai <hariprasad@chelsio.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      031cf476