]> git.baikalelectronics.ru Git - kernel.git/commit
net: sgi: ioc3-eth: use defines for constants dealing with desc rings
authorThomas Bogendoerfer <tbogendoerfer@suse.de>
Fri, 30 Aug 2019 09:25:27 +0000 (11:25 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 30 Aug 2019 20:54:35 +0000 (13:54 -0700)
commit05fea0602100c2bd61d1ff50b5bfdfb9d50af555
treea078ce87ff51242ddc48f047c7efe2c99bf1a333
parentaa2ff53cbfb815a4832c332796792063f3c1a28d
net: sgi: ioc3-eth: use defines for constants dealing with desc rings

Descriptor ring sizes of the IOC3 are more or less fixed size. To
make clearer where there is a relation to ring sizes use defines.

Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: Thomas Bogendoerfer <tbogendoerfer@suse.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sgi/ioc3-eth.c