Lines Matching refs:tx_info
162 const struct br_cfm_cc_ccm_tx_info *const tx_info) in ccm_frame_build() argument
198 ether_addr_copy(eth_hdr->h_dest, tx_info->dmac.addr); in ccm_frame_build()
212 if (tx_info->seq_no_update) { in ccm_frame_build()
236 if (tx_info->port_tlv) { in ccm_frame_build()
240 (tx_info->port_tlv_value & 0xFF)); in ccm_frame_build()
244 if (tx_info->if_tlv) { in ccm_frame_build()
248 (tx_info->if_tlv_value & 0xFF)); in ccm_frame_build()
763 const struct br_cfm_cc_ccm_tx_info *const tx_info, in br_cfm_cc_ccm_tx() argument
777 if (memcmp(tx_info, &mep->cc_ccm_tx_info, sizeof(*tx_info)) == 0) { in br_cfm_cc_ccm_tx()
785 usecs_to_jiffies(tx_info->period * 1000000); in br_cfm_cc_ccm_tx()
789 if (tx_info->period == 0 && mep->cc_ccm_tx_info.period == 0) in br_cfm_cc_ccm_tx()
793 if (tx_info->period != 0 && mep->cc_ccm_tx_info.period != 0) { in br_cfm_cc_ccm_tx()
798 usecs_to_jiffies(tx_info->period * 1000000); in br_cfm_cc_ccm_tx()
803 if (tx_info->period == 0 && mep->cc_ccm_tx_info.period != 0) { in br_cfm_cc_ccm_tx()
811 mep->ccm_tx_end = jiffies + usecs_to_jiffies(tx_info->period * 1000000); in br_cfm_cc_ccm_tx()
815 mep->cc_ccm_tx_info = *tx_info; in br_cfm_cc_ccm_tx()