Re: [PATCH net-next] net: mv643xx_eth: Be drop monitor friendly
From: David Miller
Date: Thu Aug 24 2017 - 21:52:07 EST
From: David Miller <davem@xxxxxxxxxxxxx>
Date: Thu, 24 Aug 2017 18:27:56 -0700 (PDT)
> From: Florian Fainelli <f.fainelli@xxxxxxxxx>
> Date: Thu, 24 Aug 2017 16:04:25 -0700
>
>> txq_reclaim() does the normal transmit queue reclamation and
>> rxq_deinit() does the RX ring cleanup, none of these are packet drops,
>> so use dev_consume_skb() for both locations.
>>
>> Signed-off-by: Florian Fainelli <f.fainelli@xxxxxxxxx>
>
> Applied.
-ENOCOMPILE?
drivers/net/ethernet/marvell/mv643xx_eth.c: In function ʽtxq_reclaimʼ:
drivers/net/ethernet/marvell/mv643xx_eth.c:1124:5: error: implicit declaration of function ʽdev_consume_skbʼ; did you mean ʽdev_consume_skb_anyʼ? [-Werror=implicit-function-declaration]
dev_consume_skb(skb);
^~~~~~~~~~~~~~~
dev_consume_skb_any
Reverted.