]> git.baikalelectronics.ru Git - kernel.git/commit
net: thunderx: Moved HW capability info from macros to structure
authorSunil Goutham <sgoutham@cavium.com>
Fri, 12 Aug 2016 11:21:24 +0000 (16:51 +0530)
committerDavid S. Miller <davem@davemloft.net>
Sat, 13 Aug 2016 18:59:29 +0000 (11:59 -0700)
commit080c654bda346da766b5d32423fe533dbb768ac4
treeabbe512983b6439ef1e57dc728c3bcb93446105b
parent5526cb5969f483a5022db19dc78b51426c72b1b9
net: thunderx: Moved HW capability info from macros to structure

Current driver has most of the HW maximums info like no of channels,
traffic limiters, RSS indices e.t.c in the form of macros. These have
been moved into a 'hw_info' structure so that support for VNIC on
newer chips with different set of HW maximums can be added.

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