From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id DF7E5A0C46; Mon, 27 Sep 2021 17:00:27 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 836B74117F; Mon, 27 Sep 2021 16:58:30 +0200 (CEST) Received: from mail-pj1-f53.google.com (mail-pj1-f53.google.com [209.85.216.53]) by mails.dpdk.org (Postfix) with ESMTP id E01ED40E3C for ; Mon, 27 Sep 2021 15:42:59 +0200 (CEST) Received: by mail-pj1-f53.google.com with SMTP id t9so3754261pju.5 for ; Mon, 27 Sep 2021 06:42:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oneconvergence.com; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=HaOFDhvTQpMHclBnJaIcre+TOT+nMNzhRLePPgptdxg=; b=WqNxofRf2emEaQgvj81+2GW+amvg4QDwNABXkbcu7dmFV/u2QPRoQpOIk13il9Q1gk c5YfvLdOqEqJORqPIhgJDdY2zNi7se9TMhKmmDuJAXUYgp5rV6/DsT5ECpaeNZnRj3e7 NuFiCpCd2VWOuGhkIA9KT5PkgHDBKE+1QsMr8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=HaOFDhvTQpMHclBnJaIcre+TOT+nMNzhRLePPgptdxg=; b=wLRoMxu1Jv+f8aA9LTqjQ96D2jvWU+tBOsSlAJMSyBpZHgpTNPIDqCy6nAAmcKevy+ 1uJQqJZtbZv/ctKBgwkKQyvNn6sCAzYDpgizw6My7uSF/RuOXV1BYQn2vo/9d5MxzAkO 3u+CgHFxxBEmXS3iPW+MlyUSd+xzKxe7wZ1NenQrJsmhgxbJkhS9TLBEfOZ2yAgexzqh oZ2vpVMEui8bvAjosS543LNbP814y/pYC6qzPxW4qLZN9NIN8vfnFV0lEreSRhoDxU0b IgzGcgJ2uP7BT7PQBdvCGSQeesC3xWBJuiValy8UoXfKBPGY6XJ4IEksWboAnbQlmVF6 Kw3w== X-Gm-Message-State: AOAM530lcSwKIhenYG0xmtXmCRxjpKb+e29hTevJHpGaXw8W1mqYxkga HCl7IPF4/oFYSHAVvG5VJnH7pw== X-Google-Smtp-Source: ABdhPJx78hSFL6R7eP4dU7OFUKbtsFi1LU5mw1bWjNNiO5IiTG9YDqaWH9WcypZlZDdF8ejNZOvNQQ== X-Received: by 2002:a17:90b:1c92:: with SMTP id oo18mr20137830pjb.56.1632750179027; Mon, 27 Sep 2021 06:42:59 -0700 (PDT) Received: from srikanth-ThinkPad-T450.domain.name ([223.178.22.200]) by smtp.gmail.com with ESMTPSA id b3sm16960665pfo.23.2021.09.27.06.42.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Sep 2021 06:42:58 -0700 (PDT) From: Srikanth Kaka To: Stephen Hemminger , Long Li Cc: dev@dpdk.org, Vag Singh , Anand Thulasiram , Srikanth Kaka Date: Mon, 27 Sep 2021 19:12:20 +0530 Message-Id: <20210927134231.11177-1-srikanth.k@oneconvergence.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Mon, 27 Sep 2021 16:58:07 +0200 Subject: [dpdk-dev] [PATCH 00/11] add FreeBSD support to VMBUS & NetVSC PMDs X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" This patch series adds support to VMBUS & NetVSC PMDs run on FreeBSD Srikanth Kaka (11): bus/vmbus: stub for FreeBSD support bus/vmbus: scan and get the network device bus/vmbus: handle mapping of device resources bus/vmbus: get device resource values using sysctl bus/vmbus: open subchannels net/netvsc: request HV_UIO to open sub-channels bus/vmbus: map the subchannel resources net/netvsc: moving event monitoring support net/netvsc: moving hotplug retry to OS dir bus/vmbus: add meson suport for FreeBSD OS net/netvsc: add meson support for FreeBSD drivers/bus/vmbus/freebsd/vmbus_bus.c | 296 +++++++++++++++ drivers/bus/vmbus/freebsd/vmbus_uio.c | 499 +++++++++++++++++++++++++ drivers/bus/vmbus/linux/vmbus_uio.c | 8 + drivers/bus/vmbus/meson.build | 6 +- drivers/bus/vmbus/private.h | 1 + drivers/bus/vmbus/rte_bus_vmbus.h | 10 + drivers/bus/vmbus/version.map | 1 + drivers/bus/vmbus/vmbus_channel.c | 5 + drivers/net/netvsc/freebsd/hn_os.c | 22 ++ drivers/net/netvsc/freebsd/meson.build | 6 + drivers/net/netvsc/hn_ethdev.c | 95 +---- drivers/net/netvsc/hn_os.h | 8 + drivers/net/netvsc/linux/hn_os.c | 111 ++++++ drivers/net/netvsc/linux/meson.build | 6 + drivers/net/netvsc/meson.build | 4 + 15 files changed, 989 insertions(+), 89 deletions(-) create mode 100644 drivers/bus/vmbus/freebsd/vmbus_bus.c create mode 100644 drivers/bus/vmbus/freebsd/vmbus_uio.c create mode 100644 drivers/net/netvsc/freebsd/hn_os.c create mode 100644 drivers/net/netvsc/freebsd/meson.build create mode 100644 drivers/net/netvsc/hn_os.h create mode 100644 drivers/net/netvsc/linux/hn_os.c create mode 100644 drivers/net/netvsc/linux/meson.build -- 2.30.2