net, thunderx: Remove unnecessary rcv buffer start address management
authorSunil Goutham <sgoutham@cavium.com>
Mon, 7 Dec 2015 05:00:33 +0000 (10:30 +0530)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 Dec 2015 18:40:01 +0000 (13:40 -0500)
commit668dda06d48fc16a5b40e6a32057bd18589e3f95
tree6fd23d9087e98c77f24d9fec59d8b7d131612af8
parentb45ceb406e4fd3045180b8d70bff60b1d43c7ff4
net, thunderx: Remove unnecessary rcv buffer start address management

Since we have moved on to using allocated pages to carve receive
buffers instead of netdev_alloc_skb() there is no need to store
any pointers for later retrieval. Earlier we had to store
skb and skb->data pointers which later are used to handover
received packet to network stack.

This will avoid an unnecessary cache miss as well.

Signed-off-by: Sunil Goutham <sgoutham@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cavium/thunder/nicvf_queues.c
drivers/net/ethernet/cavium/thunder/nicvf_queues.h