Files
linux/drivers
Florian Fainelli ae7a5aff78 net: dsa: bcm_sf2: Keep copy of inserted rules
We tried hard to use the hardware as a storage area, which made things
needlessly complex in that we had to both marshall and unmarshall the
ethtool_rx_flow_spec into what the CFP hardware understands but it did
not require any driver level allocations, so that was nice.

Keep a copy of the ethtool_rx_flow_spec rule we want to insert, and also
make sure we don't have a duplicate rule already. This greatly speeds up
the deletion time since we only need to clear the slice's valid bit and
not perform a full read.

This is a preparatory step for being able to restore rules upon system
resumption where the hardware loses its context partially or entirely.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-11-06 15:05:22 -08:00
..
2018-10-16 11:13:50 +02:00
2018-10-11 12:12:55 +02:00
2018-10-31 08:54:16 -07:00
2018-11-06 11:03:51 -08:00
2018-11-03 10:44:06 -07:00
2018-10-31 08:54:16 -07:00
2018-10-11 09:16:44 -07:00
2018-10-31 08:54:16 -07:00