]> 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)
commitf96a4d13fe6afd77b3a68cda9734f22106cdb608
treec0c3a0e281b9a914d2ba0875939a06ec5a3ea3b9
parent97dea2f7d54f373cc73268d262afdb74b0c6dcb4
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