igc_ethtool_check_nfc_rule(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

igc_ethtool_check_nfc_rule β€” Check if NFC rule is valid ✨

This is the igc_ethtool_check_nfc_rule(9) page from the Kernel API Manual, and it's literally the vibe check for NFC rules πŸŽ€


🌸 SYNOPSIS 🌸

int igc_ethtool_check_nfc_rule (struct igc_adapter *adapter , struct
       igc_nfc_rule *rule );

🫢 ARGUMENTS 🫢

  • adapter β€” pointer to adapter πŸ‘‘
  • rule β€” the rule under evaluation, aka the one getting checked πŸ’…

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so bestie, here's the tea: the driver does not support rules with multiple matches. So if more than one bit in filter flags is set, the rule is considered invalid. No cap.

Also, if there is already another rule with the same filter in a different location, the rule is considered invalid too. Them's the rules, fr fr 😌

✨ CONTEXT ✨

Expects adapter->nfc_rule_lock to be held by caller πŸ”’

πŸ”₯ RETURN πŸ”₯

0 in case of success, negative errno code otherwise πŸ’€

🌈 SEE ALSO 🌈


okay bestie, that's the whole igc_ethtool_check_nfc_rule(9) page πŸ’… β€” source/version: ./drivers/net/ethernet/intel/igc, date: October 2026. slay, periodt ✨🫢

πŸ“¦ where this page comes from