diff options
author | Michael Brown <mcb30@ipxe.org> | 2015-06-29 14:12:43 +0100 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2015-06-29 14:12:43 +0100 |
commit | e213a008ca448c41f617d4565e0473ca705e69b3 (patch) | |
tree | 3713e48c1b3cda43dc9c424a5018ee15aec5c141 /src | |
parent | d8a618e80f6c8c2d6e24eb29ecab922b2e48b628 (diff) | |
download | ipxe-e213a008ca448c41f617d4565e0473ca705e69b3.zip ipxe-e213a008ca448c41f617d4565e0473ca705e69b3.tar.gz ipxe-e213a008ca448c41f617d4565e0473ca705e69b3.tar.bz2 |
[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')
-rw-r--r-- | src/drivers/net/ipoib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/net/ipoib.c b/src/drivers/net/ipoib.c index 7250f84..b72e8fc 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, }; |