Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_tc_matchall.c187 tc_port_matchall = &adap->tc_matchall->port_matchall[pi->port_id]; in cxgb4_matchall_alloc_tc()
531 struct cxgb4_tc_matchall *tc_matchall; in cxgb4_init_tc_matchall() local
534 tc_matchall = kzalloc(sizeof(*tc_matchall), GFP_KERNEL); in cxgb4_init_tc_matchall()
535 if (!tc_matchall) in cxgb4_init_tc_matchall()
546 tc_matchall->port_matchall = tc_port_matchall; in cxgb4_init_tc_matchall()
547 adap->tc_matchall = tc_matchall; in cxgb4_init_tc_matchall()
551 kfree(tc_matchall); in cxgb4_init_tc_matchall()
559 if (adap->tc_matchall) { in cxgb4_cleanup_tc_matchall()
560 if (adap->tc_matchall->port_matchall) { in cxgb4_cleanup_tc_matchall()
567 kfree(adap->tc_matchall->port_matchall); in cxgb4_cleanup_tc_matchall()
[all …]
H A Dcxgb4.h1232 struct cxgb4_tc_matchall *tc_matchall; member
H A Dcxgb4_main.c3615 if (!adap->tc_matchall) in cxgb_setup_tc_matchall()