]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/sfc/sfc_rx.c
net/sfc: emphasis that RSS hash flag is an Rx queue flag
[dpdk.git] / drivers / net / sfc / sfc_rx.c
index 214e6400bde12834313e99b47172f22eee00f550..d6ba4e9af756a9423ff34fc344b772eaff62e6fa 100644 (file)
@@ -194,7 +194,7 @@ sfc_rx_set_rss_hash(struct sfc_rxq *rxq, unsigned int flags, struct rte_mbuf *m)
        uint8_t *mbuf_data;
 
 
        uint8_t *mbuf_data;
 
 
-       if ((rxq->flags & SFC_RXQ_RSS_HASH) == 0)
+       if ((rxq->flags & SFC_RXQ_FLAG_RSS_HASH) == 0)
                return;
 
        mbuf_data = rte_pktmbuf_mtod(m, uint8_t *);
                return;
 
        mbuf_data = rte_pktmbuf_mtod(m, uint8_t *);
@@ -765,7 +765,7 @@ sfc_rx_qinit(struct sfc_adapter *sa, unsigned int sw_index,
 
 #if EFSYS_OPT_RX_SCALE
        if (sa->hash_support == EFX_RX_HASH_AVAILABLE)
 
 #if EFSYS_OPT_RX_SCALE
        if (sa->hash_support == EFX_RX_HASH_AVAILABLE)
-               rxq->flags |= SFC_RXQ_RSS_HASH;
+               rxq->flags |= SFC_RXQ_FLAG_RSS_HASH;
 #endif
 
        rxq->state = SFC_RXQ_INITIALIZED;
 #endif
 
        rxq->state = SFC_RXQ_INITIALIZED;