@@ -1167,11 +1167,16 @@ rte_eth_from_packet(struct rte_vdev_device *dev,
1167
1167
return -1 ;
1168
1168
}
1169
1169
1170
- PMD_LOG (INFO , "%s: AF_PACKET MMAP parameters:" , name );
1171
- PMD_LOG (INFO , "%s:\tblock size %d" , name , blocksize );
1172
- PMD_LOG (INFO , "%s:\tblock count %d" , name , blockcount );
1173
- PMD_LOG (INFO , "%s:\tframe size %d" , name , framesize );
1174
- PMD_LOG (INFO , "%s:\tframe count %d" , name , framecount );
1170
+ PMD_LOG (DEBUG , "%s: AF_PACKET MMAP parameters:" , name );
1171
+ PMD_LOG (DEBUG , "%s:\tblock size %d" , name , blocksize );
1172
+ PMD_LOG (DEBUG , "%s:\tblock count %d" , name , blockcount );
1173
+ PMD_LOG (DEBUG , "%s:\tframe size %d" , name , framesize );
1174
+ PMD_LOG (DEBUG , "%s:\tframe count %d" , name , framecount );
1175
+ PMD_LOG (DEBUG , "%s:\tqdisc bypass %d" , name , qdisc_bypass );
1176
+ if (fanout_mode )
1177
+ PMD_LOG (DEBUG , "%s:\tfanout mode %s" , name , fanout_mode );
1178
+ else
1179
+ PMD_LOG (DEBUG , "%s:\tfanout mode %s" , name , "default PACKET_FANOUT_HASH" );
1175
1180
1176
1181
if (rte_pmd_init_internals (dev , * sockfd , qpairs ,
1177
1182
blocksize , blockcount ,
@@ -1274,4 +1279,5 @@ RTE_PMD_REGISTER_PARAM_STRING(net_af_packet,
1274
1279
"blocksz=<int> "
1275
1280
"framesz=<int> "
1276
1281
"framecnt=<int> "
1277
- "qdisc_bypass=<0|1>" );
1282
+ "qdisc_bypass=<0|1> "
1283
+ "fanout_mode=<hash|lb|cpu|rollover|rnd|qm>" );
0 commit comments