summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/cavium/thunder/nic_main.c
diff options
context:
space:
mode:
authorSunil Goutham <sgoutham@cavium.com>2017-05-02 16:06:51 +0300
committerDavid S. Miller <davem@davemloft.net>2017-05-02 22:41:20 +0300
commit5e848e4c5d77438e126c97702ec3bea477f550a9 (patch)
tree247528970eb0abd195b637de07eabdf45034e13f /drivers/net/ethernet/cavium/thunder/nic_main.c
parent5836b4429777bf57ca8fc02b154263aa54d97508 (diff)
downloadlinux-5e848e4c5d77438e126c97702ec3bea477f550a9.tar.xz
net: thunderx: Optimize RBDR descriptor handling
Receive buffer's physical address or iova will anyway not go beyond 49bits, since it is the max supported HW address. As per perf, updating bitfields i.e buf_addr:42 in RBDR descriptor entry consumes lots of cpu cycles, hence changed it to a 64bit field with alignment requirements taken care of. Signed-off-by: Sunil Goutham <sgoutham@cavium.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/cavium/thunder/nic_main.c')
0 files changed, 0 insertions, 0 deletions