Re: [PATCH v5 3/4] liburing: add example programs for napi busy poll

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/22/22 2:14 AM, Stefan Roesch wrote:
This adds two example programs to test the napi busy poll functionality.
It consists of a client program and a server program. To get a napi id,
the client and the server program need to be run on different hosts.

To test the napi busy poll timeout, the -t needs to be specified. A
reasonable value for the busy poll timeout is 100. By specifying the
busy poll timeout on the server and the client the best results are
accomplished.

Signed-off-by: Stefan Roesch <shr@xxxxxxxxxxxx>

Also, please fix your indentation. You have random indentation all
over the places.

  Applying: liburing: add example programs for napi busy poll
  .git/rebase-apply/patch:258: space before tab in indent.
          	avgRTT += ctx->rtt[i];
  .git/rebase-apply/patch:322: trailing whitespace.
  	int flag;
  .git/rebase-apply/patch:346: space before tab in indent.
                  	opt.sq_poll = true;
  .git/rebase-apply/patch:382: space before tab in indent.
          	fprintf(stderr, "inet_pton error for %s\n", optarg);
  .git/rebase-apply/patch:391: space before tab in indent.
          	fprintf(stderr, "socket() failed: (%d) %s\n", errno, strerror(errno));
  warning: squelched 6 whitespace errors
  warning: 11 lines add whitespace errors.

--
Ammar Faizi




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux