Thread (175 messages) 175 messages, 4 authors, 2017-03-27

Re: [PATCH 06/50] net/liquidio: liquidio VF PMD Driver registration

From: Ferruh Yigit <hidden>
Date: 2017-02-23 14:29:45

On 2/21/2017 9:26 AM, Shijith Thotton wrote:
Register LiquidIO PMD (net_liovf) and define APIs to init and
uninit.

Signed-off-by: Shijith Thotton <redacted>
Signed-off-by: Jerin Jacob <redacted>
Signed-off-by: Derek Chickles <redacted>
Signed-off-by: Venkat Koppula <redacted>
Signed-off-by: Mallesham Jatharakonda <redacted>
<...>
+
+	mac_addr_size = ETHER_ADDR_LEN;
+
+	eth_dev->data->mac_addrs = rte_zmalloc("lio", mac_addr_size, 0);
"mac_addr_size" only used here, your call but it is possible to remove
variable and use ETHER_ADDR_LEN here directly.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help