Lines Matching defs:nfc
150 struct ethtool_rxnfc *nfc)
156 if (nfc->data &
164 ret = hclge_comm_init_rss_tuple_cmd(rss_cfg, nfc, ae_dev, req);
412 static u8 hclge_comm_get_rss_hash_bits(struct ethtool_rxnfc *nfc)
414 u8 hash_sets = nfc->data & RXH_L4_B_0_1 ? HCLGE_COMM_S_PORT_BIT : 0;
416 if (nfc->data & RXH_L4_B_2_3)
421 if (nfc->data & RXH_IP_SRC)
426 if (nfc->data & RXH_IP_DST)
431 if (nfc->flow_type == SCTP_V4_FLOW || nfc->flow_type == SCTP_V6_FLOW)
438 struct ethtool_rxnfc *nfc,
453 tuple_sets = hclge_comm_get_rss_hash_bits(nfc);
454 switch (nfc->flow_type) {
472 (nfc->data & (RXH_L4_B_0_1 | RXH_L4_B_2_3)))