summaryrefslogtreecommitdiffstats
path: root/src/drivers/net/ipoib.c
diff options
context:
space:
mode:
authorMichael Brown2015-06-29 15:12:43 +0200
committerMichael Brown2015-06-29 15:12:43 +0200
commite213a008ca448c41f617d4565e0473ca705e69b3 (patch)
tree3713e48c1b3cda43dc9c424a5018ee15aec5c141 /src/drivers/net/ipoib.c
parent[comboot] Implement INT22,0x000c (diff)
downloadipxe-e213a008ca448c41f617d4565e0473ca705e69b3.tar.gz
ipxe-e213a008ca448c41f617d4565e0473ca705e69b3.tar.xz
ipxe-e213a008ca448c41f617d4565e0473ca705e69b3.zip
[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>
Diffstat (limited to 'src/drivers/net/ipoib.c')
-rw-r--r--src/drivers/net/ipoib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/net/ipoib.c b/src/drivers/net/ipoib.c
index 7250f841..b72e8fc5 100644
--- a/src/drivers/net/ipoib.c
+++ b/src/drivers/net/ipoib.c
@@ -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,
};