new_config = acl_build_alloc(context, 1, sizeof(*new_config));
if (new_config == NULL) {
RTE_LOG(ERR, ACL,
- "Failed to geti space for new config\n");
+ "Failed to get space for new config\n");
return -ENOMEM;
}
br = tb_alloc(&bcx->pool, sz);
if (br == NULL) {
- RTE_LOG(ERR, ACL, "ACL conext %s: failed to create a copy "
+ RTE_LOG(ERR, ACL, "ACL context %s: failed to create a copy "
"of %u build rules (%zu bytes)\n",
bcx->acx->name, n, sz);
return -ENOMEM;
bcx.category_mask = LEN2MASK(bcx.cfg.num_categories);
- /* Create a buid rules copy. */
+ /* Create a build rules copy. */
rc = acl_build_rules(&bcx);
if (rc != 0)
return rc;