Home
last modified time | relevance | path

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

/net/dsa/
Dslave.c854 struct dsa_mall_tc_entry *mall_tc_entry; in dsa_slave_mall_tc_entry_find() local
856 list_for_each_entry(mall_tc_entry, &p->mall_tc_list, list) in dsa_slave_mall_tc_entry_find()
857 if (mall_tc_entry->cookie == cookie) in dsa_slave_mall_tc_entry_find()
858 return mall_tc_entry; in dsa_slave_mall_tc_entry_find()
869 struct dsa_mall_tc_entry *mall_tc_entry; in dsa_slave_add_cls_matchall() local
893 mall_tc_entry = kzalloc(sizeof(*mall_tc_entry), GFP_KERNEL); in dsa_slave_add_cls_matchall()
894 if (!mall_tc_entry) in dsa_slave_add_cls_matchall()
897 mall_tc_entry->cookie = cls->cookie; in dsa_slave_add_cls_matchall()
898 mall_tc_entry->type = DSA_PORT_MALL_MIRROR; in dsa_slave_add_cls_matchall()
899 mirror = &mall_tc_entry->mirror; in dsa_slave_add_cls_matchall()
[all …]