[qca-nss-drv] Consume skbs based on their head

Skbs used to be consumed based on the last descriptor
information. Changed to consume on the first descriptor.

Consuming skbs on the last descriptor created issues when
exceptioning packets. In firmware, setting the exception src on
a sg chain only applies to the first skb. This is why we
now should except on the first skb to go to the approriate
callback.

Change-Id: Id33c880fc80e5013f60c328ea21fa07490b6db9d
Signed-off-by: Thomas Wu <wthomas@codeaurora.org>
2 files changed
tree: 1fbf442522b0b0b498600cb832352da1bc277d54
  1. exports/
  2. nss_data_plane/
  3. nss_hal/
  4. Makefile
  5. Makefile.fsm
  6. nss_bridge.c
  7. nss_c2c_rx.c
  8. nss_c2c_rx.h
  9. nss_c2c_rx_stats.c
  10. nss_c2c_tx.c
  11. nss_c2c_tx_stats.c
  12. nss_c2c_tx_stats.h
  13. nss_capwap.c
  14. nss_capwap_stats.c
  15. nss_capwap_stats.h
  16. nss_cmn.c
  17. nss_core.c
  18. nss_core.h
  19. nss_coredump.c
  20. nss_crypto.c
  21. nss_crypto_cmn.c
  22. nss_dscp_map.h
  23. nss_dtls.c
  24. nss_dtls_cmn.c
  25. nss_dtls_stats.c
  26. nss_dtls_stats.h
  27. nss_dynamic_interface.c
  28. nss_edma.c
  29. nss_edma_stats.c
  30. nss_edma_stats.h
  31. nss_eth_rx.c
  32. nss_eth_rx_stats.c
  33. nss_eth_rx_stats.h
  34. nss_freq.c
  35. nss_gre.c
  36. nss_gre_redir.c
  37. nss_gre_redir_lag_ds.c
  38. nss_gre_redir_lag_ds_stats.c
  39. nss_gre_redir_lag_ds_stats.h
  40. nss_gre_redir_lag_us.c
  41. nss_gre_redir_lag_us_stats.c
  42. nss_gre_redir_lag_us_stats.h
  43. nss_gre_redir_stats.c
  44. nss_gre_redir_stats.h
  45. nss_gre_stats.c
  46. nss_gre_stats.h
  47. nss_gre_tunnel.c
  48. nss_gre_tunnel_stats.c
  49. nss_gre_tunnel_stats.h
  50. nss_hlos_if.h
  51. nss_if.c
  52. nss_init.c
  53. nss_ipsec.c
  54. nss_ipv4.c
  55. nss_ipv4_log.c
  56. nss_ipv4_reasm.c
  57. nss_ipv4_reasm_stats.c
  58. nss_ipv4_reasm_stats.h
  59. nss_ipv4_stats.c
  60. nss_ipv4_stats.h
  61. nss_ipv6.c
  62. nss_ipv6_log.c
  63. nss_ipv6_reasm.c
  64. nss_ipv6_reasm_stats.c
  65. nss_ipv6_reasm_stats.h
  66. nss_ipv6_stats.c
  67. nss_ipv6_stats.h
  68. nss_l2tpv2.c
  69. nss_l2tpv2_stats.c
  70. nss_l2tpv2_stats.h
  71. nss_lag.c
  72. nss_log.c
  73. nss_log.h
  74. nss_lso_rx.c
  75. nss_lso_rx.h
  76. nss_lso_rx_stats.c
  77. nss_map_t.c
  78. nss_map_t_stats.c
  79. nss_map_t_stats.h
  80. nss_n2h.c
  81. nss_n2h_stats.c
  82. nss_n2h_stats.h
  83. nss_oam.c
  84. nss_phys_if.c
  85. nss_phys_if.h
  86. nss_pm.c
  87. nss_pm.h
  88. nss_portid.c
  89. nss_portid_stats.c
  90. nss_portid_stats.h
  91. nss_ppe.c
  92. nss_ppe.h
  93. nss_ppe_stats.c
  94. nss_ppe_stats.h
  95. nss_pppoe.c
  96. nss_pppoe_stats.c
  97. nss_pppoe_stats.h
  98. nss_pptp.c
  99. nss_pptp_stats.c
  100. nss_pptp_stats.h
  101. nss_profiler.c
  102. nss_project.c
  103. nss_qrfs.c
  104. nss_qrfs_stats.c
  105. nss_qrfs_stats.h
  106. nss_rps.c
  107. nss_shaper.c
  108. nss_sjack.c
  109. nss_sjack_stats.c
  110. nss_sjack_stats.h
  111. nss_stats.c
  112. nss_stats.h
  113. nss_trustsec_tx.c
  114. nss_trustsec_tx_stats.c
  115. nss_trustsec_tx_stats.h
  116. nss_tstamp.c
  117. nss_tun6rd.c
  118. nss_tunipip6.c
  119. nss_tx_rx_common.h
  120. nss_tx_rx_offload.c
  121. nss_tx_rx_virt_if.c
  122. nss_tx_rx_virt_if_stats.c
  123. nss_virt_if.c
  124. nss_virt_if_stats.c
  125. nss_virt_if_stats.h
  126. nss_vlan.c
  127. nss_wifi.c
  128. nss_wifi_if.c
  129. nss_wifi_if_stats.c
  130. nss_wifi_if_stats.h
  131. nss_wifi_stats.c
  132. nss_wifi_stats.h
  133. nss_wifi_vdev.c
  134. nss_wifili.c
  135. nss_wifili_stats.c
  136. nss_wifili_stats.h