git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
net/sfc: emphasis that RSS hash flag is an Rx queue flag
[dpdk.git]
/
drivers
/
net
/
sfc
/
sfc_rx.c
diff --git
a/drivers/net/sfc/sfc_rx.c
b/drivers/net/sfc/sfc_rx.c
index
214e640
..
d6ba4e9
100644
(file)
--- a/
drivers/net/sfc/sfc_rx.c
+++ b/
drivers/net/sfc/sfc_rx.c
@@
-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;