Home
last modified time | relevance | path

Searched refs:acl_entry (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-switch-flower.c495 struct dpaa2_switch_acl_entry *acl_entry; in dpaa2_switch_cls_flower_replace_acl() local
505 acl_entry = kzalloc(sizeof(*acl_entry), GFP_KERNEL); in dpaa2_switch_cls_flower_replace_acl()
506 if (!acl_entry) in dpaa2_switch_cls_flower_replace_acl()
509 err = dpaa2_switch_flower_parse_key(cls, &acl_entry->key); in dpaa2_switch_cls_flower_replace_acl()
515 &acl_entry->cfg.result, extack); in dpaa2_switch_cls_flower_replace_acl()
519 acl_entry->prio = cls->common.prio; in dpaa2_switch_cls_flower_replace_acl()
520 acl_entry->cookie = cls->cookie; in dpaa2_switch_cls_flower_replace_acl()
522 err = dpaa2_switch_acl_tbl_add_entry(block, acl_entry); in dpaa2_switch_cls_flower_replace_acl()
529 kfree(acl_entry); in dpaa2_switch_cls_flower_replace_acl()
672 struct dpaa2_switch_acl_entry *acl_entry; in dpaa2_switch_cls_flower_destroy() local
[all …]
Ddpaa2-switch.c3096 struct dpaa2_switch_acl_entry acl_entry = {0}; in dpaa2_switch_port_trap_mac_addr() local
3099 ether_addr_copy(acl_entry.key.match.l2_dest_mac, mac); in dpaa2_switch_port_trap_mac_addr()
3100 eth_broadcast_addr(acl_entry.key.mask.l2_dest_mac); in dpaa2_switch_port_trap_mac_addr()
3103 acl_entry.cfg.precedence = 0; in dpaa2_switch_port_trap_mac_addr()
3104 acl_entry.cfg.result.action = DPSW_ACL_ACTION_REDIRECT_TO_CTRL_IF; in dpaa2_switch_port_trap_mac_addr()
3106 return dpaa2_switch_acl_entry_add(port_priv->filter_block, &acl_entry); in dpaa2_switch_port_trap_mac_addr()
/linux-6.6.21/fs/xfs/
Dxfs_acl.c61 ace = &aclp->acl_entry[i]; in xfs_acl_from_disk()
106 ace = &aclp->acl_entry[i]; in xfs_acl_to_disk()
/linux-6.6.21/fs/xfs/libxfs/
Dxfs_format.h1801 struct xfs_acl_entry acl_entry[]; member