es58x_increment_rx_errors(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

Okay bestie, welcome to the Kernel API Manual ✨ β€” today's main character is es58x_increment_rx_errors, and its whole job is literally to increment the network devices' error count. That's it. That's the assignment. πŸ’–

✨ SYNOPSIS ✨

void es58x_increment_rx_errors (struct es58x_device *es58x_dev );

πŸŽ€ ARGUMENTS πŸŽ€

  • es58x_dev β€” the ES58X device, obvi. This is the device we're working with, bestie 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

So here's the situation: if an error occurs on the early stages on receiving an URB command, we might not be able to figure out on which network device the error occurred. It's giving mystery, it's giving "who did this" 😭.

In such case, we arbitrarily increment the error count of all the network devices attached to our ES58X device. Yep β€” every single network device gets the error-count bump, even if we can't pin down the exact one. Periodt. πŸ’…

🌈 SEE ALSO 🌈

Kernel file: ./drivers/net/can/usb/etas_es58x/es58x_core.c

The whole friend group is here: es58x_calculate_crc(9), es58x_get_crc(9), es58x_set_crc(9), es58x_check_crc(9), es58x_timestamp_to_ns(9), es58x_set_skb_timestamp(9), es58x_rx_timestamp(9), es58x_set_realtime_diff_ns(9), es58x_is_can_state_active(9), es58x_is_echo_skb_threshold_reached(9), es58x_can_free_echo_skb_tail(9), es58x_can_get_echo_skb_recovery(9), es58x_can_get_echo_skb(9), es58x_can_reset_echo_fifo(9), es58x_flush_pending_tx_msg(9), es58x_tx_ack_msg(9), es58x_rx_can_msg(9), es58x_rx_err_msg(9), es58x_cmd_ret_desc(9), es58x_rx_cmd_ret_u8(9), es58x_rx_cmd_ret_u32(9), es58x_handle_urb_cmd(9), es58x_check_rx_urb(9), es58x_copy_to_cmd_buf(9), es58x_split_urb_try_recovery(9), es58x_handle_incomplete_cmd(9), es58x_split_urb(9), es58x_read_bulk_callback(9), es58x_write_bulk_callback(9), es58x_alloc_urb(9), es58x_get_tx_urb(9), es58x_submit_urb(9), es58x_send_msg(9), es58x_alloc_rx_urbs(9), es58x_free_urbs(9), es58x_open(9), es58x_stop(9), es58x_xmit_commit(9), es58x_xmit_more(9), es58x_start_xmit(9), es58x_set_mode(9), es58x_init_priv(9), es58x_init_netdev(9), es58x_free_netdevs(9), es58x_init_es58x_dev(9), es58x_probe(9), es58x_disconnect(9).


Source/version: ./drivers/net/can/usb/etas_es58x Β· October 2026. That's the whole page, bestie β€” slay and stay safe πŸ’–βœ¨πŸ¦‹

πŸ“¦ where this page comes from