From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-BY2-obe.outbound.protection.outlook.com (mail-by2nam03on0051.outbound.protection.outlook.com [104.47.42.51]) by dpdk.org (Postfix) with ESMTP id 06465590B for ; Fri, 30 Sep 2016 14:06:49 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=yIhnIrEr2N4dkGnTO5fGjmPfGUdDWjbGWni4RPFmbnU=; b=K43Rtkob6bMie3rOvGfcu+AzmfcsQFeOkNtCSjYkyGNmGbIbYrfbQPJykAVQe/EMdDsxmWAfYqnXwX6FtCnRd+3H6T6YP4UAisjSgvusaravob++OlX+aJBu0APthyHaLNjnRt/tO6JjSbemLV48xS7FQLCZER9CbTRMjbe93iA= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Kamil.Rytarowski@cavium.com; Received: from cavium1.semihalf.local (31.172.191.173) by CY4PR07MB3063.namprd07.prod.outlook.com (10.172.116.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.549.15; Fri, 30 Sep 2016 12:06:46 +0000 From: Kamil Rytarowski To: CC: , , , , , , , Kamil Rytarowski Date: Fri, 30 Sep 2016 14:05:43 +0200 Message-ID: <1475237154-25388-5-git-send-email-krytarowski@caviumnetworks.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1475237154-25388-1-git-send-email-krytarowski@caviumnetworks.com> References: <1472230448-17490-1-git-send-email-krytarowski@caviumnetworks.com> <1475237154-25388-1-git-send-email-krytarowski@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [31.172.191.173] X-ClientProxiedBy: VI1PR07CA0001.eurprd07.prod.outlook.com (10.163.160.139) To CY4PR07MB3063.namprd07.prod.outlook.com (10.172.116.144) X-MS-Office365-Filtering-Correlation-Id: 4595d3c7-8d69-4eca-81b8-08d3e92a4108 X-Microsoft-Exchange-Diagnostics: 1; CY4PR07MB3063; 2:etjGGUxd3jbJLI4MatlGr/lunmM05TK1h9LBZ9G8j6/JxaNphnEd7fcCJe2EwTdUtyJnOJyDDYIPxlM7X/XNocPz/jNzTixW2NgJWQzSWfocm755GyLDymHZlt5GZ0JSHqadutbsV96cMpxoMyUi1G1bQo2nAxPz2uInT/pQB65DiN/qdElD37E4xxxHUcJ8; 3:FUPQSoL/yHkAjxB92KRYFHiobYjARTda0bwm6tgGHwxHBrsvbefmx9+pJHk4qOHvqMPsTx4uER8yNlhbUWZ7v1epfurbje7S0Y5fvFE147wM0vDxQWycxURfHo9yBoxg; 25:DF3XfQMNrsQPYaz+3/+E+5w88+g02S5AiPbB9nS2Vwr5VqokTbF05RB9pSADddH/ARJZc+2+lljpEU4inlU2nJinzHYBFjZRVKZ+YmztwBejU/MBPfGyZvXOjXgciE2mpWT4Mb+kShXzHntOjUWpjRc/9LiZkJp0isK1soJFf1HkyBzOwhlDjFEItpdDxDm/QVEUIiKOphv+2v0nKCZKCxgr6CbIAsIoe7sx/5fSo7vZl/XGjlRjydJB6lM3naA5LldW3A+8Jx/s2yMuK7cwB1wu+IyjKvb6oZuXl6mUYuzlVjKtI9VbhTCewE5pwAuOMBj4FHC7mhG80IjvLcNlyRMvCQZ8elUsiTQTpdVSVw2ve3Mfv1WVKVttG0HefGFnEIxl5sPdV0bWzSUlSPZCJpJFpYdtlaWIs2QTfCm1b/k= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:CY4PR07MB3063; X-Microsoft-Exchange-Diagnostics: 1; CY4PR07MB3063; 31:HmzL2Me5Mpct9yYJfplo1hkqiS0OR6VhAKZmvpRFIp9g/2dirZmTxmB5xSj333llCXrMKgfBrQmLbr7D5IGAZjyNuqpJ+i8Cat+MCBNzEbLKQgSmp5+OVp/uRTLaUPuXMrgGj4FJilb8PAU55Odhi/GxXY/8iKdL7+Dxcycz9qcxkInzCz81pdUoc6V9GmDsHDj1Ad8rZX1mnXkWXkjTuB8Z2ZDfUc7PLvNY1XXQQrI=; 20:0rlWyerT+W2kNMJgxI7Mnb4JxgWYoIkPFjkpzsccTWywITjcIgVMpgMvoP5tYE+wlE95MvoMR+mHb+zvFfDcqgWnooV7pvP3Fc0sgYhie8E9+RE6U4pKko5Xs4ywl+jGbfLH6BPmlMBEypefhOh/4IyfG5Sgp5fkLtc8mY4Nmuxmjcv8POWXfMGRQU3CL9eOciJoSjDMNsS4tr370k/kwzhatj/qW1GU2YvRVHezsRNcsUj6BpsBbfv8q3S/hGSolqoOBxdbd5FHQG1vWbnwV/CnkYkuRQh6P6r8iB0EnN3VWQfggAfz2IQaH3WVTeSflIGreLcx7biPBod2PKrrNe9oxGAh+NB2XmOrxkr0EOQbxHW7r6e5ul8mvsU+4G4xdMkmq9VSJjAeFLXSt3D1xemCsRrOtd8OzkwJjwCEFFwWXqWUtQ061slN0kTLij7RIeq51J/fFbMoBsBRdjot+rrrhdBRCGn5F7yEt2RI9YzmxYw7aEBE0L51jv1zM3QW9muS5lI3ftVtCXCKVWGgtbEF2LrW8oxWeEffwYtsZJkcOrZP++i6McKzRnnaZV4K12Q/2cWQdAsMx3Pp7octLAO1NMxP3pyGO3RYp5S9s3o= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040176)(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001); SRVR:CY4PR07MB3063; BCL:0; PCL:0; RULEID:; SRVR:CY4PR07MB3063; X-Microsoft-Exchange-Diagnostics: 1; CY4PR07MB3063; 4:yMxW39qccYjtL81nKyZ5VP1p6F9s6orsXhL5D7cFszLSIubJHOUcJgsDaaANBRk42+rGHl3WW1N5m2WD043zosqAcouWQYxom8VOE9H/Ez3gbBsCZU4o2ac52ux6YVuGFPMFIhrlcKIAcsz2M+17S0rkVH/9TYfz9mAI0clNdJh2e/GQx1AjPHRIKP/CIZyj1CEPxbDpSpnWDWRd1gmjBLmgNRf4iSk+PEwKjo0goF2a278+8QJwQlolDhXxuYnZVWUJUSoEnWQEtrDlRwBolUc1jETBdPSaHniGLOWoEeLHkC4+lhAHW/uW9gUhW3isMhzgjAI0zXnfPmcaTj1kXAKo9Cq2SM/a23UrG4bonWFxdmzRaCZNEKP/6teAfQmhgVyg7mNZS74IPuTm3avf6A== X-Forefront-PRVS: 008184426E X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(7916002)(189002)(199003)(92566002)(3846002)(66066001)(189998001)(47776003)(42882006)(36756003)(105586002)(19580395003)(97736004)(6916009)(6666003)(68736007)(42186005)(19580405001)(50986999)(50226002)(77096005)(76176999)(5003940100001)(6116002)(7736002)(2950100002)(101416001)(586003)(106356001)(7846002)(5660300001)(4001430100002)(305945005)(33646002)(229853001)(110136003)(8676002)(4326007)(81166006)(107886002)(81156014)(50466002)(575784001)(2906002)(48376002)(2351001); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR07MB3063; H:cavium1.semihalf.local; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY4PR07MB3063; 23:7fbhKVXVvL3Yzbh7gTJLEgQw5MVWaKeB7FBLcVGKX?= =?us-ascii?Q?8d7HetgOw7KY9Cqc5C/pFobEdJELO8hON3d6g3a6iAhF17V7TaJTBSF4yG0x?= =?us-ascii?Q?ogWyLBm4ATGGeOqaQdDsTyvtPDbGXJ2Mpr7vSUSqmqfmLzJ41tAcuvT7HoqO?= =?us-ascii?Q?9HJ7yZmkCryfrmPxFL6oo6qFyN1qga75OZ7QCshkYtUpDCnJz0o/JlSlgN1a?= =?us-ascii?Q?V0tpamuupqO4daCZKciGvqN07iuytKfvQRVwrGzmruCc41c40RVgZ5wIA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Exchange-CrossTenant-OriginalArrivalTime: 30 Sep 2016 12:06:46.1172 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR07MB3063 Subject: [dpdk-dev] [PATCH v2 04/15] net/thunderx/base: add secondary queue set support X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Sep 2016 12:06:50 -0000 From: Kamil Rytarowski Changes: - add new message sqs_alloc in mailbox - add a queue container to hold secondary qsets. - add nicvf_mbox_request_sqs - handle new mailbox messages for secondary queue set support - register secondary queue sets for furthe reuse - register the number secondary queue sets in MSG_QS_CFG Signed-off-by: Maciej Czekaj Signed-off-by: Kamil Rytarowski Signed-off-by: Zyta Szpak Signed-off-by: Slawomir Rosek Signed-off-by: Radoslaw Biernacki Signed-off-by: Jerin Jacob --- drivers/net/thunderx/base/nicvf_hw_defs.h | 1 + drivers/net/thunderx/base/nicvf_mbox.c | 47 ++++++++++++++++++++++++++++++- drivers/net/thunderx/base/nicvf_mbox.h | 21 ++++++++++++-- drivers/net/thunderx/nicvf_struct.h | 5 ++++ 4 files changed, 71 insertions(+), 3 deletions(-) diff --git a/drivers/net/thunderx/base/nicvf_hw_defs.h b/drivers/net/thunderx/base/nicvf_hw_defs.h index 2f2b225..e144d44 100644 --- a/drivers/net/thunderx/base/nicvf_hw_defs.h +++ b/drivers/net/thunderx/base/nicvf_hw_defs.h @@ -207,6 +207,7 @@ #define NICVF_CQE_RX2_RBPTR_WORD (7) #define NICVF_STATIC_ASSERT(s) _Static_assert(s, #s) +#define assert_primary(nic) assert((nic)->sqs_mode == 0) typedef uint64_t nicvf_phys_addr_t; diff --git a/drivers/net/thunderx/base/nicvf_mbox.c b/drivers/net/thunderx/base/nicvf_mbox.c index 9c5cd83..3b7b8a5 100644 --- a/drivers/net/thunderx/base/nicvf_mbox.c +++ b/drivers/net/thunderx/base/nicvf_mbox.c @@ -62,6 +62,9 @@ static const char *mbox_message[NIC_MBOX_MSG_MAX] = { [NIC_MBOX_MSG_RESET_STAT_COUNTER] = "NIC_MBOX_MSG_RESET_STAT_COUNTER", [NIC_MBOX_MSG_CFG_DONE] = "NIC_MBOX_MSG_CFG_DONE", [NIC_MBOX_MSG_SHUTDOWN] = "NIC_MBOX_MSG_SHUTDOWN", + [NIC_MBOX_MSG_RES_BIT] = "NIC_MBOX_MSG_RES_BIT", + [NIC_MBOX_MSG_RSS_SIZE_RES_BIT] = "NIC_MBOX_MSG_RSS_SIZE", + [NIC_MBOX_MSG_ALLOC_SQS_RES_BIT] = "NIC_MBOX_MSG_ALLOC_SQS", }; static inline const char * __attribute__((unused)) @@ -173,7 +176,7 @@ nicvf_handle_mbx_intr(struct nicvf *nic) case NIC_MBOX_MSG_NACK: nic->pf_nacked = true; break; - case NIC_MBOX_MSG_RSS_SIZE: + case NIC_MBOX_MSG_RSS_SIZE_RES_BIT: nic->rss_info.rss_size = mbx.rss_size.ind_tbl_size; nic->pf_acked = true; break; @@ -183,6 +186,26 @@ nicvf_handle_mbx_intr(struct nicvf *nic) nic->speed = mbx.link_status.speed; nic->pf_acked = true; break; + case NIC_MBOX_MSG_ALLOC_SQS_RES_BIT: + assert_primary(nic); + if (mbx.sqs_alloc.qs_count != nic->sqs_count) { + nicvf_log_error("Received %" PRIu8 "/%" PRIu8 + " secondary qsets", + mbx.sqs_alloc.qs_count, + nic->sqs_count); + abort(); + } + for (i = 0; i < mbx.sqs_alloc.qs_count; i++) { + if (mbx.sqs_alloc.svf[i] != nic->snicvf[i]->vf_id) { + nicvf_log_error("Received secondary qset[%zu] " + "ID %" PRIu8 " expected %" + PRIu8, i, mbx.sqs_alloc.svf[i], + nic->snicvf[i]->vf_id); + abort(); + } + } + nic->pf_acked = true; + break; default: nicvf_log_error("Invalid message from PF, msg_id=0x%hhx %s", mbx.msg.msg, nicvf_mbox_msg_str(mbx.msg.msg)); @@ -314,11 +337,33 @@ nicvf_mbox_qset_config(struct nicvf *nic, struct pf_qs_cfg *qs_cfg) /* Send a mailbox msg to PF to config Qset */ mbx.msg.msg = NIC_MBOX_MSG_QS_CFG; mbx.qs.num = nic->vf_id; + mbx.qs.sqs_count = nic->sqs_count; mbx.qs.cfg = qs_cfg->value; return nicvf_mbox_send_msg_to_pf(nic, &mbx); } int +nicvf_mbox_request_sqs(struct nicvf *nic) +{ + struct nic_mbx mbx = { .msg = { 0 } }; + size_t i; + + assert_primary(nic); + assert(nic->sqs_count > 0); + assert(nic->sqs_count <= MAX_SQS_PER_VF); + + mbx.sqs_alloc.msg = NIC_MBOX_MSG_ALLOC_SQS; + mbx.sqs_alloc.spec = 1; + mbx.sqs_alloc.qs_count = nic->sqs_count; + + /* Set no of Rx/Tx queues in each of the SQsets */ + for (i = 0; i < nic->sqs_count; i++) + mbx.sqs_alloc.svf[i] = nic->snicvf[i]->vf_id; + + return nicvf_mbox_send_msg_to_pf(nic, &mbx); +} + +int nicvf_mbox_rq_drop_config(struct nicvf *nic, uint16_t qidx, bool enable) { struct nic_mbx mbx = { .msg = { 0 } }; diff --git a/drivers/net/thunderx/base/nicvf_mbox.h b/drivers/net/thunderx/base/nicvf_mbox.h index 7c0c6a9..084f3a7 100644 --- a/drivers/net/thunderx/base/nicvf_mbox.h +++ b/drivers/net/thunderx/base/nicvf_mbox.h @@ -36,6 +36,7 @@ #include #include "nicvf_plat.h" +#include "../nicvf_struct.h" /* PF <--> VF Mailbox communication * Two 64bit registers are shared between PF and VF for each VF @@ -67,10 +68,16 @@ #define NIC_MBOX_MSG_ALLOC_SQS 0x12 /* Allocate secondary Qset */ #define NIC_MBOX_MSG_LOOPBACK 0x16 /* Set interface in loopback */ #define NIC_MBOX_MSG_RESET_STAT_COUNTER 0x17 /* Reset statistics counters */ -#define NIC_MBOX_MSG_CFG_DONE 0xF0 /* VF configuration done */ -#define NIC_MBOX_MSG_SHUTDOWN 0xF1 /* VF is being shutdown */ +#define NIC_MBOX_MSG_CFG_DONE 0x7E /* VF configuration done */ +#define NIC_MBOX_MSG_SHUTDOWN 0x7F /* VF is being shutdown */ +#define NIC_MBOX_MSG_RES_BIT 0x80 /* Reset bit from PF */ #define NIC_MBOX_MSG_MAX 0x100 /* Maximum number of messages */ +#define NIC_MBOX_MSG_RSS_SIZE_RES_BIT \ + (NIC_MBOX_MSG_RSS_SIZE | NIC_MBOX_MSG_RES_BIT) +#define NIC_MBOX_MSG_ALLOC_SQS_RES_BIT \ + (NIC_MBOX_MSG_ALLOC_SQS | NIC_MBOX_MSG_RES_BIT) + /* Get vNIC VF configuration */ struct nic_cfg_msg { uint8_t msg; @@ -155,6 +162,14 @@ struct bgx_link_status { uint32_t speed; }; +/* Allocate additional SQS to VF */ +struct sqs_alloc { + uint8_t msg; + uint8_t spec; + uint8_t qs_count; + uint8_t svf[MAX_SQS_PER_VF]; +}; + /* Set interface in loopback mode */ struct set_loopback { uint8_t msg; @@ -201,6 +216,7 @@ union { struct rss_sz_msg rss_size; struct rss_cfg_msg rss_cfg; struct bgx_link_status link_status; + struct sqs_alloc sqs_alloc; struct set_loopback lbk; struct reset_stat_cfg reset_stat; }; @@ -211,6 +227,7 @@ NICVF_STATIC_ASSERT(sizeof(struct nic_mbx) <= 16); int nicvf_handle_mbx_intr(struct nicvf *nic); int nicvf_mbox_check_pf_ready(struct nicvf *nic); int nicvf_mbox_qset_config(struct nicvf *nic, struct pf_qs_cfg *qs_cfg); +int nicvf_mbox_request_sqs(struct nicvf *nic); int nicvf_mbox_rq_config(struct nicvf *nic, uint16_t qidx, struct pf_rq_cfg *pf_rq_cfg); int nicvf_mbox_sq_config(struct nicvf *nic, uint16_t qidx); diff --git a/drivers/net/thunderx/nicvf_struct.h b/drivers/net/thunderx/nicvf_struct.h index c52545d..a72f752 100644 --- a/drivers/net/thunderx/nicvf_struct.h +++ b/drivers/net/thunderx/nicvf_struct.h @@ -119,6 +119,11 @@ struct nicvf { uint16_t mtu; bool vlan_filter_en; uint8_t mac_addr[ETHER_ADDR_LEN]; + /* secondary queue set support */ + uint8_t sqs_id; + uint8_t sqs_count; +#define MAX_SQS_PER_VF 11 + struct nicvf *snicvf[MAX_SQS_PER_VF]; } __rte_cache_aligned; #endif /* _THUNDERX_NICVF_STRUCT_H */ -- 1.9.1