Browse Source

[ipoib] Mark REMAC cache as expensive

As with the neighbour cache, discarding an REMAC cache entry is
potentially very disruptive.

Originally-fixed-by: Wissam Shoukair <wissams@mellanox.com>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 9 years ago
parent
commit
e213a008ca
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/drivers/net/ipoib.c

+ 1
- 1
src/drivers/net/ipoib.c View File

234
 }
234
 }
235
 
235
 
236
 /** IPoIB cache discarder */
236
 /** IPoIB cache discarder */
237
-struct cache_discarder ipoib_discarder __cache_discarder ( CACHE_NORMAL ) = {
237
+struct cache_discarder ipoib_discarder __cache_discarder ( CACHE_EXPENSIVE ) = {
238
 	.discard = ipoib_discard_remac,
238
 	.discard = ipoib_discard_remac,
239
 };
239
 };
240
 
240
 

Loading…
Cancel
Save