Lines Matching refs:rss_state

482 	struct lio_rss_ctx *rss_state = &lio_dev->rss_state;  in lio_dev_rss_reta_update()  local
526 rss_state->itable[index] = reta_conf[i].reta[j]; in lio_dev_rss_reta_update()
531 rss_state->itable_size = LIO_RSS_MAX_TABLE_SZ; in lio_dev_rss_reta_update()
532 memcpy(rss_param->itable, rss_state->itable, rss_state->itable_size); in lio_dev_rss_reta_update()
555 struct lio_rss_ctx *rss_state = &lio_dev->rss_state; in lio_dev_rss_reta_query() local
569 &rss_state->itable[i * RTE_ETH_RETA_GROUP_SIZE], in lio_dev_rss_reta_query()
582 struct lio_rss_ctx *rss_state = &lio_dev->rss_state; in lio_dev_rss_hash_conf_get() local
586 if (rss_state->hash_disable) { in lio_dev_rss_hash_conf_get()
595 memcpy(hash_key, rss_state->hash_key, rss_state->hash_key_size); in lio_dev_rss_hash_conf_get()
597 if (rss_state->ip) in lio_dev_rss_hash_conf_get()
599 if (rss_state->tcp_hash) in lio_dev_rss_hash_conf_get()
601 if (rss_state->ipv6) in lio_dev_rss_hash_conf_get()
603 if (rss_state->ipv6_tcp_hash) in lio_dev_rss_hash_conf_get()
605 if (rss_state->ipv6_ex) in lio_dev_rss_hash_conf_get()
607 if (rss_state->ipv6_tcp_ex_hash) in lio_dev_rss_hash_conf_get()
620 struct lio_rss_ctx *rss_state = &lio_dev->rss_state; in lio_dev_rss_hash_update() local
652 rss_state->hash_key_size = LIO_RSS_MAX_KEY_SZ; in lio_dev_rss_hash_update()
654 memcpy(rss_state->hash_key, rss_conf->rss_key, in lio_dev_rss_hash_update()
655 rss_state->hash_key_size); in lio_dev_rss_hash_update()
656 memcpy(rss_param->key, rss_state->hash_key, in lio_dev_rss_hash_update()
657 rss_state->hash_key_size); in lio_dev_rss_hash_update()
664 if (!rss_state->hash_disable) in lio_dev_rss_hash_update()
673 if (rss_state->hash_disable) in lio_dev_rss_hash_update()
678 rss_state->ip = 1; in lio_dev_rss_hash_update()
680 rss_state->ip = 0; in lio_dev_rss_hash_update()
685 rss_state->tcp_hash = 1; in lio_dev_rss_hash_update()
687 rss_state->tcp_hash = 0; in lio_dev_rss_hash_update()
692 rss_state->ipv6 = 1; in lio_dev_rss_hash_update()
694 rss_state->ipv6 = 0; in lio_dev_rss_hash_update()
699 rss_state->ipv6_tcp_hash = 1; in lio_dev_rss_hash_update()
701 rss_state->ipv6_tcp_hash = 0; in lio_dev_rss_hash_update()
706 rss_state->ipv6_ex = 1; in lio_dev_rss_hash_update()
708 rss_state->ipv6_ex = 0; in lio_dev_rss_hash_update()
713 rss_state->ipv6_tcp_ex_hash = 1; in lio_dev_rss_hash_update()
715 rss_state->ipv6_tcp_ex_hash = 0; in lio_dev_rss_hash_update()
1063 struct lio_rss_ctx *rss_state = &lio_dev->rss_state; in lio_dev_rss_configure() local
1073 rss_state->hash_disable = 1; in lio_dev_rss_configure()
1102 struct lio_rss_ctx *rss_state = &lio_dev->rss_state; in lio_dev_mq_rx_configure() local
1113 rss_state->hash_disable = 1; in lio_dev_mq_rx_configure()