]> git.baikalelectronics.ru Git - kernel.git/commit
nfp: pass ring count as function parameter
authorJakub Kicinski <jakub.kicinski@netronome.com>
Thu, 7 Apr 2016 18:39:47 +0000 (19:39 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 8 Apr 2016 19:26:06 +0000 (15:26 -0400)
commit83d210459b43bde1cb3ee56db406e01ad2c5e7f1
treec0c3a0e281b9a914d2ba0875939a06ec5a3ea3b9
parent5f4a920bf1fc29814fcfc3199fdde03a260c5093
nfp: pass ring count as function parameter

Soon ring resize will call this functions with values
different than the current configuration we need to
explicitly pass the ring count as parameter.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/netronome/nfp/nfp_net_common.c