From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4DDD93EAC69 for ; Tue, 17 Mar 2026 15:09:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773760151; cv=none; b=piuPF3R/0diE2t7d5QeojCOioJX5c2QEq9HjCb1hTpkeGtWyKsjH4qA1f85uxAGU2wRlAnksiIWTmU5zlyNWQxi6qRqRwtRtPPbCdrlCfhIfCBhzX1WNi1cCXlyklTER4xNmvLnmv17RcBuXADUz3g55iTRHA9LPc756LTZQUaI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773760151; c=relaxed/simple; bh=wtHHM/I1oS3G1oE4TeCP9+YpOBG+rFOYjr+OJxN89Yo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=tR6H3BYvtkpaJV1BRmly167g/dzabVAtn3bImYIcsp9oowavg0X1UIN8hqeZFVk57p0b5DELzD+c3ggjM4eHdQ23Hdux9gjOky4OBNDIXTwnviabblh6h4J0HWsPHuhB/CfPsqDOXssmuvU2cz2UWQW+oe7zOg8RlZc88sYj5bw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=YS3Tl2+O; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="YS3Tl2+O" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1773760149; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=bMomWsv/a3QHLhi+jI8oKvpdw53x5AlmZsAKVUThLi4=; b=YS3Tl2+OEu9SN+drcVBdHMWGMAdX1zsgDggjhwMXtw9veRPNgecFs329Tl5rAQg75vf77a v/qp3slJ9cFXSmDGD0cKme8JKUBzI1KOtX/NKgz8J9g0vKrnXxSn4nBC9tmkahpybo3yw7 W5+rJ8cGO2opttZteDyVgVibFeSdU98= Received: from mx-prod-mc-08.mail-002.prod.us-west-2.aws.redhat.com (ec2-35-165-154-97.us-west-2.compute.amazonaws.com [35.165.154.97]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-222-rfAOx7S3NTytiZ__-Q0E9A-1; Tue, 17 Mar 2026 11:09:05 -0400 X-MC-Unique: rfAOx7S3NTytiZ__-Q0E9A-1 X-Mimecast-MFC-AGG-ID: rfAOx7S3NTytiZ__-Q0E9A_1773760143 Received: from mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.17]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-08.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 3056D1800365; Tue, 17 Mar 2026 15:09:03 +0000 (UTC) Received: from dcaratti.users.ipa.redhat.com (unknown [10.45.224.95]) by mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id A9BFC1955F19; Tue, 17 Mar 2026 15:08:58 +0000 (UTC) From: Davide Caratti To: Jakub Kicinski , Andrew Lunn , "David S. Miller" , Eric Dumazet , Paolo Abeni , Jamal Hadi Salim , Victor Nogueira , Jiri Pirko Cc: netdev@vger.kernel.org Subject: [PATCH net-next v3 0/3] netdevsim: support ETS offload Date: Tue, 17 Mar 2026 16:06:07 +0100 Message-ID: Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.0 on 10.30.177.17 - patch 1 moves netdevsim tc offloads to a dedicated file - patch 2 enables ETS offload on netdevsim - patch 3 is a tdc test for ets offload on netdevsim v2: don't use x-macro (Jakub Kicinski) v3: move function declaration from the bottom of netdevsim.h (Jakub Kicinski) Davide Caratti (3): netdevsim: move TC offload code to a dedicated file netdevsim: support tc-ets offload tc-testing: add a test case for ETS offload drivers/net/netdevsim/Makefile | 2 +- drivers/net/netdevsim/netdev.c | 51 ------------ drivers/net/netdevsim/netdevsim.h | 3 + drivers/net/netdevsim/tc.c | 79 +++++++++++++++++++ .../tc-testing/tc-tests/qdiscs/ets.json | 23 ++++++ 5 files changed, 106 insertions(+), 52 deletions(-) create mode 100644 drivers/net/netdevsim/tc.c -- 2.52.0