Home
last modified time | relevance | path

Searched refs:last_used_addr (Results 1 – 7 of 7) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/microchip/vcap/
Dvcap_api_kunit.c1344 .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 …]
Dvcap_api_debugfs_kunit.c410 .last_used_addr = 794, in vcap_api_show_admin_test()
501 .last_used_addr = 794, in vcap_api_show_admin_rule_test()
Dvcap_api.h177 int last_used_addr; /* address of lowest added rule */ member
Dvcap_api.c1702 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 …]
Dvcap_api_debugfs.c289 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/
Dsparx5_vcap_impl.c2008 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/
Dlan966x_vcap_impl.c653 admin->last_used_addr = cfg->count; in lan966x_vcap_block_init()