mirror of https://github.com/ipxe/ipxe.git
[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>pull/38/head
parent
d8a618e80f
commit
e213a008ca
|
@ -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,
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue