From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-eopbgr00045.outbound.protection.outlook.com [40.107.0.45]) by dpdk.org (Postfix) with ESMTP id 7794B2B87 for ; Tue, 5 Mar 2019 10:33:47 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=0v4IjwRU7gQGMcNrzJXtIpTXo2qly4wve3Ile1+3Mc8=; b=pphq2h0aKg2GDEzivlP12CdbN8k6Ao4jyjkqODHVNigVPAn/T4fUynoid3BKiV+sqAn1UfULK6bV6jLhektR7snk5RhelmIYOhCDsyMIajq9a/nLhuyzUHCAin+wf57porTYFadqv68rwx4o3qswyfhQhHWexc6/VGoahiakSos= Received: from AM6PR05MB5926.eurprd05.prod.outlook.com (20.179.2.27) by AM6PR05MB6133.eurprd05.prod.outlook.com (20.179.3.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1686.16; Tue, 5 Mar 2019 09:33:45 +0000 Received: from AM6PR05MB5926.eurprd05.prod.outlook.com ([fe80::4d49:8512:d097:4a52]) by AM6PR05MB5926.eurprd05.prod.outlook.com ([fe80::4d49:8512:d097:4a52%4]) with mapi id 15.20.1665.020; Tue, 5 Mar 2019 09:33:45 +0000 From: Raslan Darawsheh To: Stephen Hemminger CC: "gaetan.rivet@6wind.com" , "dev@dpdk.org" , Thomas Monjalon Thread-Topic: [dpdk-dev] [PATCH 4/4] net/failsafe: support secondary process Thread-Index: AQHUz30whb8G+kDBQ02sT2CHFEPzn6X1dfcAgAdXwvA= Date: Tue, 5 Mar 2019 09:33:44 +0000 Message-ID: References: <1551368952-1871-1-git-send-email-rasland@mellanox.com> <1551368952-1871-5-git-send-email-rasland@mellanox.com> <20190228092434.20685ac8@shemminger-XPS-13-9360> In-Reply-To: <20190228092434.20685ac8@shemminger-XPS-13-9360> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=rasland@mellanox.com; x-originating-ip: [82.213.2.186] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: d4610e2e-ca03-49b3-b42e-08d6a14da9a6 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(4618075)(2017052603328)(7153060)(7193020); SRVR:AM6PR05MB6133; x-ms-traffictypediagnostic: AM6PR05MB6133: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr x-microsoft-exchange-diagnostics: =?us-ascii?Q?1; AM6PR05MB6133; 23:2AjSs/je6ycNjNH5I1dyo0v33WHHZ3WygTXXNwQaA?= =?us-ascii?Q?TA3k+XYFTgj88/RtGUhwZvwwv9c+oOIHKNMpx+4Pc6AknNuR8eXgg3vnVPbF?= =?us-ascii?Q?4Va3cV51H/IAOe4aSrhDhn1M46fIeYLgn/LwgyhKBqzvAMOVTQp8K6sQ1lnY?= =?us-ascii?Q?PtzZYAwrdk4Ya/6cdxUodwEyItANqe1Il7EhPTUuNYbqZ9BO8LyohaHrZoIG?= =?us-ascii?Q?s+9wldBVvCavI0phmIPhKaCRXDiYWH9IlTfTUbaJI4fslz/Iezk5VjIYcxgL?= =?us-ascii?Q?IlqyRP9o0e3L4HjcEEFiEmWVia/SL3832AZLun7UaDjRBY0CDF36aJrysHJr?= =?us-ascii?Q?cOXUzG7E1QWEjCXB7zvXiDOU3zVtdYnSuYI//PKw2HYL5lTWYD0qJSx3KYFZ?= =?us-ascii?Q?48c5ujhmUnEmgEa++k3Wrg385uambluCU5sKbHHZfq5WJ9aUvCUF4BjAwn0r?= =?us-ascii?Q?Z0Geg+CaNK3TTDdUa9cuVOc1YG8sosC5zyd2WrNZA1ZZXLadzSLgD/qW15UR?= =?us-ascii?Q?lFJ9Z6CTeAJ6vsc55TJ5AgQf1QqdYnFbapWP4S73s0upv8Fg08m1J/toCHCY?= =?us-ascii?Q?qEI5ozyWSZPC2u9KfJStR4EtgshBJ+lHBbLLO2KoQulMgwbDeLJ2McHMHrlB?= =?us-ascii?Q?gTpvfOr2Ruf2/+ScnrkgaaDxLU6TBqfX7mmEQp+Z9zN7kR8yPLZ3FQgm9Jmh?= =?us-ascii?Q?HbqHJ5ni8pA0P28EIWDjWCphYK/GnwPWPMkpyfdC4kgMnXzsgHf9N1DOOgV8?= =?us-ascii?Q?M7RzruKDb2Lg1TwPTdl2+SYgZ1SEmZuHCUw/yaiVH9kQwapcO4546LyOzRwB?= =?us-ascii?Q?vU7+1W3LbqRPwMeVm40npmkEw2lBJrjJ0795qAr12WvrBxmHvpwNJEFdAgz1?= =?us-ascii?Q?nodP7X2Q3CZQe7KcE7piri0EkLFFoci/+8KRNIPz7EGApIur+LQ4unQ7qK5r?= =?us-ascii?Q?avPyITCGtiJuFpUQp0erMiH4tBz1LMO8mqP6BR1pYiJ+o3YaOF6vNULpVDUN?= =?us-ascii?Q?sYOIt5eUxMuXFtUMeu26FHapURe+hu/1HC3wSxe2wuKc4V1TI3PU8kbkf6Rm?= =?us-ascii?Q?P7ejp6zjf+Ey/OCl3ujggqUIo8g5sI+1Ynf1iorksz+9feUJUvXzwWdqm2PF?= =?us-ascii?Q?yoyHDs1CuBPmEgCIXUXvRc2aij8/KykHJjG0nvJ/o/WddfkS4Dibco3jSAwI?= =?us-ascii?Q?diDgcVSUOA9C9YyTKb33TT1n9JvlyOJIcQQR1n4udlq1nld0esVxeRLaoIP4?= =?us-ascii?Q?l1v9zb8mH30rZU1MAyN3YOiy1auLzhDzrZwHUDF?= x-microsoft-antispam-prvs: x-forefront-prvs: 0967749BC1 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(396003)(376002)(366004)(346002)(39860400002)(136003)(199004)(189003)(13464003)(54906003)(68736007)(4744005)(81156014)(81166006)(8676002)(316002)(86362001)(7736002)(229853002)(74316002)(305945005)(5660300002)(9686003)(6436002)(53936002)(7696005)(76176011)(97736004)(25786009)(2906002)(4326008)(478600001)(71200400001)(71190400001)(256004)(99286004)(6916009)(66066001)(14454004)(6116002)(3846002)(186003)(33656002)(105586002)(106356001)(55016002)(52536013)(6246003)(26005)(486006)(6506007)(8936002)(53546011)(446003)(102836004)(11346002)(476003); DIR:OUT; SFP:1101; SCL:1; SRVR:AM6PR05MB6133; H:AM6PR05MB5926.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: vIpR4nKwJgoOVXTcsSRPYQvkompCRr5iFgW3tdNOmyM2e92hknSd07xHFxUREd67/49s0SaCJNByydrMezRQh5WRh8y3lxNPR49uTII7UIzFN40BkQAz128k8idZO8a/nAcaeW57qv3GbmxrDKOyt0XcDw7XrXYWkhnAFAOPBIDB8QeTShc8V+SHLNKazhpHiwLV9ABbAiiEFMe46Qhd1Bn6bDBHroZg1Fc4rzYGYgCySkzeVC/3UFRJBCAs690EnhpcAOWHSuwDH7kvGG/wi4dQ6K7Ul7GlxZJCenmRF950G09roezjz8t1zgqcrnIoPrD7dNLmXNxLqbmXE8/5AxF3H9OH+/OPqOQYee1tVKmlHJan1uAxPb5aHyKbKM4ETNI5svoEif4COeFl4iATiaKmTpnBGcqHt9xxQc4rr7M= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: d4610e2e-ca03-49b3-b42e-08d6a14da9a6 X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Mar 2019 09:33:44.9471 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR05MB6133 Subject: Re: [dpdk-dev] [PATCH 4/4] net/failsafe: support secondary process X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Mar 2019 09:33:47 -0000 Hi Stephen,=20 > -----Original Message----- > From: Stephen Hemminger > Sent: Thursday, February 28, 2019 7:25 PM > To: Raslan Darawsheh > Cc: gaetan.rivet@6wind.com; dev@dpdk.org; Thomas Monjalon > > Subject: Re: [dpdk-dev] [PATCH 4/4] net/failsafe: support secondary proce= ss >=20 > On Thu, 28 Feb 2019 15:49:28 +0000 > Raslan Darawsheh wrote: >=20 > > + eth_dev->rx_pkt_burst =3D > (eth_rx_burst_t)&failsafe_rx_burst; > > + eth_dev->tx_pkt_burst =3D > (eth_tx_burst_t)&failsafe_tx_burst; >=20 > Why is cast necessary here. The function signature should match. I don't think it's necessary, but this is the same as the primary process i= mplementation Kindest regards Raslan Darawsheh