Sieng-Piaw Liew 67d7ebdeb2 net: ag71xx: switch to napi_build_skb() to reuse skbuff_heads
napi_build_skb() reuses NAPI skbuff_head cache in order to save some
cycles on freeing/allocating skbuff_heads on every new Rx or completed
Tx.
Use napi_consume_skb() to feed the cache with skbuff_heads of completed
Tx, so it's never empty. The budget parameter is added to indicate NAPI
context, as a value of zero can be passed in the case of netpoll.

Signed-off-by: Sieng-Piaw Liew <liew.s.piaw@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2022-07-08 14:23:25 +01:00
..
2022-06-03 11:48:47 -07:00
2022-06-30 08:21:43 +09:00
2022-06-17 20:17:18 -07:00
2022-06-26 14:12:56 -07:00
2022-05-15 18:31:28 -06:00
2022-06-28 17:56:57 +02:00
2022-05-29 11:38:27 -07:00
2022-06-20 08:38:29 -05:00
2022-07-04 10:41:59 -07:00
2022-06-24 17:01:31 -07:00
2022-06-07 15:00:29 -07:00
2022-06-02 15:23:54 -07:00
2022-06-02 15:23:54 -07:00
2022-05-25 16:18:27 -07:00
2022-05-25 15:02:26 +02:00
2022-06-03 11:48:47 -07:00
2022-06-02 15:23:54 -07:00
2022-05-23 21:06:11 -07:00
2022-05-19 16:56:17 +02:00
2022-06-29 09:32:06 -07:00
2022-05-09 23:09:10 +02:00
2022-06-03 11:48:47 -07:00
2022-06-02 15:23:54 -07:00
2022-07-01 11:19:14 -07:00
2022-06-03 11:48:47 -07:00
2022-05-11 08:29:11 +03:00
2022-06-01 13:49:15 -07:00
2022-06-05 09:25:12 -07:00
2022-06-05 09:25:12 -07:00