Re: [PATCH V2 net-next 1/5] net:hns: Add support of Hip06 SoC to the Hislicon Network Subsystem

2015-11-20 Thread Salil Mehta
On 11/18/2015 6:52 PM, David Miller wrote: From: Salil Date: Wed, 18 Nov 2015 02:52:23 +0800 @@ -387,19 +409,23 @@ static void hns_rcb_ring_get_cfg(struct hnae_queue *q, int ring_type) struct rcb_common_cb *rcb_common; struct ring_pair_cb *ring_pair_cb; u32 buf_size;

Re: [PATCH V2 net-next 1/5] net:hns: Add support of Hip06 SoC to the Hislicon Network Subsystem

2015-11-18 Thread David Miller
From: Salil Date: Wed, 18 Nov 2015 02:52:23 +0800 > @@ -387,19 +409,23 @@ static void hns_rcb_ring_get_cfg(struct hnae_queue *q, > int ring_type) > struct rcb_common_cb *rcb_common; > struct ring_pair_cb *ring_pair_cb; > u32 buf_size; > - u16 desc_num; > - int irq_idx;

[PATCH V2 net-next 1/5] net:hns: Add support of Hip06 SoC to the Hislicon Network Subsystem

2015-11-17 Thread Salil
From: Salil Mehta This patchset adds support of Hisilicon Hip06 SoC to the existing HNS ethernet driver. The changes in the driver are mainly due to changes in the DMA descriptor provided by the Hip06 ethernet hardware. These changes need to co-exist with already present Hip05 DMA descriptor and