OSDN Git Service

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)
commitbb9f80f31d37c8bffd2d957da73fee5ff42a3dc2
tree9b02ea7335c621d1cbf8245769719ef445c98cc3
parenta21b5d49e77a2ec732b3dc7c9204c92125b0fa7a
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