VMware Cloud Community
vMarkusK1985
Expert
Expert

qfle3 Driver VXLAN Offload Enabled?

Hello,

we are wondering about the default Settings regarding Offloading Features of our QLogic 57810  NICs with qfle3 Driver.

"offload_flags         uint                  Offload flags: 1 (cso) 2(tso) 4(vxlan offload) 8(Geneve offload). Default: 15 "

esxcli system module parameters list -m qfle3

Name                  Type           Value  Description                                                                                                                                                                                     

--------------------  -------------  -----  ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

DRSS                  array of uint         Number of RSS Queues associated with default queue: 0 (Disabled), 2 (min), 4 (max). Default: Disabled                                                                                           

RSS                   array of uint         Number of RSS Queues: 0 (Auto) or 1 to 4 (fixed queue number). Default: Auto                                                                                                                    

debug_mask            uint                  Enabled debug mask (default: 0)                                                                                                                                                                 

dropless_fc           uint                  Pause on exhausted host ring. 0: Disable (Default) 1: Enable                                                                                                                                    

enable_fwdump         uint                  Enable/Disable the firmware dump file. Set to 1 to enable firmware dump, Set to 0 to disable firmware dump [Default]                                                                            

enable_lro            uint                  Enable/Disable the TPA (LRO) featureSet to 0 to disable TPA, Set to 1 to enable TPA [Default]                                                                                                   

enable_vxlan_filters  uint                  Enable/Disable the VXLAN Rx filters.Set to 0 to disable VXLAN Rx filtersSet to 1 to enable VXLAN Rx filtersDefault: 0                                                                           

fairness_threshold    uint                  When set to 1 will enable the fairness threshold; 0 by Default                                                                                                                                  

hw_vlan               uint                  Enable/Disable VLAN removal/insertion by hardware. 0: Disabled and 1: Enabled. Default: 1                                                                                                       

intr_mode             uint                   Interrupt Mode: 0 (AUTO), 1 (IRQ), 2 (MSI), and 3 (MSI-X). Default: Auto                                                                                                                       

max_vfs               array of uint         Number of VFs to be enabled for each pci function. Default:0, Valid values: 0:Disable, 1 to 64                                                                                                  

mtu                   uint                  MTU when the driver is loaded. Range: 0-9000. (default: 1500)                                                                                                                                   

offload_flags         uint                  Offload flags: 1 (cso) 2(tso) 4(vxlan offload) 8(Geneve offload). Default: 15                                                                                                                   

rx_filters            int                   Define the number of RX filters per NetQueue-1: use the default number of RX filters based on availability:0: Disable use of multiple RX filters; 1,2,3,...: Will force the number of RX filters to use for NetQueue; Default: -1

rxqueue_nr            uint                  Number of Rx Queues: 0 (Auto) or 1 to 8 (fixed queue number). Default: 4                                                                                                                        

rxring_bd_nr          uint                  Number of RX BD Buffers: 4096(min) 16384(max), will round up to nearest power of two. Default: 4096                                                                                             

txqueue_nr            uint                  Number of Tx Queues: 0 (Auto) or 1 to 8 (fixed queue number). Default: 4                                                                                                                        

txring_bd_nr          uint                  Number of TX BD Buffers: 4096(min) 16384(max), will round up to nearest power of two. Default: 4096              

What means the default 15?

Best regards,

Markus

https://mycloudrevolution.com | https://twitter.com/vMarkus_K | https://github.com/vMarkusK
Reply
0 Kudos
4 Replies
ronaldpj2
Contributor
Contributor

Hi Markus,

The number is comprised of the different flags. 15 means all flags are active. When you want to disable just Geneve, it would be 7. When you want to disable just VXLAN it would be 11. This way you can turn off or on all flags individually.

Reply
0 Kudos
vMarkusK1985
Expert
Expert

Thanks! Is there any official documentation about that?

https://mycloudrevolution.com | https://twitter.com/vMarkus_K | https://github.com/vMarkusK
Reply
0 Kudos
ronaldpj2
Contributor
Contributor

I don't know, it's a method that is used a lot. Basically you have to look at it as a 4 bit item, where bits can be turned on and off. 1111 means all is turned on and the decimal number of 1111 is 15. When you turn off the last bit eg. 1110 that is decimal 7, when you turn off bit 1 and 3, you would get 0101, which is decimal 10. The numbers behind the offloading functions (1), (2), (4) and (8) relate to the bit-value they represent.

So the default of 15, means all offloading is turned on.

Reply
0 Kudos
gowatana
Leadership
Leadership

I was interested in about the same thing.

maybe...

1 1 1 1

| | | |-cso(On)

| | |---tso(On)

| |-----vxlan offload(On)

|-------Geneve offload(On)

8+4+2+1 = 15(default all On)

Reply
0 Kudos