From owner-freebsd-questions@FreeBSD.ORG Wed Nov 19 09:47:18 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 33551558 for ; Wed, 19 Nov 2014 09:47:18 +0000 (UTC) Received: from exprod7og109.obsmtp.com (exprod7og109.obsmtp.com [64.18.2.171]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 76C8EB87 for ; Wed, 19 Nov 2014 09:47:17 +0000 (UTC) Received: from mail-wi0-f178.google.com ([209.85.212.178]) (using TLSv1) by exprod7ob109.postini.com ([64.18.6.12]) with SMTP ID DSNKVGxnI4+wXiECe1OGnDvWtl3lKlRQ+/L1@postini.com; Wed, 19 Nov 2014 01:47:17 PST Received: by mail-wi0-f178.google.com with SMTP id hi2so1175199wib.11 for ; Wed, 19 Nov 2014 01:47:14 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:mime-version:thread-index:date:message-id :subject:to:content-type; bh=Uj+YjwXuvJ6XsP3sTIuFcUHYNaNA+ujidvbcoVHwZdU=; b=DmawaQYQpIMiG6L80qAVeQUspC8TIe2EnKGJKsiU7iGtKoJT68w77jbGpRq9hnXb28 yRKwgx8AiBdM4CTN1EsRUwKWPJjpzKHRNHxQg5UxwrqRk0riQzXS+5CW3bttDlD7BvQM 4eKRcJRwxNJrgRPBe+Wl3AJ45tZklxAIA2XHxvFwpnxKd/kFJf0MPa3VXiLnYthrgy0A FDQBOJFGXl6RoMu3CEh5pBbSRzFSSg2auOlS1ciWoYocr/ugbyWvJ27mJ/btrJ5+iCI2 CIRBfWjcsVbae6gacodHJqYLnJFaAkk/BafWTkGh8VqFa/kJd2hR1TSMHsou49wVaHoJ ARrA== X-Received: by 10.194.172.131 with SMTP id bc3mr55947318wjc.64.1416376927653; Tue, 18 Nov 2014 22:02:07 -0800 (PST) X-Gm-Message-State: ALoCoQm5b5goVT3Lr3bzDzZDGv9Ay104j9OBxH+FTbSSY+dK4SnhflGN5aXLAMkfO4Ho9cxElABNAC+VlYfT1hz6jBfpAIHXoNiHXEX1+enrV/Q2nSB+4BA8t6owOrM6VgCho3d5hmw5uPnv1jfdgwfQlFcLt9l/gKVtwzp+g0ei14Zc7yCwGC0= X-Received: by 10.194.172.131 with SMTP id bc3mr55947279wjc.64.1416376927358; Tue, 18 Nov 2014 22:02:07 -0800 (PST) From: Sibananda Sahu MIME-Version: 1.0 X-Mailer: Microsoft Outlook 14.0 Thread-Index: AdADvlYM+Y/PtzvpRPeBRYQ6TNec3w== Date: Wed, 19 Nov 2014 11:32:06 +0530 Message-ID: Subject: Tag Command Queuing for SCSI devices in FreeBSD To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Nov 2014 09:47:18 -0000 Hi All, I just wanted to know if we have something in FreeBSD for the Tag Command Queuing support in our CAM mid layer as in linux: http://lwn.net/Articles/2297/ My primary question is: Is there anything in the struct cam_sim or in the union ccb that uses a tag or some sort of index per I/O transaction so that I can re-use in my HBA driver??? Thanks, Sibananda Sahu