Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F163274628
D54442.id168817.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1015 B
Referenced Files
None
Subscribers
None
D54442.id168817.diff
View Options
diff --git a/FreeBSD/sys/dev/ixl/ixl_txrx.c b/FreeBSD/sys/dev/ixl/ixl_txrx.c
--- a/FreeBSD/sys/dev/ixl/ixl_txrx.c
+++ b/FreeBSD/sys/dev/ixl/ixl_txrx.c
@@ -661,7 +661,7 @@
struct ixl_rx_queue *que = &vsi->rx_queues[ri->iri_qsidx];
struct rx_ring *rxr = &que->rxr;
union i40e_rx_desc *cur;
- u32 status, error;
+ u32 status, error, fltstat;
u16 plen;
u64 qword;
u8 ptype;
@@ -717,8 +717,12 @@
if ((scctx->isc_capenable & IFCAP_RXCSUM) != 0)
ixl_rx_checksum(ri, status, error, ptype);
- ri->iri_flowid = le32toh(cur->wb.qword0.hi_dword.rss);
- ri->iri_rsstype = ixl_ptype_to_hash(ptype);
+ fltstat = (status >> I40E_RX_DESC_STATUS_FLTSTAT_SHIFT);
+ if ((fltstat & I40E_RX_DESC_FLTSTAT_RSS_HASH) ==
+ I40E_RX_DESC_FLTSTAT_RSS_HASH) {
+ ri->iri_flowid = le32toh(cur->wb.qword0.hi_dword.rss);
+ ri->iri_rsstype = ixl_ptype_to_hash(ptype);
+ }
if (status & (1 << I40E_RX_DESC_STATUS_L2TAG1P_SHIFT)) {
ri->iri_vtag = le16toh(cur->wb.qword0.lo_dword.l2tag1);
ri->iri_flags |= M_VLANTAG;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jul 22, 3:47 PM (9 h, 10 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35370578
Default Alt Text
D54442.id168817.diff (1015 B)
Attached To
Mode
D54442: ixl: verify flowid is valid before setting rsstype & flowid
Attached
Detach File
Event Timeline
Log In to Comment