summaryrefslogtreecommitdiffstats
path: root/lib/lcm.c
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2015-05-28 15:24:42 -0700
committerDavid S. Miller <davem@davemloft.net>2015-05-30 23:51:09 -0700
commitbaf387a8edaa4a55afeaf4f498d3891ddcb03fb7 (patch)
tree004fa2cfa90e25253e0f0a9986bb049820137ed0 /lib/lcm.c
parent3d2f6d41d1588c975d16c5969726d018bba90794 (diff)
downloadop-kernel-dev-baf387a8edaa4a55afeaf4f498d3891ddcb03fb7.zip
op-kernel-dev-baf387a8edaa4a55afeaf4f498d3891ddcb03fb7.tar.gz
net: systemport: Pre-calculate and utilize cb->bd_addr
There is a 1:1 mapping between the software maintained control block in priv->rx_cbs and the buffer address in priv->rx_bds, such that there is no need to keep computing the buffer address when refiling a control block. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/lcm.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud