Lines Matching defs:nfc
896 struct ethtool_rxnfc *nfc)
904 if (nfc->flow_type & FLOW_RSS)
905 rss_idx = nfc->rss_context;
907 flow_type = flow_type_mask(nfc->flow_type);
922 if (nfc->data & ~(RXH_IP_SRC | RXH_IP_DST |
926 if (nfc->data & RXH_IP_SRC)
928 if (nfc->data & RXH_IP_DST)
930 if (nfc->data & RXH_L4_B_0_1)
932 if (nfc->data & RXH_L4_B_2_3)
943 struct ethtool_rxnfc *nfc)
950 if (nfc->flow_type & FLOW_RSS)
951 rss_idx = nfc->rss_context;
953 flow_type = flow_type_mask(nfc->flow_type);
962 nfc->data = 0;
965 nfc->data |= RXH_IP_SRC;
967 nfc->data |= RXH_IP_DST;
969 nfc->data |= RXH_L4_B_0_1;
971 nfc->data |= RXH_L4_B_2_3;