]> git.baikalelectronics.ru Git - kernel.git/commit
ionic: use lif ident for filter count
authorShannon Nelson <snelson@pensando.io>
Thu, 1 Oct 2020 16:22:45 +0000 (09:22 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 2 Oct 2020 23:30:01 +0000 (16:30 -0700)
commit64b7cbae9016fecb6a4aac315161377de730244d
tree9b02ea7335c621d1cbf8245769719ef445c98cc3
parent4eb4b1b04c9e38545c56e2dbef9a5def1f80fb9e
ionic: use lif ident for filter count

Use the lif's ident information for the uc and mc filter
counts rather than the ionic's version, to be sure
we're getting the info that is specific to this lif.

While we're thinking about it, add some missing error
checking where we get the lif's identity information.

Signed-off-by: Shannon Nelson <snelson@pensando.io>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/pensando/ionic/ionic_lif.c