net/axgbe: fix jumbo setting overwritten
authorRavi Kumar <ravi1.kumar@amd.com>
Wed, 2 May 2018 08:47:24 +0000 (04:47 -0400)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 2 May 2018 17:28:48 +0000 (19:28 +0200)
commit95b08d94ee4bc4e58687b5fb1fa7807b48343dd0
tree1c36be088161b23e662d9bade6c028c698b6c7f1
parent7d1daae8c7d28ae5b2b7fe054d1dc507edb405a9
net/axgbe: fix jumbo setting overwritten

Stored register value to enable jumbo frame was always
overwritten. Assigning value based on rx_buf_size.

Coverity issue: 277239
Fixes: 7c4158a5b592 ("net/axgbe: add DMA programming and start/stop")

Signed-off-by: Ravi Kumar <ravi1.kumar@amd.com>
drivers/net/axgbe/axgbe_dev.c