commit | baf387a8edaa4a55afeaf4f498d3891ddcb03fb7 | [log] [tgz] |
---|---|---|
author | Florian Fainelli <f.fainelli@gmail.com> | Thu May 28 15:24:42 2015 -0700 |
committer | David S. Miller <davem@davemloft.net> | Sat May 30 23:51:09 2015 -0700 |
tree | 004fa2cfa90e25253e0f0a9986bb049820137ed0 | |
parent | 3d2f6d41d1588c975d16c5969726d018bba90794 [diff] |
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>