From nobody Wed Aug 30 13:58:00 2023 X-Original-To: freebsd-net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RbQqT4b6Pz4s843 for ; Wed, 30 Aug 2023 13:58:13 +0000 (UTC) (envelope-from pavel.popa@edu.unife.it) Received: from mail-pj1-x1030.google.com (mail-pj1-x1030.google.com [IPv6:2607:f8b0:4864:20::1030]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RbQqS0srsz4cHr for ; Wed, 30 Aug 2023 13:58:12 +0000 (UTC) (envelope-from pavel.popa@edu.unife.it) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=edu.unife.it header.s=google header.b=kaMthHbe; spf=pass (mx1.freebsd.org: domain of pavel.popa@edu.unife.it designates 2607:f8b0:4864:20::1030 as permitted sender) smtp.mailfrom=pavel.popa@edu.unife.it; dmarc=pass (policy=quarantine) header.from=edu.unife.it Received: by mail-pj1-x1030.google.com with SMTP id 98e67ed59e1d1-271914b8aa4so1909859a91.1 for ; Wed, 30 Aug 2023 06:58:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=edu.unife.it; s=google; t=1693403890; x=1694008690; darn=freebsd.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=g0ChMsAr+vujS0gJnfsdE5AZVCItgmHyd3qOyB7cUDk=; b=kaMthHbeHmHRee/wl1kx1gcHAGx2OAE4tK/RP8yrE7XntEYVPZjR5A1m9LyMxHEV3O 3o0MYLU1RSSXqSFTHWoagbdyexblI6Az7xPa9Ag3lGGO14ViHk6cW6L7bkoJNJwPHCi6 L5U+qWLRu8mcQjXtbiC9RofhjtHpdh2B1jrbw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693403890; x=1694008690; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=g0ChMsAr+vujS0gJnfsdE5AZVCItgmHyd3qOyB7cUDk=; b=IHdN47SV+8uAMO2oiw94dQ9VHE2gAXknGSTeP8B+Zmhal3lcQ6yYxR9sCEckBHnEy4 XLuM3ONBOBrGw4tnVqB2yE+bhE2Yk/K/BnnSvR2nii3jZEw478SchrheiHZugAN4CnJd MaaaQWdbePppaNVRSbrWwXRNbnkC4MyTXIsxiPBMq8Z6v7Xg8yIiN9LBGtN8Xy/5TlyT 6/m6zQ1p9v64EVbrKeAAObSt3v4L0+Uzcjuo8JNTFE4epsq8Q9uOv7uHnawFwLeXrjSd U+/fQUXuUB3qqfnhJJ8EIq+a1CRJFqSvogy70JLxULKA6KSNSmpIP6uUF/xOqMzXxd+G 6Trw== X-Gm-Message-State: AOJu0YwkB/oq1cZsK8mserzlA8o5Kyb6wbanmYZpP/j/S3xd300wOpmi fO8VGvca5FsIOSDKvKpFHMDzdJRTlICsjKOG7tArXs+jT7QdXGUTUqTtbA== X-Google-Smtp-Source: AGHT+IGjvR2/QE8MnJgV4k+yRhWMRyt+L3QWF+p5UTYKb89BmIajRSwEhCsJYvJToeafrvlXFVpGSVSHBF/5EVENwCo= X-Received: by 2002:a17:90b:ec9:b0:267:fe44:86c3 with SMTP id gz9-20020a17090b0ec900b00267fe4486c3mr2111998pjb.31.1693403890493; Wed, 30 Aug 2023 06:58:10 -0700 (PDT) List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 From: PAVEL POPA Date: Wed, 30 Aug 2023 15:58:00 +0200 Message-ID: Subject: About IFLIB compliant network device driver development To: freebsd-net@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Spamd-Bar: ---- X-Spamd-Result: default: False [-5.00 / 15.00]; DWL_DNSWL_LOW(-1.00)[unife.it:dkim]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[edu.unife.it,quarantine]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; R_DKIM_ALLOW(-0.20)[edu.unife.it:s=google]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[freebsd-net@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::1030:from]; RCVD_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_TLS_LAST(0.00)[]; FROM_HAS_DN(0.00)[]; DKIM_TRACE(0.00)[edu.unife.it:+]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Queue-Id: 4RbQqS0srsz4cHr I have a NIC (a SmartNIC actually) for which I have to implement a driver, which in addition to RX and TX rings exposes also completion CMPT rings. Due to this additional complication (the CMPT rings), I'm not sure how appropriate it is to implement such a driver via the IFLIB framework. Does anyone have any similar experience that can share? Any suggestions at all, ideas, feedbacks? Thanks in advance, Pavel