Adding the script author, Robin. 09/10/2023 18:36, sk...@marvell.com: > From: Sunil Kumar Kori <sk...@marvell.com> > > This patch adds RSS key for CNXK platforms. CNXK platform uses > 48 bytes long key for hash calculations. > > For the same patch also updates help mesaages to provide range > information for supporting NICs/platforms. > > Also CNXK uses reta size as 64 so to get correct offset to retrieve > queue index, user must pass reta_size option as 64 i.e. -t 64.
Can it be something automatic instead of asking the user to pass -t 64? > +# rss_key_default, see drivers/net/cnxk/cnxk_flow.c I don't see rss_key_default in drivers/net/cnxk/cnxk_flow.c > +# Marvell's cnxk NICs take 48 bytes keys > +RSS_KEY_CNXK = bytes( > + ( > + 0xfe, 0xed, 0x0b, 0xad, 0xfe, 0xed, 0x0b, 0xad, > + 0xfe, 0xed, 0x0b, 0xad, 0xfe, 0xed, 0x0b, 0xad, > + 0xfe, 0xed, 0x0b, 0xad, 0xfe, 0xed, 0x0b, 0xad, > + 0xfe, 0xed, 0x0b, 0xad, 0xfe, 0xed, 0x0b, 0xad, > + 0xfe, 0xed, 0x0b, 0xad, 0xfe, 0xed, 0x0b, 0xad, > + 0xfe, 0xed, 0x0b, 0xad, 0xfe, 0xed, 0x0b, 0xad, > + ) > +)