Skip to content

Commit

Permalink
[ipoib] Mark REMAC cache as expensive
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
mcb30 committed Jun 29, 2015
1 parent d8a618e commit e213a00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/drivers/net/ipoib.c
Expand Up @@ -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,
};

Expand Down

0 comments on commit e213a00

Please sign in to comment.