Home
last modified time | relevance | path

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

/linux/net/dsa/
H A Duser.c1356 struct dsa_mall_tc_entry *mall_tc_entry; in dsa_user_mall_tc_entry_find() local
1358 list_for_each_entry(mall_tc_entry, &p->mall_tc_list, list) in dsa_user_mall_tc_entry_find()
1359 if (mall_tc_entry->cookie == cookie) in dsa_user_mall_tc_entry_find()
1360 return mall_tc_entry; in dsa_user_mall_tc_entry_find()
1374 struct dsa_mall_tc_entry *mall_tc_entry; in dsa_user_add_cls_matchall_mirred() local
1403 mall_tc_entry = kzalloc(sizeof(*mall_tc_entry), GFP_KERNEL); in dsa_user_add_cls_matchall_mirred()
1404 if (!mall_tc_entry) in dsa_user_add_cls_matchall_mirred()
1407 mall_tc_entry->cookie = cls->cookie; in dsa_user_add_cls_matchall_mirred()
1408 mall_tc_entry->type = DSA_PORT_MALL_MIRROR; in dsa_user_add_cls_matchall_mirred()
1409 mirror = &mall_tc_entry->mirror; in dsa_user_add_cls_matchall_mirred()
[all …]