Searched refs:last_used_addr (Results 1 – 7 of 7) sorted by relevance
/linux-6.6.21/drivers/net/ethernet/microchip/vcap/ |
D | vcap_api_kunit.c | 1344 .last_used_addr = 800, in vcap_api_encode_rule_test() 1433 KUNIT_EXPECT_EQ(test, 792, is2_admin.last_used_addr); in vcap_api_encode_rule_test() 1583 .last_used_addr = 800, in vcap_api_rule_insert_in_order_test() 1621 .last_used_addr = 800, in vcap_api_rule_insert_reverse_order_test() 1662 KUNIT_EXPECT_EQ(test, 768, admin.last_used_addr); in vcap_api_rule_insert_reverse_order_test() 1684 .last_used_addr = 800, in vcap_api_rule_remove_at_end_test() 1712 KUNIT_EXPECT_EQ(test, 771, admin.last_used_addr); in vcap_api_rule_remove_at_end_test() 1721 KUNIT_EXPECT_EQ(test, 774, admin.last_used_addr); in vcap_api_rule_remove_at_end_test() 1730 KUNIT_EXPECT_EQ(test, 780, admin.last_used_addr); in vcap_api_rule_remove_at_end_test() 1739 KUNIT_EXPECT_EQ(test, 3072, admin.last_used_addr); in vcap_api_rule_remove_at_end_test() [all …]
|
D | vcap_api_debugfs_kunit.c | 410 .last_used_addr = 794, in vcap_api_show_admin_test() 501 .last_used_addr = 794, in vcap_api_show_admin_rule_test()
|
D | vcap_api.h | 177 int last_used_addr; /* address of lowest added rule */ member
|
D | vcap_api.c | 1702 if (admin->last_used_addr - size < admin->first_valid_addr) { in vcap_rule_space() 2123 ri->addr = vcap_next_rule_addr(admin->last_used_addr, ri); in vcap_insert_rule() 2124 admin->last_used_addr = ri->addr; in vcap_insert_rule() 2159 move->addr = admin->last_used_addr; in vcap_insert_rule() 2161 move->offset = admin->last_used_addr - addr; in vcap_insert_rule() 2162 admin->last_used_addr = addr; in vcap_insert_rule() 2526 move.addr = admin->last_used_addr; in vcap_fill_rule_gap() 2527 move.count = ri->addr - admin->last_used_addr - gap; in vcap_fill_rule_gap() 2556 if (ri->addr > admin->last_used_addr) in vcap_del_rule() 2561 vctrl->ops->init(ndev, admin, admin->last_used_addr, ri->size + gap); in vcap_del_rule() [all …]
|
D | vcap_api_debugfs.c | 289 out->prf(out->dst, "last_used_addr: %d\n", admin->last_used_addr); in vcap_show_admin_info()
|
/linux-6.6.21/drivers/net/ethernet/microchip/sparx5/ |
D | sparx5_vcap_impl.c | 2008 admin->last_used_addr = admin->first_valid_addr + in sparx5_vcap_block_alloc() 2010 admin->last_valid_addr = admin->last_used_addr - 1; in sparx5_vcap_block_alloc() 2014 admin->last_used_addr = cfg->count; in sparx5_vcap_block_alloc() 2026 admin->last_used_addr = cfg->count; in sparx5_vcap_block_alloc()
|
/linux-6.6.21/drivers/net/ethernet/microchip/lan966x/ |
D | lan966x_vcap_impl.c | 653 admin->last_used_addr = cfg->count; in lan966x_vcap_block_init()
|