igc_ethtool_check_nfc_rule(9)
π 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 π
- Kernel file
./drivers/net/ethernet/intel/igc/igc_ethtool.cπ igc_write_rss_key(9)igc_ethtool_get_frame_ass_error(9)igc_handle_autoneg_disabled(9)igc_handle_autoneg_enabled(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms