]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0a27ac4c3e20cc0d50a1c0f923c857d8d834b0c9
tree6fd23d9087e98c77f24d9fec59d8b7d131612af8
parent9b14ef25ddd320a79ec444458996e28c683e099a
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