net: microchip: vcap api: Erase VCAP cache before encoding rule
authorSteen Hegelund <steen.hegelund@microchip.com>
Sat, 14 Jan 2023 13:42:35 +0000 (14:42 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 Jan 2023 13:45:16 +0000 (13:45 +0000)
commit6573f71ae72fa66160377b2bebd9946897e8bcc9
treeb6a28f41b8dfc51c22897d6f3df55d3d49ae65fc
parentce870af39558448dcfabef7114b9aa389f3f895a
net: microchip: vcap api: Erase VCAP cache before encoding rule

For consistency the VCAP cache area is erased just before the new rule is
being encoded.

Signed-off-by: Steen Hegelund <steen.hegelund@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/microchip/vcap/vcap_api.c