Lines Matching refs:frame
792 * @ret_data: allocated frame buffer
795 * Function allocates a frame with a test pattern on specific offsets.
809 /* Since the ethernet test frame should always be at least
824 * ice_lbtest_check_frame - verify received loopback frame
825 * @frame: pointer to the raw packet data
827 * Function verifies received test frame with a pattern.
828 * Returns true if frame matches the pattern, false otherwise.
830 static bool ice_lbtest_check_frame(u8 *frame)
832 /* Validate bytes of a frame under offsets chosen earlier */
833 if (frame[32] == 0xDE &&
834 frame[42] == 0xAD &&
835 frame[44] == 0xBE &&
836 frame[46] == 0xEF &&
837 frame[48] == 0xFF)