1. 02 Apr, 2017 5 commits
    • Vikram Narayanan's avatar
      liblcd: Add checksum and dql support · 8553ceb2
      Vikram Narayanan authored
      checksum and DQL (dynamic queue limits) are used by ixgbe driver. Add this to
      liblcd as this may be used by other modules too in the future.
      Signed-off-by: Vikram Narayanan's avatarVikram Narayanan <vikram186@gmail.com>
      8553ceb2
    • Vikram Narayanan's avatar
      lcd/ixgbe: Add a mechanism for graceful exit of LCD · 7e0abe8f
      Vikram Narayanan authored
      A module parameter is added to the KLCD module, which is exposed by the kernel
      in sysfs. The dispatch loop monitors for a change in this variable and sends a
      message to LCD to exit, thereby paving way for LCD to gracefully exit.
      Signed-off-by: Vikram Narayanan's avatarVikram Narayanan <vikram186@gmail.com>
      7e0abe8f
    • Vikram Narayanan's avatar
      lcd/ixgbe: Add udelay/msleep support · 26efd0f5
      Vikram Narayanan authored
      msleep is just a wrapper around udelay, which is a tight loop. msleep must be
      replaced with a real timer in the future
      Signed-off-by: Vikram Narayanan's avatarVikram Narayanan <vikram186@gmail.com>
      26efd0f5
    • Vikram Narayanan's avatar
      lcd/ixgbe: Add support for more funtions · bae1379a
      Vikram Narayanan authored
      A detailed list of functions supported
      * register_netdev
      * ether_setup
      * eth_mac_addr
      * eth_validate_addr
      * free_netdev
      * netif_carrier_off
      * netif_carrier_on
      * netif_device_attach
      * netif_device_detach
      * netif_set_real_num_rx_queues
      * netif_set_real_num_tx_queues
      * consume_skb
      * unregister_netdev
      * eth_platform_get_mac_address
      * dev_addr_del
      * device_set_wakeup_enable
      * eth_get_headlen
      * netif_tx_stop_all_queues
      * pci_disable_pcie_error_reporting
      * pci_bus_read_config_word
      * pci_bus_write_config_word
      * pci_cleanup_aer_uncorrect_error_status
      * pci_disable_device
      * pci_disable_msi
      * pci_disable_msix
      * pci_enable_msix_range
      * pci_enable_msi_range
      * pci_enable_pcie_error_reporting
      * pcie_capability_read_word
      * pcie_get_minimum_link
      * pci_enable_device_mem
      * pci_request_selected_regions
      * pci_request_selected_regions_exclusive
      * pci_set_master
      * pci_save_state
      * pci_restore_state
      * pci_prepare_to_sleep
      * pci_set_power_state
      * pci_release_selected_regions
      * pci_select_bars
      * pci_wake_from_d3
      Signed-off-by: Vikram Narayanan's avatarVikram Narayanan <vikram186@gmail.com>
      bae1379a
    • Vikram Narayanan's avatar
      lcd/ixgbe: Refactor glue helpers · 215b2524
      Vikram Narayanan authored
      Signed-off-by: Vikram Narayanan's avatarVikram Narayanan <vikram186@gmail.com>
      215b2524
  2. 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
  3. 27 Mar, 2017 5 commits
  4. 19 Mar, 2017 1 commit
  5. 17 Mar, 2017 4 commits
  6. 23 Feb, 2017 1 commit
  7. 05 Jan, 2017 1 commit
  8. 19 Dec, 2016 18 commits
  9. 06 Dec, 2016 1 commit
    • Vikram Narayanan's avatar
      merge/v4.8/lcd: Fix lock padding in cptr_cache · 6a435b3b
      Vikram Narayanan authored
      struct cptr_cache in libcap has struct mutex as a member. In its original
      definition struct mutex has ifdef'd members, depending on the config chosen.
      Since, liblcd build undef's certain config's explicitly (such as CONFIG_SMP),
      this alters the size of struct mutex inside liblcd. To make the struct mutexes
      equal in size, padding was introduced.
      
      with 4.8, there is no difference in struct mutex size inside liblcd. So, make
      this padding to zero for proper functioning of libcap.
      Signed-off-by: Vikram Narayanan's avatarVikram Narayanan <vikram186@gmail.com>
      6a435b3b
  10. 27 Nov, 2016 3 commits