summaryrefslogtreecommitdiffstats
path: root/drivers/staging/octeon/ethernet-defines.h
diff options
context:
space:
mode:
authorAaro Koskinen <aaro.koskinen@iki.fi>2015-04-04 22:51:17 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-04-30 17:04:36 +0200
commit3a990f390ec093293c03e9542f2583c5e4c53684 (patch)
tree684b2258fd66cc81fb215d287b79bd3f0185f0ad /drivers/staging/octeon/ethernet-defines.h
parent6646baf7041214a9d616b55de96315179f112508 (diff)
downloadop-kernel-dev-3a990f390ec093293c03e9542f2583c5e4c53684.zip
op-kernel-dev-3a990f390ec093293c03e9542f2583c5e4c53684.tar.gz
staging: octeon-ethernet: eliminate USE_SKBUFFS_IN_HW define
We always try to use skbuffs for packet buffers, so eliminate a redundant define. Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/octeon/ethernet-defines.h')
-rw-r--r--drivers/staging/octeon/ethernet-defines.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/staging/octeon/ethernet-defines.h b/drivers/staging/octeon/ethernet-defines.h
index a837d89..b39bb3d 100644
--- a/drivers/staging/octeon/ethernet-defines.h
+++ b/drivers/staging/octeon/ethernet-defines.h
@@ -27,10 +27,6 @@
/*
* A few defines are used to control the operation of this driver:
- * USE_SKBUFFS_IN_HW
- * Tells the driver to populate the packet buffers with kernel skbuffs.
- * This allows the driver to receive packets without copying them. It also
- * means that 32bit userspace can't access the packet buffers.
* USE_ASYNC_IOBDMA
* Use asynchronous IO access to hardware. This uses Octeon's asynchronous
* IOBDMAs to issue IO accesses without stalling. Set this to zero
@@ -50,7 +46,6 @@
#define OCTEON_ETHERNET_VERSION "1.9"
-#define USE_SKBUFFS_IN_HW 1
#ifdef CONFIG_NETFILTER
#define REUSE_SKBUFFS_WITHOUT_FREE 0
#else
OpenPOWER on IntegriCloud