1. 09 Aug, 2017 1 commit
  2. 21 May, 2017 1 commit
  3. 17 Apr, 2017 1 commit
  4. 13 Apr, 2017 1 commit
  5. 04 Dec, 2016 1 commit
  6. 09 Oct, 2015 1 commit
    • Paul Gortmaker's avatar
      net/dcb: make dcbnl.c explicitly non-modular · 36b9ad80
      Paul Gortmaker authored
      The Kconfig currently controlling compilation of this code is:
      net/dcb/Kconfig:config DCB
      net/dcb/Kconfig:        bool "Data Center Bridging support"
      ...meaning that it currently is not being built as a module by anyone.
      Lets remove the modular code that is essentially orphaned, so that
      when reading the driver there is no doubt it is builtin-only.
      Since module_init translates to device_initcall in the non-modular
      case, the init ordering remains unchanged with this commit.  We can
      change to one of the other priority initcalls (subsys?) at any later
      date, if desired.
      We also delete the MODULE_LICENSE tag etc. since all that information
      is (or is now) already contained at the top of the file in the comments.
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: Or Gerlitz <ogerlitz@mellanox.com>
      Cc: Anish Bhatt <anish@chelsio.com>
      Cc: John Fastabend <john.r.fastabend@intel.com>
      Cc: Shani Michaeli <shanim@mellanox.com>
      Cc: netdev@vger.kernel.org
      Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
  7. 07 Mar, 2015 1 commit
  8. 16 Nov, 2014 1 commit
    • Anish Bhatt's avatar
      dcbnl : Disable software interrupts before taking dcb_lock · 52cff74e
      Anish Bhatt authored
      Solves possible lockup issues that can be seen from firmware DCB agents calling
      into the DCB app api.
      DCB firmware event queues can be tied in with NAPI so that dcb events are
      generated in softIRQ context. This can results in calls to dcb_*app()
      functions which try to take the dcb_lock.
      If the the event triggers while we also have the dcb_lock because lldpad or
      some other agent happened to be issuing a  get/set command we could see a cpu
      This code was not originally written with firmware agents in mind, hence
      grabbing dcb_lock from softIRQ context was not considered.
      Signed-off-by: default avatarAnish Bhatt <anish@chelsio.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
  9. 31 Jul, 2014 1 commit
  10. 17 Jul, 2014 1 commit
  11. 24 Apr, 2014 1 commit
  12. 15 Jan, 2014 1 commit
  13. 06 Dec, 2013 1 commit
  14. 22 Mar, 2013 1 commit
  15. 10 Mar, 2013 1 commit
    • Mathias Krause's avatar
      dcbnl: fix various netlink info leaks · 29cd8ae0
      Mathias Krause authored
      The dcb netlink interface leaks stack memory in various places:
      * perm_addr[] buffer is only filled at max with 12 of the 32 bytes but
        copied completely,
      * no in-kernel driver fills all fields of an IEEE 802.1Qaz subcommand,
        so we're leaking up to 58 bytes for ieee_ets structs, up to 136 bytes
        for ieee_pfc structs, etc.,
      * the same is true for CEE -- no in-kernel driver fills the whole
      Prevent all of the above stack info leaks by properly initializing the
      buffers/structures involved.
      Signed-off-by: default avatarMathias Krause <minipli@googlemail.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
  16. 09 Mar, 2013 1 commit
  17. 10 Dec, 2012 1 commit
  18. 19 Nov, 2012 1 commit
  19. 10 Sep, 2012 1 commit
  20. 11 Jul, 2012 1 commit
  21. 21 Jun, 2012 1 commit
  22. 14 Jun, 2012 2 commits
  23. 13 Jun, 2012 8 commits
  24. 25 Apr, 2012 1 commit
  25. 05 Apr, 2012 1 commit
    • Amir Vadai's avatar
      net/dcb: Add an optional max rate attribute · 08f10aff
      Amir Vadai authored
      Although not specified in 8021Qaz spec, it could be useful to enable drivers
      whose HW supports setting a rate limit for an ETS TC. This patch adds this
      optional attribute to DCB netlink. To use it, drivers should implement and
      register the callbacks ieee_setmaxrate and ieee_getmaxrate. The units are 64
      bits long and specified in Kbps to enable usage over both slow and very fast
      Signed-off-by: default avatarAmir Vadai <amirv@mellanox.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
  26. 02 Apr, 2012 1 commit
  27. 31 Oct, 2011 2 commits
  28. 06 Oct, 2011 2 commits
  29. 08 Jul, 2011 1 commit
  30. 06 Jul, 2011 1 commit
    • Shmulik Ravid's avatar
      dcbnl: Add CEE notification · 5b7f7626
      Shmulik Ravid authored
      This patch add an unsolicited notification of the DCBX negotiated
      parameters for the CEE flavor of the DCBX protocol. The notification
      message is identical to the aggregated CEE get operation and holds all
      the pertinent local and peer information. The notification routine is
      exported so it can be invoked by drivers supporting an embedded DCBX
      Signed-off-by: default avatarShmulik Ravid <shmulikr@broadcom.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>