diff options
author | Christian Lamparter <chunkeey@gmail.com> | 2019-02-06 00:20:09 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-07 06:50:41 +0300 |
commit | 22087d659212d2401f4caa602fd57160ff1e6222 (patch) | |
tree | a47534e6f69bd93e8478ffff37fa4653afec0cca /drivers/net/ethernet/ibm/emac/Kconfig | |
parent | a6e11f6bbd29a92d1357c2f3033a70fb1b767432 (diff) | |
download | linux-22087d659212d2401f4caa602fd57160ff1e6222.tar.xz |
net: emac: remove IBM_EMAC_RX_SKB_HEADROOM
The EMAC driver had a custom IBM_EMAC_RX_SKB_HEADROOM
Kconfig option that reserved additional skb headroom for RX.
This patch removes the option and migrates the code
to use napi_alloc_skb() and netdev_alloc_skb_ip_align()
in its place.
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/ibm/emac/Kconfig')
-rw-r--r-- | drivers/net/ethernet/ibm/emac/Kconfig | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/net/ethernet/ibm/emac/Kconfig b/drivers/net/ethernet/ibm/emac/Kconfig index 90d49191beb3..eacf7e141fdc 100644 --- a/drivers/net/ethernet/ibm/emac/Kconfig +++ b/drivers/net/ethernet/ibm/emac/Kconfig @@ -28,18 +28,6 @@ config IBM_EMAC_RX_COPY_THRESHOLD depends on IBM_EMAC default "256" -config IBM_EMAC_RX_SKB_HEADROOM - int "Additional RX skb headroom (bytes)" - depends on IBM_EMAC - default "0" - help - Additional receive skb headroom. Note, that driver - will always reserve at least 2 bytes to make IP header - aligned, so usually there is no need to add any additional - headroom. - - If unsure, set to 0. - config IBM_EMAC_DEBUG bool "Debugging" depends on IBM_EMAC |