Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

net: ieee802154: at86rf230: convert to use maple tree register cache

The maple tree register cache is based on a much more modern data structure
than the rbtree cache and makes optimisation choices which are probably
more appropriate for modern systems than those made by the rbtree cache.

Signed-off-by: Bo Liu <liubo03@inspur.com>
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Message-ID: <20240202064512.39259-1-liubo03@inspur.com>
Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org>

authored by

Bo Liu and committed by
Stefan Schmidt
35c6bba5 23736995

+1 -1
+1 -1
drivers/net/ieee802154/at86rf230.c
··· 316 316 .val_bits = 8, 317 317 .write_flag_mask = CMD_REG | CMD_WRITE, 318 318 .read_flag_mask = CMD_REG, 319 - .cache_type = REGCACHE_RBTREE, 319 + .cache_type = REGCACHE_MAPLE, 320 320 .max_register = AT86RF2XX_NUMREGS, 321 321 .writeable_reg = at86rf230_reg_writeable, 322 322 .readable_reg = at86rf230_reg_readable,