mlx5: use napi_consume_skb API to get bulk free operations
authorJesper Dangaard Brouer <brouer@redhat.com>
Fri, 11 Mar 2016 08:44:17 +0000 (09:44 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Mar 2016 02:35:36 +0000 (22:35 -0400)
commit8ec736e556e3340b4b4295c7567b0766d6629702
tree543137e609a451177fffd4cd2da7aea7d05c356b
parentb4a53379a0c19df784e30b1f35af5841f2b74f30
mlx5: use napi_consume_skb API to get bulk free operations

Bulk free of SKBs happen transparently by the API call napi_consume_skb().
The napi budget parameter is needed by napi_consume_skb() to detect
if called from netpoll.

Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/en.h
drivers/net/ethernet/mellanox/mlx5/core/en_tx.c
drivers/net/ethernet/mellanox/mlx5/core/en_txrx.c