Lines Matching refs:rss_state

503 	struct lio_rss_ctx *rss_state = &lio_dev->rss_state;  in lio_dev_rss_reta_update()  local
547 rss_state->itable[index] = reta_conf[i].reta[j]; in lio_dev_rss_reta_update()
552 rss_state->itable_size = LIO_RSS_MAX_TABLE_SZ; in lio_dev_rss_reta_update()
553 memcpy(rss_param->itable, rss_state->itable, rss_state->itable_size); in lio_dev_rss_reta_update()
576 struct lio_rss_ctx *rss_state = &lio_dev->rss_state; in lio_dev_rss_reta_query() local
590 &rss_state->itable[i * RTE_RETA_GROUP_SIZE], in lio_dev_rss_reta_query()
603 struct lio_rss_ctx *rss_state = &lio_dev->rss_state; in lio_dev_rss_hash_conf_get() local
607 if (rss_state->hash_disable) { in lio_dev_rss_hash_conf_get()
616 memcpy(hash_key, rss_state->hash_key, rss_state->hash_key_size); in lio_dev_rss_hash_conf_get()
618 if (rss_state->ip) in lio_dev_rss_hash_conf_get()
620 if (rss_state->tcp_hash) in lio_dev_rss_hash_conf_get()
622 if (rss_state->ipv6) in lio_dev_rss_hash_conf_get()
624 if (rss_state->ipv6_tcp_hash) in lio_dev_rss_hash_conf_get()
626 if (rss_state->ipv6_ex) in lio_dev_rss_hash_conf_get()
628 if (rss_state->ipv6_tcp_ex_hash) in lio_dev_rss_hash_conf_get()
641 struct lio_rss_ctx *rss_state = &lio_dev->rss_state; in lio_dev_rss_hash_update() local
673 rss_state->hash_key_size = LIO_RSS_MAX_KEY_SZ; in lio_dev_rss_hash_update()
675 memcpy(rss_state->hash_key, rss_conf->rss_key, in lio_dev_rss_hash_update()
676 rss_state->hash_key_size); in lio_dev_rss_hash_update()
677 memcpy(rss_param->key, rss_state->hash_key, in lio_dev_rss_hash_update()
678 rss_state->hash_key_size); in lio_dev_rss_hash_update()
685 if (!rss_state->hash_disable) in lio_dev_rss_hash_update()
694 if (rss_state->hash_disable) in lio_dev_rss_hash_update()
699 rss_state->ip = 1; in lio_dev_rss_hash_update()
701 rss_state->ip = 0; in lio_dev_rss_hash_update()
706 rss_state->tcp_hash = 1; in lio_dev_rss_hash_update()
708 rss_state->tcp_hash = 0; in lio_dev_rss_hash_update()
713 rss_state->ipv6 = 1; in lio_dev_rss_hash_update()
715 rss_state->ipv6 = 0; in lio_dev_rss_hash_update()
720 rss_state->ipv6_tcp_hash = 1; in lio_dev_rss_hash_update()
722 rss_state->ipv6_tcp_hash = 0; in lio_dev_rss_hash_update()
727 rss_state->ipv6_ex = 1; in lio_dev_rss_hash_update()
729 rss_state->ipv6_ex = 0; in lio_dev_rss_hash_update()
734 rss_state->ipv6_tcp_ex_hash = 1; in lio_dev_rss_hash_update()
736 rss_state->ipv6_tcp_ex_hash = 0; in lio_dev_rss_hash_update()
1084 struct lio_rss_ctx *rss_state = &lio_dev->rss_state; in lio_dev_rss_configure() local
1094 rss_state->hash_disable = 1; in lio_dev_rss_configure()
1123 struct lio_rss_ctx *rss_state = &lio_dev->rss_state; in lio_dev_mq_rx_configure() local
1134 rss_state->hash_disable = 1; in lio_dev_mq_rx_configure()