]> git.baikalelectronics.ru Git - kernel.git/commit
net: bcmgenet: do not set packet length for RX buffers
authorFlorian Fainelli <f.fainelli@gmail.com>
Thu, 26 Jun 2014 17:26:22 +0000 (10:26 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 Jul 2014 00:25:03 +0000 (17:25 -0700)
commit67aa17031ec5a6473de9a2958ca57d4c3c08b0de
tree8e8f166f5f57fc9e815269a2e6c50fc9213af823
parent0185ffc388799d3b33953f35ee609874b04a6d97
net: bcmgenet: do not set packet length for RX buffers

Hardware will provide this information as soon as we will start
processing incoming packets, so there is no need to set the RX buffer
length during buffer allocation.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/genet/bcmgenet.c