aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/pensando/ionic/ionic_phc.c
diff options
context:
space:
mode:
authorShannon Nelson <snelson@pensando.io>2021-08-25 18:24:50 -0700
committerDavid S. Miller <davem@davemloft.net>2021-08-26 09:41:50 +0100
commita0c007b3f6455641c5ba7fb5c474401d82387121 (patch)
tree440811c4f475f9ef3c0b72d00882ff84d4c4c6b0 /drivers/net/ethernet/pensando/ionic/ionic_phc.c
parentionic: refactor ionic_lif_addr to remove a layer (diff)
downloadlinux-dev-a0c007b3f6455641c5ba7fb5c474401d82387121.tar.xz
linux-dev-a0c007b3f6455641c5ba7fb5c474401d82387121.zip
ionic: handle mac filter overflow
Make sure we go into PROMISC mode when we have too many filters by specifically counting the filters that successfully get saved to the firmware. The device advertises max_ucast_filters and max_mcast_filters, but really only has max_ucast_filters slots available for uc and mc filters combined. Signed-off-by: Shannon Nelson <snelson@pensando.io> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/pensando/ionic/ionic_phc.c')
0 files changed, 0 insertions, 0 deletions