net: dsa: bcm_sf2: Fix number of CFP entries for BCM7278
authorFlorian Fainelli <f.fainelli@gmail.com>
Wed, 30 Aug 2017 19:39:33 +0000 (12:39 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 30 Aug 2017 23:02:42 +0000 (16:02 -0700)
commitdf191632f814357ee4d646421662d866028b569d
treee6644946baea8413b4bfdc38730384b4d5069d5b
parent351050ecd6523374b370341cc29fe61e2201556b
net: dsa: bcm_sf2: Fix number of CFP entries for BCM7278

BCM7278 has only 128 entries while BCM7445 has the full 256 entries set,
fix that.

Fixes: 7318166cacad ("net: dsa: bcm_sf2: Add support for ethtool::rxnfc")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/bcm_sf2.c
drivers/net/dsa/bcm_sf2.h
drivers/net/dsa/bcm_sf2_cfp.c