1. 25 Apr, 2017 2 commits
  2. 24 Apr, 2017 2 commits
    • Vikram Narayanan's avatar
      lcd/ixgbe: Support timers · 607f74c1
      Vikram Narayanan authored
      
      
      Timers can't run inside LCD as there is no support. So, start a timer in KLCD
      (but with a lower frequency compared to the original one) and trigger a handler
      inside LCD when the timer expires.
      
      In case of ixgbe driver, a service_event is triggered by the timer.
      
      Also add support for asynchronous register dump via sysfs module params.
      
      Signed-off-by: Vikram Narayanan's avatarVikram Narayanan <vikram186@gmail.com>
      607f74c1
    • Vikram Narayanan's avatar
      lcd/ixgbe: Add more functions · b2d3f159
      Vikram Narayanan authored
      
      
      Add the following functions
      * __hw_addr_sync_dev
      * __hw_addr_unsync_dev
      * pci_disable_msix
      * pci_enable_msix_range
      * netif_tx_wake_all_queues
      
      pci helpers are required for manipulating msi interrupts. __hw_addr helpers
      provide functionality for adding/removing hw address to the netdev address
      lists.
      
      Also add print and dump stack in all the stub functions to know where this
      function originates from.
      
      Signed-off-by: Vikram Narayanan's avatarVikram Narayanan <vikram186@gmail.com>
      b2d3f159
  3. 06 Apr, 2017 1 commit
    • Vikram Narayanan's avatar
      lcd/ixgbe: Support netdev_ops for ixgbe · 64912900
      Vikram Narayanan authored
      
      
      Enable the following function pointers:
      * ndo_open
      * ndo_stop
      * ndo_start_xmit
      * ndo_set_rx_mode
      * ndo_validate_addr
      * ndo_set_mac_address
      * ndo_change_mtu
      * ndo_tx_timeout
      * ndo_set_tx_maxrate
      * ndo_get_stats64
      
      Add missing dev_addr_add function as well. Remove VLAN features from ixgbe (to
      be explored in the future)
      
      Signed-off-by: Vikram Narayanan's avatarVikram Narayanan <vikram186@gmail.com>
      64912900
  4. 04 Apr, 2017 1 commit
  5. 03 Apr, 2017 1 commit
  6. 29 Mar, 2017 1 commit
    • Vikram Narayanan's avatar
      lcd/ixgbe: Mask unneeded functions · 06f14653
      Vikram Narayanan authored
      
      
      Replace
      * dev_{warn,err,info,crit} with LIBLCD variants.
      * v{m,z}alloc with kmalloc for now as vmalloc is not fully supported in the liblcd
      implementation.
      * {alloc,free}_pages with lcd variants
      
      Mask functions that won't be used with LCD driver (for instance irq related
      stuff). Add stubs for other functions that are unlikely to be RPC-ed or pulled
      in.
      
      Signed-off-by: Vikram Narayanan's avatarVikram Narayanan <vikram186@gmail.com>
      06f14653
  7. 27 Mar, 2017 1 commit
  8. 17 Aug, 2016 1 commit
  9. 16 Aug, 2016 2 commits
  10. 22 Jul, 2016 3 commits
  11. 15 Jul, 2016 1 commit
  12. 11 Jul, 2016 1 commit
  13. 29 Jun, 2016 2 commits
  14. 23 Jun, 2016 1 commit
  15. 17 Jun, 2016 1 commit
    • Alexander Duyck's avatar
      ixgbe: Replace ndo_add/del_vxlan_port with ndo_add/del_udp_enc_port · b3a49557
      Alexander Duyck authored
      
      
      This change replaces the network device operations for adding or removing a
      VXLAN port with operations that are more generically defined to be used for
      any UDP offload port but provide a type.  As such by just adding a line to
      verify that the offload type is VXLAN we can maintain the same
      functionality.
      
      In addition I updated the socket address family check so that instead of
      excluding IPv6 we instead abort of type is not IPv4.  This makes much more
      sense as we should only be supporting IPv4 outer addresses on this
      hardware.
      
      The last change is that I pulled the rtnl_lock/unlock into the conditional
      statement for IXGBE_FLAG2_VXLAN_REREG_NEEDED.  The motivation behind this
      is to avoid unneeded bouncing of the mutex which will just slow down the
      handling of this call anyway.
      
      Signed-off-by: default avatarAlexander Duyck <aduyck@mirantis.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      b3a49557
  16. 20 May, 2016 2 commits
  17. 16 May, 2016 2 commits
  18. 04 May, 2016 7 commits
  19. 25 Apr, 2016 5 commits
  20. 24 Apr, 2016 1 commit
  21. 21 Apr, 2016 1 commit
  22. 07 Apr, 2016 1 commit