mirror of
https://github.com/ipxe/ipxe
synced 2025-12-10 21:41:09 +03:00
[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>
This commit is contained in:
@@ -234,7 +234,7 @@ static unsigned int ipoib_discard_remac ( void ) {
|
||||
}
|
||||
|
||||
/** IPoIB cache discarder */
|
||||
struct cache_discarder ipoib_discarder __cache_discarder ( CACHE_NORMAL ) = {
|
||||
struct cache_discarder ipoib_discarder __cache_discarder ( CACHE_EXPENSIVE ) = {
|
||||
.discard = ipoib_discard_remac,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user