Lines Matching defs:batch
32 * @batch_ver: Batch version of messages - increment for each batch of messages
76 /* Use this ID with zero members to ack a batch config */
234 unsigned int member_cnt, enum nfp_fl_lag_batch *batch)
253 /* Increment batch version for each new batch of config messages. */
254 if (*batch == NFP_FL_LAG_BATCH_FIRST) {
257 *batch = NFP_FL_LAG_BATCH_MEMBER;
260 /* If it is a reset msg then it is also the end of the batch. */
263 *batch = NFP_FL_LAG_BATCH_FINISHED;
266 /* To signal the end of a batch, both the switch and last flags are set
269 if (*batch == NFP_FL_LAG_BATCH_FINISHED) {
296 enum nfp_fl_lag_batch batch = NFP_FL_LAG_BATCH_FIRST;
318 &batch);
391 active_count, &batch);
404 /* End the config batch if at least one packet has been batched. */
405 if (batch == NFP_FL_LAG_BATCH_MEMBER) {
406 batch = NFP_FL_LAG_BATCH_FINISHED;
407 err = nfp_fl_lag_config_group(lag, NULL, NULL, 0, &batch);
410 "group batch end cmsg failed\n");
691 enum nfp_fl_lag_batch batch = NFP_FL_LAG_BATCH_FIRST;
694 return nfp_fl_lag_config_group(lag, NULL, NULL, 0, &batch);
706 /* 0 is a reserved batch version so increment to first valid value. */