ice_repr_inc_rx_stats(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ ice_repr_inc_rx_stats(9) πŸŽ€

okay bestie, welcome to the Kernel API Manual β€” section 9, kernel API girlies, main character energy only. this page is about ice_repr_inc_rx_stats, and she is literally here to increment the Rx statistic by one packet. one packet. that's the whole job. πŸ’–βœ¨


✨ NAME ✨

ice_repr_inc_rx_stats β€” increment Rx statistic by one packet. that's it, that's the function, and the vibes are immaculate. πŸ’…


πŸ’… SYNOPSIS πŸ’…

bestie, here's the exact signature β€” do not improvise, do not add extra vibes where there should be syntax:

void ice_repr_inc_rx_stats (struct net_device *netdev , unsigned int len
);

it returns void, so there's no return value to obsess over. just call it and move on. periodt. 🫢


🌸 ARGUMENTS 🌸

okay so there are two arguments, and yes both are important:

  • netdev β€” the repr netdev to increment stats on. that's the one, bestie. 🫢
  • len β€” length of the packet. literally the packet length. no cap. πŸŽ€

πŸ¦‹ SEE ALSO πŸ¦‹

the whole kernel friend group is linked here, plus the source file:

signed off with love from the ./drivers/net/ethernet/intel/ice source tree, October 2026, for ice_repr_inc_rx_stats(9) β€” mwah πŸ’–βœ¨

πŸ“¦ where this page comes from