Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-switch-flower.c494 struct dpaa2_switch_acl_entry *acl_entry; in dpaa2_switch_cls_flower_replace_acl() local
504 acl_entry = kzalloc(sizeof(*acl_entry), GFP_KERNEL); in dpaa2_switch_cls_flower_replace_acl()
505 if (!acl_entry) in dpaa2_switch_cls_flower_replace_acl()
508 err = dpaa2_switch_flower_parse_key(cls, &acl_entry->key); in dpaa2_switch_cls_flower_replace_acl()
514 &acl_entry->cfg.result, extack); in dpaa2_switch_cls_flower_replace_acl()
518 acl_entry->prio = cls->common.prio; in dpaa2_switch_cls_flower_replace_acl()
519 acl_entry->cookie = cls->cookie; in dpaa2_switch_cls_flower_replace_acl()
521 err = dpaa2_switch_acl_tbl_add_entry(block, acl_entry); in dpaa2_switch_cls_flower_replace_acl()
528 kfree(acl_entry); in dpaa2_switch_cls_flower_replace_acl()
671 struct dpaa2_switch_acl_entry *acl_entry; in dpaa2_switch_cls_flower_destroy() local
[all …]
Ddpaa2-switch.c3085 struct dpaa2_switch_acl_entry acl_entry = {0}; in dpaa2_switch_port_trap_mac_addr() local
3088 ether_addr_copy(acl_entry.key.match.l2_dest_mac, mac); in dpaa2_switch_port_trap_mac_addr()
3089 eth_broadcast_addr(acl_entry.key.mask.l2_dest_mac); in dpaa2_switch_port_trap_mac_addr()
3092 acl_entry.cfg.precedence = 0; in dpaa2_switch_port_trap_mac_addr()
3093 acl_entry.cfg.result.action = DPSW_ACL_ACTION_REDIRECT_TO_CTRL_IF; in dpaa2_switch_port_trap_mac_addr()
3095 return dpaa2_switch_acl_entry_add(port_priv->filter_block, &acl_entry); in dpaa2_switch_port_trap_mac_addr()
/linux-6.1.9/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.1.9/fs/xfs/libxfs/
Dxfs_format.h1801 struct xfs_acl_entry acl_entry[]; member